sorchard2000
Technical User
Hello!
Crystal 8.5--SQL server
I am trying to do a complicated report. I have copied a standard crystal report provided by our software vendor and am trying to modify it to our needs.
I work in a surgery dept where we need to track surgery room utilization as a percent used. I currently have all the numbers of how many cases we did and how many total minutes the cases took. End user puts in date range which can be anywhere from 1 day to months at a time. The only thing I lack is the number of minutes the surgery room is available based on the end user date input. This seems difficult to me since the date range (entered by end user) constantly varies. Once I get the total number of available minutes, I can then figure out percentage of utilization of each surgery room
Current data:
OR 1 shift 1 (7am-3pm) 7000 minutes used
OR 1 shift 2 (3pm-11pm) 1000 minutes used
OR 2 shift 1 (7am-3pm) 6500 minutes used
and so on.
Desired Output:
OR 1 shift 1 (7am-3pm) 7000 minutes used 65% utilized
OR 1 shift 2 (3pm-11pm) 1000 minutes used 35% utilized
OR 2 shift 1 (7am-3pm) 6500 minutes used 70% utilized
and so on.
I hope I have explained it adequately.
Thanks ahead for any help given.
sorchard2000
Crystal 8.5--SQL server
I am trying to do a complicated report. I have copied a standard crystal report provided by our software vendor and am trying to modify it to our needs.
I work in a surgery dept where we need to track surgery room utilization as a percent used. I currently have all the numbers of how many cases we did and how many total minutes the cases took. End user puts in date range which can be anywhere from 1 day to months at a time. The only thing I lack is the number of minutes the surgery room is available based on the end user date input. This seems difficult to me since the date range (entered by end user) constantly varies. Once I get the total number of available minutes, I can then figure out percentage of utilization of each surgery room
Current data:
OR 1 shift 1 (7am-3pm) 7000 minutes used
OR 1 shift 2 (3pm-11pm) 1000 minutes used
OR 2 shift 1 (7am-3pm) 6500 minutes used
and so on.
Desired Output:
OR 1 shift 1 (7am-3pm) 7000 minutes used 65% utilized
OR 1 shift 2 (3pm-11pm) 1000 minutes used 35% utilized
OR 2 shift 1 (7am-3pm) 6500 minutes used 70% utilized
and so on.
I hope I have explained it adequately.
Thanks ahead for any help given.
sorchard2000