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

Getting a count of all true's in a field 1

Status
Not open for further replies.

samhelp2

Vendor
Sep 7, 2001
2
US
I have written a boolean that gives a seperate column for true/false. Now I am trying to write a formula that will count all of the "true" for each group. Any help with a formula?
 
Hi,

Two suggestions (untested!!)

If all you need is a count of TRUE or FALSE values, you can simple group by your Boolean Formula, and then add a summary field (count type) based on a field in the details

If your report is already grouped in some other way, then you could create a running total (count type) which will be reset to zero on change of group and updated using the formula... {@bool_expr}

Similarly, for FALSE, update formula... not {@bool_expr})

Hth,
Geoff
 
Thank you for your help, I don't know why I didn't think of that! It is great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top