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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
dsmitha
Responsive Resident
Responsive Resident

In time and out time on different days

Hi,

 

I request your guidance and help to solve this issue of mine related to a call centre dashboard

employees log in at 07:00 pm on 01st July 2022 and they log out at 03:00 am on 02nd July 2022. How can i calculate the hours worked considering it as a single day ( i.e  8 hours duty )

 

 

regards,

dsmitha

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @dsmitha ,

 

Do you want to calculate the time interval between dates?

Try the DATEDIFF function:

DATEDIFF(<Date1>, <Date2>, <Interval>)  

DATEDIFF function (DAX) - DAX | Microsoft Docs

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @dsmitha ,

 

Do you want to calculate the time interval between dates?

Try the DATEDIFF function:

DATEDIFF(<Date1>, <Date2>, <Interval>)  

DATEDIFF function (DAX) - DAX | Microsoft Docs

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

hi 

v-stephen-msft,
thanks a lot , this is what i was looking for
regards,
dsmitha
 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.