Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Sum of group distintcount Post Reply Post New Topic
Author Message
troubled
Newbie
Newbie


Joined: 09 Dec 2010
Location: United Kingdom
Online Status: Offline
Posts: 4
Quote troubled Replybullet Topic: Sum of group distintcount
     Posted: 28 Mar 2011 at 8:41am
Hi
 
I have created a report that looks at the percentage of take up of a product. looks at clients, what they buy and who buys part. item.
 
Some clients buy studied product twice.
 
Have grouped by client. Have set studiedproduct to 1 else 0
For each group (or client) distinct count for said product = 1.
 
Now want t count the number of distinct counts, and use this value in a formula later to calculate the percentage take up.
 
I am unable to sum the number of 1s. Any help much appreciated.
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Mar 2011 at 9:39am
you can summarize a field that uses a summary.
If you show some sample data nd how you want it calculated someone may give you an alternative that works
IP IP Logged
troubled
Newbie
Newbie


Joined: 09 Dec 2010
Location: United Kingdom
Online Status: Offline
Posts: 4
Quote troubled Replybullet Posted: 29 Mar 2011 at 4:01am
Many thanks for your reply. I think I figured it out by using a 3 way running total formula to count the summaries. 
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