jph826
asked on
crystal group suppression based on formula
CRV10 - I have a report with one group, LOCATION. In that group footer I have a formula that calculates turnover percentage. I already have detail suppressed. How can I suppress the group if the turnover percentage < 10 percent ?
The formula is:
if Sum ({@terms}, {@pl and dept and name}) = 0 then 0 else
Truncate (Sum ({@terms}, {@pl and dept and name})) / Sum ({@headcount EndofMth}, {@pl and dept and name}) * 100
The formula is:
if Sum ({@terms}, {@pl and dept and name}) = 0 then 0 else
Truncate (Sum ({@terms}, {@pl and dept and name})) / Sum ({@headcount EndofMth}, {@pl and dept and name}) * 100
ASKER
Thank you! I got the "Division by zero" error with the Truncate portion of the formula hi-lighted.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Exactly what I needed. Thank you!
ASKER
thanks
Click REPORT --> SELECTION FORMULA --> GROUP
Open in new window
mlmcc