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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summing running totals by group

Status
Not open for further replies.

tsjd

Technical User
Apr 20, 2006
15
MY
I have a table e.g like this

Fiscal Period Name Total
------------- ------ -------
01 xx 5
01 xx 5
02 xx 4
02 xx 3
03 xx 2

How do I create a running total for each one of the periods at the end of each group? So it would appear something like this

Fiscal Period Name Total
------------- ------ -------
01 xx 5
01 xx 5
---
10
---
02 xx 4
02 xx 3
---
7
---
03 xx 2
---
2
---
 
Insert a group on period and then right click on the total field and insert a summary at the group level.

-LB
 
mind to elaborate there. Not quite sure of the solution there. I'm using crystal 8.5
 
I tried using the sum there but the values do not seem to be adding up. Also tried evaluating where on the change of the period field but still doesn't add up properly.
 
solved :) It was my evaluation and reset arguements which were incorrect :) Thanks
 
If your detail records look as you show above, there is no need to use running totals. You can just insert summaries. Running totals are slower.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top