Creating a subtotal of a percentage of count set of values
Creating a subtotal of a percentage of count set of values
(OP)
Ive just started using Crystal 8 and am trying to create a subtotal of a "percentage of count" field.
So, the total will just return 100% if correct.
I know I could just put in 100% in a text box but I would like to know how to do this by creating a field or formula.
So, the total will just return 100% if correct.
I know I could just put in 100% in a text box but I would like to know how to do this by creating a field or formula.
RE: Creating a subtotal of a percentage of count set of values
The solution is dependent upon how you created the percent of count field.
You might create a variable to amass these, or leverage some existing formula that you created.
-k
RE: Creating a subtotal of a percentage of count set of values
whileprintingrecords;
numbervar percenttot := percenttot + {table.amount} % sum({table.amount},{table.yourgroupfield});
To display the result in the group footer, use:
whileprintingrecords;
numbervar percentot;
Just click on the percent icon to format as percentages.
-LB