Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Running totals reset between reports Post Reply Post New Topic
Author Message
Barris
Newbie
Newbie
Avatar

Joined: 09 May 2008
Online Status: Offline
Posts: 9
Quote Barris Replybullet Topic: Running totals reset between reports
    Posted: 05 Jan 2009 at 9:13am
I am using Crystal XI....
I have a running total field in a subreport that sums up the number of times a 'class' is found for each user.  The running total field resets between classes.  Each user can have 1 to many classes.
 
Each user is displayed on a new page. 
Classes are sorted in alpha order. 
 
My problem is when the last class for the first user is the same as the first class for the second user.  In this case the classes are adding up together.
 
How can I prevent this?
 
Thanks for your helpConfused
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Jan 2009 at 10:14am
Are you grouping on the "User"? If not, try grouping and reseting the running total on the change of the group.
IP IP Logged
Barris
Newbie
Newbie
Avatar

Joined: 09 May 2008
Online Status: Offline
Posts: 9
Quote Barris Replybullet Posted: 05 Jan 2009 at 11:01am
I am grouping on the user but can't set it to reset on user.
I have to reset on class since each user can have more than one class and I need counts for all classes.
 
Ideally I need to reset on User+Class but I don't know how to setup the running total to reset on 2 fields.
 
Thanks for your input.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Jan 2009 at 11:15am
Is this your report set up:
Group1=User
group2=Class
Details=Class lists
 
if you want a distinct count per class per user just do a Summary of the Class field as a distinctcount and set it at group2.
IP IP Logged
Barris
Newbie
Newbie
Avatar

Joined: 09 May 2008
Online Status: Offline
Posts: 9
Quote Barris Replybullet Posted: 05 Jan 2009 at 11:41am
This worked...THANKS for your helpStar
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.031 seconds.