Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I am trying to create a measure which countshow many employees are rostered within a 24hr period. I am able to get it to work if it is between 00:00-23:59 (eg. 06:00-14:00), but not if it cuts over to the next day (eg.2200-0600).
I have created a Timetable where I have generated times between 00:00 and 23:59 in 30min increments
Hi @Anonymous
If you have periods that extend past midnight then this approach won't work. You need to be able to distinguish between different days, typically by using DateTimes not just the time.
Can you please share some example data.
Regards
Phil
Proud to be a Super User!
would the below be okay?
I would ultimately like to be able to create a line graph and analyse the roster hours that are worked over each day of the week over a 24hr period. I was worried that the date/time formula might not allow me to do this.
If it can work with the date/time, I have added a column for the date/time on the right hand side to get things started but will need help to get the formula for the shift end date/time.
Thankyou!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |