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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calculating Time power BI


Hi am trying to find a time calculation or formula

 

Current I have the following datasets

 

Finish time    -   Start time    =  Total hours

 3:13:51 pm         11:52:13 am          =  04:17:15 pm

I need to find total hours worked -    without getting it been in a date/time format but rather the actual number of hours worked

1 ACCEPTED SOLUTION
Stachu
Community Champion
Community Champion

in M add a custom column with this syntax

([Finish time]-[Start time])*24

in DAX

Column = (Table1[Finish time]-Table1[Start time])*24





Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

1 REPLY 1
Stachu
Community Champion
Community Champion

in M add a custom column with this syntax

([Finish time]-[Start time])*24

in DAX

Column = (Table1[Finish time]-Table1[Start time])*24





Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors