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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Help with hours and minutes

Hi all, first post here, and new to using power bi. I have a bit of an issue with time time duration, I have two fields StartTime and End time, I can calculate the duration of these two fields in the query, but what I'm struggling to do is, 1. Out put the duration in hours and minutes (I've managed to do this in DAX). 2. Use this output as a sum in the value field of the pivot table, I can't convert it from count. Any help would be appreciated.

 

 

 

 

 

 

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @Anonymous  - 

 

It would be helpful if you provided a sample of your data and whatever calculations you've done up until this point. See this post How-to-Get-Your-Question-Answered-Quickly (also pinned to the top of the forum) on the things you can do to help us help you.

 

That being said, you may want to try and write an aggregation and formatting measure for the value you want to put in a matrix, rather than relying on the functions accessible through dropdowns when you drag a column into a visual.

 

So instead of VALUES saying "Sum of Table[TimeDiff]", you write a measure that does the summing and formatting, then put that in the visual.

 

Again, if that doesn't make sense, please provide sample data and what you've attempted so far.

 

Hope this helps

David

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.