I have used a formula I found here to obtain a grand total of groups with distinct counts. It is a running total.. formula was:
//WhilePrintingRecords;NumberVar RunningTotal;RunningTotal:= RunningTotal + DistinctCount( {vdnt.MEMBERID} , {Vdnt.MEMBERNAME} )
It was necessary to do it this way because some of the same ID numbers are in different member groups..
Works like a charm except I can't get it to give me the total in the report footer. I can work around that if I have to.
My problem now is that I have to calculate the percent of grand total for each group distinct count .. so if the running total is 100 and the group total is 25 the percent would appear as .25 .. any ideas?
//WhilePrintingRecords;NumberVar RunningTotal;RunningTotal:= RunningTotal + DistinctCount( {vdnt.MEMBERID} , {Vdnt.MEMBERNAME} )
It was necessary to do it this way because some of the same ID numbers are in different member groups..
Works like a charm except I can't get it to give me the total in the report footer. I can work around that if I have to.
My problem now is that I have to calculate the percent of grand total for each group distinct count .. so if the running total is 100 and the group total is 25 the percent would appear as .25 .. any ideas?