Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: Sum function formula Post Reply Post New Topic
Author Message
TheDarkCrystal
Newbie
Newbie
Avatar

Joined: 13 Oct 2011
Online Status: Offline
Posts: 1
Quote TheDarkCrystal Replybullet Topic: Sum function formula
    Posted: 13 Oct 2011 at 2:40pm
Hi, I am new to crystal reports and having trouble with the Sum function.

I am using Crystal reports 8.5 with Raisers Edge, I hope this is the right forum

I want to sum the gift amounts given by distinct Constituents. I tried

Sum({GIFT.Amount},{GIFT.CONSTIT_ID})


using crystal syntax AND basic syntax but got the error

"The summary / runing total field could not be created."

I have:
GIFT.CONSTIT_ID            GIFT.Amount
1111111                          $50
1111111                          $10
2222222                            $5
2222222                          $20
2222222                          $25

and I want

GIFT.CONSTIT_ID            GIFT.Amount
1111111                          $60
2222222                          $50

I would use the insert summary feature, but it still includes each unique gift with the total on the Footer.

Thanks in Advance
IP IP Logged
CircleD
Senior Member
Senior Member
Avatar

Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Quote CircleD Replybullet Posted: 13 Oct 2011 at 6:58pm
You might try grouping on the {GIFT.CONSTIT_ID} and summing on the {GIFT.Amount}.
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 13 Dec 2011 at 10:54am

group by ID,

RT
 
calc by amount,
evaluate record
reset on change of ID group
 
put RT in report footer
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.