Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summary/Grouping question

Status
Not open for further replies.

thefoole

Programmer
Aug 14, 2002
3
US
I need to find some sort of way to use a sum distinct function in crystal. I have six lines of detail with one field being a summary field of one day, but repeats with all the detail of that one day. What I need is a summary by week.
Example
Date Type Daily avg
07/01/02 p 12
07/01/02 o 12
07/01/02 q 12
07/02/02 a 20
07/02/02 s 20
07/02/02 d 20
I want a two day total of 32 not 96 Thanks for any ideas
 
Make a formula that is equal to 0 if Previous(datefld) = datefld and is equal to the daily average otherwise. You want the sum of this new formula field.
 
Use a running total that is set to 'evaluate' on change of day. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top