Jonathan212
IS-IT--Management
I’ve got myself in a pickle. I have a report that derives total surgeon hours used per day (and total distinct cases) in the operating room. I am grouping by “surgeonname” and “dayoftheweek”.
I am happy to report that output in section GF2 (by day of the week, e.g., Monday, Tuesday ….) for each surgeon is correct. That is, total hours used are correct. In addition, output in section GF1 (a summary of hours used for all days of the week, e.g., Monday plus Tuesday, etc.…) appears to be correct.
My problem manifests itself in the cross-tab.
I have row1: surgeonname
I have column1: Dayoftheweek
Summaries are:
Distinct count of case number
Max of Total Hours per day
Formula for “totalhoursper day”is:
Sum ({@RoomTime3}, {@weekdaydescription})+{@10min}
Roomtime3 is:
({@PtoutofRoom} - {@PtinRoom})/60
I first did a sum of total hours per day – but I got results I did not expect.
When I used max total hours per day – I got the results I expected for every day of the week. However, the grand total was incorrect (in the cross tab). And that is where I am stumped.
Existing (and incorrect) Output:
Mon Tue Wed Thu Fri Total
Jonathan 114.00 70.00 136.00 1,439.00 0.00 1,439.00
How might I change the total of 1439 so that is 1759. I realize this is the max value, but I don’t want that value in the grand total. I am using CR10.
Thanks in advance. Jonathan
I am happy to report that output in section GF2 (by day of the week, e.g., Monday, Tuesday ….) for each surgeon is correct. That is, total hours used are correct. In addition, output in section GF1 (a summary of hours used for all days of the week, e.g., Monday plus Tuesday, etc.…) appears to be correct.
My problem manifests itself in the cross-tab.
I have row1: surgeonname
I have column1: Dayoftheweek
Summaries are:
Distinct count of case number
Max of Total Hours per day
Formula for “totalhoursper day”is:
Sum ({@RoomTime3}, {@weekdaydescription})+{@10min}
Roomtime3 is:
({@PtoutofRoom} - {@PtinRoom})/60
I first did a sum of total hours per day – but I got results I did not expect.
When I used max total hours per day – I got the results I expected for every day of the week. However, the grand total was incorrect (in the cross tab). And that is where I am stumped.
Existing (and incorrect) Output:
Mon Tue Wed Thu Fri Total
Jonathan 114.00 70.00 136.00 1,439.00 0.00 1,439.00
How might I change the total of 1439 so that is 1759. I realize this is the max value, but I don’t want that value in the grand total. I am using CR10.
Thanks in advance. Jonathan