cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors