Hello
I'm using Crystal 8.5 accessing a SQL database.
I have a report with fiscal year and triage level in the rows and I want to show % triage level of total but can't figure out how to do this.
If I only had one row level I would create a field called "triage 1" and it would be:
if triage = 1 then +1 else 0
Then I would create a field called %Triage1 and it would be:
if triage1>0 then triage1*100/total cases
I would put the %Triage1 field in the crosstab and make it a weighted average of total cases and it correctly gives me percent. But I can't get it to work with two layers and I need to show the triage level to correspond with %. Any ideas how to get this to work?
Thanks.
I'm using Crystal 8.5 accessing a SQL database.
I have a report with fiscal year and triage level in the rows and I want to show % triage level of total but can't figure out how to do this.
If I only had one row level I would create a field called "triage 1" and it would be:
if triage = 1 then +1 else 0
Then I would create a field called %Triage1 and it would be:
if triage1>0 then triage1*100/total cases
I would put the %Triage1 field in the crosstab and make it a weighted average of total cases and it correctly gives me percent. But I can't get it to work with two layers and I need to show the triage level to correspond with %. Any ideas how to get this to work?
Thanks.