newbie0423
IS-IT--Management
I have a report that shows the time that a patient leaves the room until the next patient comes into the room (turnover time) I've created a formula to calculate the averages, but they are showing incorrectly because of the cases with zeros.
Looking at the example below. The average time is 42 is you're just counting two records, but because Crystal is counting three records the average is 28 which is what I don't want it to do. How can I eliminate the records with zero
Time In Time OUt Turnover
903 1001 0
1051 1506 50
154 1617 34
I've tried using
If {YourField} <> 0 then
(
Add and count
);
but this isn't working.
Looking at the example below. The average time is 42 is you're just counting two records, but because Crystal is counting three records the average is 28 which is what I don't want it to do. How can I eliminate the records with zero
Time In Time OUt Turnover
903 1001 0
1051 1506 50
154 1617 34
I've tried using
If {YourField} <> 0 then
(
Add and count
);
but this isn't working.