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
msbiuser1
Advocate I
Advocate I

How to get total time duration in Hrs :mm without converting them to total hrs or minutes in dax

Team Duration

A05:40
A10:20
B11:20
B05:50
C06:34
C02:45
D05:21
D10:20
E06:30
E07:40

I am looking for a dax to sum the total duration in hr:mm. Because in excel its easy , but power bi , I tried with duration datatype, not able to get the desired result.

1 ACCEPTED SOLUTION
saravanan_p
Resolver III
Resolver III

Hi @msbiuser1 
You may use the following measure:

duration_m =
var d = sum(duration_test[Column])
var h =right("0" & rounddown(d/60,0),2)
var m=right("0" & MOD(d,60),2)
return
h&":"&m
Kindly mark as solution after your testing with a thumps up!!

View solution in original post

1 REPLY 1
saravanan_p
Resolver III
Resolver III

Hi @msbiuser1 
You may use the following measure:

duration_m =
var d = sum(duration_test[Column])
var h =right("0" & rounddown(d/60,0),2)
var m=right("0" & MOD(d,60),2)
return
h&":"&m
Kindly mark as solution after your testing with a thumps up!!

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.

Top Solution Authors