I have a table containing User with Seconds Spent.
I want to convert seconds into hours. And Show total hours in hh:mm format.
But the sum of seconds is 400020 which is equal to 111.116667 hour in this case my below formula is not working as expected.
RIGHT ( "0" & INT ( TableName[Duration] / 3600 ), 2 )
& ":"
& RIGHT (
"0"
& INT ( ( TableName[Duration] - INT (TableName[Duration] / 3600 ) * 3600 ) / 60 ),
2
)
& ":"
& RIGHT ( "0" & MOD (TableName[Duration], 3600 ), 2 )
Taken this formula from Power BI Community