Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Applicable88
Impactful Individual
Impactful Individual

Calculate the working hours where a worker's log in and log out times span multiple shifts:

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 EarlyLateNight
21.03.2023 A 21.03.2023 05:30:00 21.03.2023 12:00:00 6,000,000,50
21.03.2023 B 21.03.2023 12:00:00 21.03.2023 15:00:00 6,001,000,00
21.03.2023 C 21.03.2023 18:00:00 21.03.2023 23:00:00 0,004,001,00
21.03.2023 D 21.03.2023 06:00:00 21.03.2023 14:00:00 8,000,000,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. 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
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 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
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 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




@Idrissshatila thank you very much. I think I can work it out with that method. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.