Hi there,
I am hoping someone can assist me please. I am creating a resource sheet on Power Bi, the project is almost done however I am struggling to complete one last step. I want to count the staff on shift for each hour. The business runs over a 24/7 roster so I will need to count hours overnight into the following day. The data I am working with basically has a Name, Start time, Finish time.
I have received half of my answer on a previous thread here >>>
Hours at WorkI am using this
{Time.Hour([Start])..Time.Hour([End]),if [End] > [Start] then (Time.Hour([End]))-(Time.Hour([Start])) else 24 - (Time.Hour([Start])-Time.Hour([End]))}
it is working well except this is creating an annoying error that I cannot wrap my head around. This counting counting each hour as its supposed to, then the last hour of each shift results as the duration of the shift.
I have attached an image below to outline the issue, the highlighted numbers are the final hours which display hours between start and finish time.
I hope that made sense

------------------------------
Jade C
------------------------------