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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ignacio06
New Member

displaying accumulated hours

Hello, I have a simple problem with the display of accumulated hours data. For example, when a user has 26 accumulated hours of work (in sum of several days), Power bi gives me (with the time format "hh:mm") 02:00 (24h+2) when I need to show 26:00.
Any idea?. Thank you very much from Madrid

1 ACCEPTED SOLUTION
Joe_Barry
Super User
Super User

Hi @Ignacio06 

 

You can refer to my anser here Re: Need Help - Converting Seconds to HH:MM:SS and... - Microsoft Fabric Community

 

If you want a measure the culamative value and convert to HH:MM then try this. Presumimg you have a value in your table as Hours?

 

Hours Total = SUM('Table'[Hours])

 


Then this

 

HH:MM = 
VAR _Seconds = [Hours Total] * 3600
VAR _Min = INT(MOD(_Seconds, 3600) / 60)
VAR _Hours = FORMAT([Hours Total], "00") 
VAR _Minutes = FORMAT(_Min, "00")
RETURN

_Hours & ":" & _Minutes

 

Joe_Barry_0-1713188439259.png

 

Thanks

Joe

 

If you found my answer helpful and it solved your issue, please accept as solution

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn


Let's connect on LinkedIn


View solution in original post

1 REPLY 1
Joe_Barry
Super User
Super User

Hi @Ignacio06 

 

You can refer to my anser here Re: Need Help - Converting Seconds to HH:MM:SS and... - Microsoft Fabric Community

 

If you want a measure the culamative value and convert to HH:MM then try this. Presumimg you have a value in your table as Hours?

 

Hours Total = SUM('Table'[Hours])

 


Then this

 

HH:MM = 
VAR _Seconds = [Hours Total] * 3600
VAR _Min = INT(MOD(_Seconds, 3600) / 60)
VAR _Hours = FORMAT([Hours Total], "00") 
VAR _Minutes = FORMAT(_Min, "00")
RETURN

_Hours & ":" & _Minutes

 

Joe_Barry_0-1713188439259.png

 

Thanks

Joe

 

If you found my answer helpful and it solved your issue, please accept as solution

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn


Let's connect on LinkedIn


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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