Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: count of group items > 0 Post Reply Post New Topic
Author Message
Harleyquin
Newbie
Newbie
Avatar

Joined: 17 Sep 2008
Location: United Kingdom
Online Status: Offline
Posts: 3
Quote Harleyquin Replybullet Topic: count of group items > 0
    Posted: 17 Sep 2008 at 6:30am

Sum a group total.

I have created groups, some have totals and some don’t

Etc

North Sector Group

GP1                        1

GP2                        0

GP3                        13 

South Sector Croup

GP1                        0

GP2                        2

What I’m after is a result something like this:

North Sector Group   - 3 Areas, 2 Areas >0 , 14 items

South Sector Group – 2 areas, 1 Area >0, 2 items.
 
I cannot do a simple sum as each group has many values which I sum up to give the group total. I’ve tried “if GP>0 then 1 else 0” – but I cannot then sum this up further on...
 
Effectively the bit I’m falling over on is to get a count of the groups where Items are > 0
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.014 seconds.