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.
Hello,
I have following shift times:
Shift | From | Until | ||
Early | 06:00 | 14:00 | ||
Late | 14:00 | 22:00 | ||
Night | 22:00 | 06:00 |
I want to calculate the hours someone works in his shift. But also when he might has another working model, which can span over
different shift, I want to know the respective hours calculated for those shift:
WorkDay | WorkerID | LogInTime | LogOutTime | Early | Late | Night | ||||
21.03.2023 | A | 21.03.2023 05:30:00 | 21.03.2023 12:00:00 | 6,00 | 0,00 | 0,50 | ||||
21.03.2023 | B | 21.03.2023 12:00:00 | 21.03.2023 15:00:00 | 6,00 | 1,00 | 0,00 | ||||
21.03.2023 | C | 21.03.2023 18:00:00 | 21.03.2023 23:00:00 | 0,00 | 4,00 | 1,00 | ||||
21.03.2023 | D | 21.03.2023 06:00:00 | 21.03.2023 14:00:00 | 8,00 | 0,00 | 0,00 |
I basically need the red columns where I can summarized the hours which spans over two or more shift. WorkerID = D is for example someone who entirely stays with his shift. But not the others. They always work far into the other shifts and I want those working hours listed separately.
Thank you very much in advance.
Best.
Solved! Go to Solution.
Hello @Applicable88 ,
Check if this video would help https://youtu.be/6JA6uy3ZRBA
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hello @Applicable88 ,
Check if this video would help https://youtu.be/6JA6uy3ZRBA
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
@Idrissshatila thank you very much. I think I can work it out with that method.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |