Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: percentage on lowest value within a group Post Reply Post New Topic
Author Message
geraldo
Newbie
Newbie
Avatar

Joined: 10 Feb 2008
Location: Germany
Online Status: Offline
Posts: 2
Quote geraldo Replybullet Topic: percentage on lowest value within a group
     Posted: 16 Mar 2008 at 11:12am
posted the first version into the wrong forum, sorry:
 
Hi all,
using CR 2008 already and have the following question:
I'm trying to show, within a group, the value in percentage based on the lowest value.

Example:

Group Freight Charges 1

Forwarder 1 = 10.000 USD
Forwarder 2 = 12.500 USD
Forwarder 3 = 20.000 USD

Based on the lowest value in the group which is 10.000 USD the difference in percent to 12.500 USD aso.


like:

Group Freight Charges 1

Forwarder 1 = 10.000 USD = 100%
Forwarder 2 = 12.500 USD = 125%
Forwarder 3 = 20.000 USD = ...

Any idea
 
Thanks a lot
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 17 Mar 2008 at 11:43am
Try this:
 
If min({Freight Charge}) > 0
  {Freight Charge} % min({Freight Charge})
else 0
 
-Dell
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum