Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Creating Grand Totals of Groups Post Reply Post New Topic
Author Message
mscarfix
Newbie
Newbie


Joined: 21 Aug 2011
Online Status: Offline
Posts: 3
Quote mscarfix Replybullet Topic: Creating Grand Totals of Groups
    Posted: 21 Aug 2011 at 3:21pm
Hi!

I'm running CR 2008.

I have a standard report with 4 groups. Each group has a sum and I would like to sum all the groups.

Does anyone have any suggestions?

Thank you in advance for your time.

-Mscarfix
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 22 Aug 2011 at 5:33am
Depends how the data was setup.

I would try creating a grandSum RT and just never have it reset. If the data is more complex I would maybe try shared variables.



Edited by comatt1 - 22 Aug 2011 at 7:51am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 22 Aug 2011 at 8:55am
You don't need a Running Total for this.  Instead of doing sum({table.field}, {table.groupfield}) just do sum({table.field}).
 
Using the Summary expert, you just do a grand total.
 
In this case you're not summing the group totals, you're summing all of the detail data that goes into making the group totals.
 
-Dell
IP IP Logged
mscarfix
Newbie
Newbie


Joined: 21 Aug 2011
Online Status: Offline
Posts: 3
Quote mscarfix Replybullet Posted: 23 Aug 2011 at 2:53am
Thank you for taking the time to respond!
Since the data is very complex, a shared variable formula was the option that worked.

Thanks again.
IP IP Logged
althomas
Newbie
Newbie


Joined: 09 Nov 2010
Online Status: Offline
Posts: 36
Quote althomas Replybullet Posted: 26 Aug 2011 at 7:50am
Hi,
  I have created a Running Total to evaluate on a formula and to reset on each order. The Running total is working fine.
Now i want to use this Running total in another formula. but when i went to formula editor, i can't find this running total? Anyone know how i could solve this issue?
I created the Running total to create a Std Cost for each order based on a certain criteria. I then wanted to compare Actual cost for each order against the result of this running total by comparing the Actual Cost minus Std Cost (Running Total) to get a variance Total
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.016 seconds.