You can distinct count a group (subtotal) or you can distinct count an entire column (grand total). You cannot summarize the distinct count itself, unless you create a running total using variables.
See the FAQ on running totals and use the 3-formula technique. Ken Hamady
CAN YOU SHOW ME AN EXAMPLE USING RUNNING TOTALS AND THE 3-FORMULA TECHNIQUE. I'M USING A FIELD NAMED MEMBERID IN WHICH IT MAY APPEAR MORE THAN ONCE. I NEED TO DO A DISTINCT COUNT SHOWING SUBTOTALS AND A GRANDTOTAL AT THE END OF REPORT. THANKS A MILLION. a112.
Let me see if this is what you want.
You want a distinct count of each group.
Then you want a grand total that sums the distinct counts?
What is your group field.
Ken Hamady
Ken
The group field is by {Vdnt.MEMBERNAME}. This group field name is associate with the field {vdnt.MEMBERID}in which this field contains duplicate values.
Below are the formulas that I'm using. I need the a formula to do the comparison,a DistinctCount on MEMBERID FIELD as well as do the subtotaling and Grandtotaling (overall). The use of the formulas is to speed up report processing. using the Running Totals Expert Takes forever to process the report. Ken Can you shed some light? Thanks in Advance.
Put your "display" formula on the report footer. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
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.