Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Adding Summerized Totals Post Reply Post New Topic
Author Message
joep
Newbie
Newbie


Joined: 14 Jan 2009
Location: United States
Online Status: Offline
Posts: 10
Quote joep Replybullet Topic: Adding Summerized Totals
    Posted: 14 Jan 2009 at 6:57am
Hi,
 
I'm having a problem adding summerized totals in a report that has 3 groups but these totals are in a single group footer. Each total is on a seperate page.
 
Here is a example.
 
10               12             11
10               12             11
10               12             11
total 30       total 36     total 33
 
I'm looking for a grand total of the three (99) to be added in the report footer of my report. I have tried many combinations in my formula but none have worked and I cannot use the summed total in my report because it won't let me.
 
Here is my formula right now:
 
Sum ({CLAIMANT_COVERAGE_FIN.TOTAL_INCURRED}, {CLAIM.CLAIM_NUMBER}) + Sum ({CLAIMANT_COVERAGE_FIN.TOTAL_INCURRED}, {LOCATION.DISPLAY_NAME})
 
Any help with this would be greatly appreciated.
 
Thanks
Joe Smile
 
 
 
IP IP Logged
RitaInHood
Newbie
Newbie


Joined: 07 Jul 2008
Online Status: Offline
Posts: 25
Quote RitaInHood Replybullet Posted: 14 Jan 2009 at 1:07pm
Are you trying to add them together in the report footer?  If so, instead add them together at the same level where you are making the 3 totals (set equal to a shared variable), then display the shared variable in the footer
IP IP Logged
joep
Newbie
Newbie


Joined: 14 Jan 2009
Location: United States
Online Status: Offline
Posts: 10
Quote joep Replybullet Posted: 15 Jan 2009 at 7:14am

Thank you vey much for your help.

Here is the formula I have created and it works in the level that I have made the totals but when I drag it to the report footer it adds only one amount. if possible would you have any idea why this is happening. If you need any more information about the report please ask.
 
shared numberVar totinc := totinc + Sum ({CLAIMANT_COVERAGE_FIN.TOTAL_INCURRED}, {CLAIM.CLAIM_NUMBER})
 
Thank you
Joe Smile
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.