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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
João_Santos
Frequent Visitor

Help with period between two dates based on category

Hello!

I need a really specific Measure / calculated field that indicates the amount of time inside a factory by considering the Date and the type of entry and then convert to HOURS

NameAcessDateHourDesired Result 1 PeriodDesired Result 2 Hours
JOAOIn05/07/202309:200,000:00
JOAOOut05/07/202310:301,171:10
JOAOIn05/07/202310:40-0,17-0:10
JOAOOut05/07/202317:196,656:39
PEDROIn06/07/202315:210,000:00
PEDROOut06/07/202315:380,280:17
0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.