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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors