Using CR 8.5, how can I count the number of groups? Group is by customer, group selection is count ({detail field}) > 1 and I want to know how many customers fit the criteria.
I don't think you can use the maximum function with groupnumber. Try going to insert->special field->groupnumber and placing groupnumber directly into the report footer. Since groupnumber is a running total of groups, it will ignore the non-group selected groups when counting.
LB: Good point, if the grouping isn't performed on the server it won't, and Crystal won't pass the distinctcount, but oddly still counts items which are excluded by the group selection.
I tend to always think in SQL terms, not Crystal Grouping.
Thanks, all for your input. I find the exchange to be quite helpful. I get frustrated when what works in one software doesn't in the next. Unfortunately, I don't think my brand of multi-lingualism will help me on a world-wide vacation!
FYI, maximum(groupnumber) did not work, however lbass' solution of placing groupnumber in report footer did.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.