Hi,
I have a problem.
I'm getting data from the api which lists the rooms that users have booked.
Each room has set working days and hours. I need to make a table where the Average real resource usage will be calculated (the formula is ((100*sum(realDuration))/(max(resource.workingMinutesInDay)*unique_count(<Count Of Working day by timerange>)))
count of working days in week is saved in resource.countOfWorkingDayOneWeek
But I don't know how to find out how many days were working days by timerange (some resources have working days set to Monday-Friday, some to Monday-Sunday, some to Wednesday-Friday)
So I was wondering if anyone has encountered this before.