cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User VI
Super User VI

Re: Calculate hours between two date/time column

Please mark the one that finally nailed it @sathyaramesh as the solution so the thread will be solved and others can see the answer easily



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Highlighted
Community Support
Community Support

Re: Calculate hours between two date/time column

Hi,

 

Please try this calculated column, and this can easily reach your requirement:

Total Hour = DATEDIFF('Table'[Col 1],'Table'[Col 2],SECOND)/3600

The result shows:

86.PNG

If my answer has solved your issue, please mark it as a solution for others to see.

Thanks!

 

Best Regards,

Giotto Zhi

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors