Sum in Details Section

I need to sum the number of discounts and the amount of the discount in the detail section of Crystal Reports 2008.

I have a possible 750 {Discount.ID}'s and need to total the ({DISCOUNT_RECORD.Amount}) for each. I need this information to be displayed in the details sections of my mailing labels report.

How can I achieve this?

I know you can't use a where formula but I need something like this...

sum({DISCOUNT_RECORD.Amount}) where {Discount.ID} = {Discount.ID}

----------I figured it out-----------

Used Running Totals and  hid the previous IDs if they matched.
mattkovoAsked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
You could also group by the discount Id field and use the summary functions on the group

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.