Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: use manual running total values in a formula Post Reply Post New Topic
Author Message
sanemban
Newbie
Newbie


Joined: 06 May 2011
Location: United States
Online Status: Offline
Posts: 3
Quote sanemban Replybullet Topic: use manual running total values in a formula
     Posted: 06 May 2011 at 5:15am
Hello,
I am trying to calculate a "percentage" based on 2 manual running total values. is there a way to make a formula use only the final total value of a MRT in a formula even though the value is based also on another MRT by group?
I know this is exteremely confusing.
thanks for any help.
 
sanemban
IP IP Logged
jsnyderdbs
Newbie
Newbie
Avatar

Joined: 27 Apr 2011
Location: United States
Online Status: Offline
Posts: 4
Quote jsnyderdbs Replybullet Posted: 06 May 2011 at 10:00am
I would use the sum function and put the MRT in a group or report footer. It will than create a feild that you can see in feild explorer and onse this field is there you  create a new formula using this field. The key is you have to get the final total first then use that item as part of another formula.
IP IP Logged
sanemban
Newbie
Newbie


Joined: 06 May 2011
Location: United States
Online Status: Offline
Posts: 3
Quote sanemban Replybullet Posted: 09 May 2011 at 10:09am
I am not allowed to sun the mannual running total field
sanemban
IP IP Logged
sharona
Senior Member
Senior Member
Avatar

Joined: 16 Oct 2008
Location: United States
Online Status: Offline
Posts: 255
Quote sharona Replybullet Posted: 11 May 2011 at 7:34am

if you are using manual running totals you can calc the percentage from the display formula

((displ1/displ2)*100)
 
otherwise just sum the fields using the summary wizard and set it to percentage.
sharona
IP IP Logged
sanemban
Newbie
Newbie


Joined: 06 May 2011
Location: United States
Online Status: Offline
Posts: 3
Quote sanemban Replybullet Posted: 11 May 2011 at 8:17am
the problem is that the display formula for the one of the manual running total is not capturing the total sum fo that running total in the formula.  I need to calcualte the percentage for a grouped record and the display formula is being calulated as the value of the running total when at that group.
sanemban
IP IP Logged
sharona
Senior Member
Senior Member
Avatar

Joined: 16 Oct 2008
Location: United States
Online Status: Offline
Posts: 255
Quote sharona Replybullet Posted: 11 May 2011 at 9:00am
when you state total sum fo that running total
do you mean that you need the entire report total?
or are you not getting a correct total on the group level?
 
are you using the manual running total wizard or the 3 formulas?
sharona
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