I assume your report looks something like this...
Grouped by state & dealer:
Sales amt % of state
Dealer1 total 10 20%
Dealer2 total 15 30%
Dealer3 total 25 50%
State total 50 100%
You can try this formula:
if Sum ({sales amt}, {statecodegroup}) > 0 then
({sales amt}/Sum ({sumup field}, {statecodegroup}))*100
else
0
Edited by freestylepunk - 08 May 2011 at 6:01pm