Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: group results by unique name Post Reply Post New Topic
Author Message
walkitinkid
Newbie
Newbie


Joined: 16 Jun 2011
Online Status: Offline
Posts: 16
Quote walkitinkid Replybullet Topic: group results by unique name
     Posted: 20 Jun 2011 at 5:51am
Hi all,
 
I currently have a table that looks like this
 
name count
jen 1
jen 1
jen 1
amber 1
amber 0
crystal 1
 
and I'd like to group the results, so i get this
 
name count
jen 3
amber 1
crystal 1
 
how do I do that?
IP IP Logged
KevV
Senior Member
Senior Member


Joined: 19 May 2011
Online Status: Offline
Posts: 106
Quote KevV Replybullet Posted: 20 Jun 2011 at 8:05am
If you are grouping them by their name then just put the group name in the group footer. Suppress the deatil section and create a Running Total Field that:
 
Field to summarize: name
Type of summary would be "count"
 
Evaluate
For each record
 
Reset
On change of group: name 
 
and then drag that formula next to the group name in the footer
 
KevV
IP IP Logged
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