Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
HELP! I have the next values :
When i open Power Query I set the data as duration and I can see the seconds and minutes, BUT when i close and apply this is the data I get 😞 I have tried the many solutions I found here but none has worked, I have no idea what to do next please help.
PS: I tried this code but I get error
Solved! Go to Solution.
Hi, @Anonymous
There is not much problem with your formula.
Column:
You also need to convert the text format to a time format. You can use the function TIMEVALUE.
TIMEVALUE function (DAX) - DAX | Microsoft Learn
Conversacion real time =
VAR _Seconds = [Time]
VAR _Minutes = INT ( DIVIDE ( _Seconds, 60 ) )
VAR _RemainingSeconds = MOD ( _Seconds, 60 )
VAR _RemainingMinutes = MOD ( _Minutes, 60 )
RETURN
TIMEVALUE(IF (
NOT ISBLANK ( _Seconds ),
FORMAT ( quotient(_Seconds,60), "00" ) & ":" & FORMAT ( mod(_Seconds,60), "00" )))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
There is not much problem with your formula.
Column:
You also need to convert the text format to a time format. You can use the function TIMEVALUE.
TIMEVALUE function (DAX) - DAX | Microsoft Learn
Conversacion real time =
VAR _Seconds = [Time]
VAR _Minutes = INT ( DIVIDE ( _Seconds, 60 ) )
VAR _RemainingSeconds = MOD ( _Seconds, 60 )
VAR _RemainingMinutes = MOD ( _Minutes, 60 )
RETURN
TIMEVALUE(IF (
NOT ISBLANK ( _Seconds ),
FORMAT ( quotient(_Seconds,60), "00" ) & ":" & FORMAT ( mod(_Seconds,60), "00" )))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Pls help again. I get this data, is there a way to also show seconds? for example 17.39 = 00:17:23, thank you in advance 🙂
YES! thank you so much, it is now in hh:mm:ss format. 🎊
@Anonymous , Change data type time and try
Or create a new column in dax
time(0,0,0) + [Column in hours]/24
or
time(0,0,0) + [Column in Minute]/(24*60)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |