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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors