Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a column which is in below whole number format.
| Time in hrs |
| 1 |
| 3 |
| 11 |
| 12 |
| 23 |
| 24 |
I want this to convert it to HH:MM:SS. Is this possible?
Solved! Go to Solution.
Hi @adi1234 ,
You can created Calculated Column using this
Hi @adi1234
Use TIME dax function to create Calculated Column by using following DAX function.
TimeHHMMSS = TIME([Time in hrs], 0, 0)
Go through this Microsoft documentation about TIME dax - https://learn.microsoft.com/en-us/dax/time-function-dax
Hope this works for you!
Hi @adi1234 ,
At first you may get a calculated column of date time type, you can modify the data type to time to modify the format to “hh:nn:ss” to get the expected output.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @adi1234 ,
At first you may get a calculated column of date time type, you can modify the data type to time to modify the format to “hh:nn:ss” to get the expected output.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @adi1234
Use TIME dax function to create Calculated Column by using following DAX function.
TimeHHMMSS = TIME([Time in hrs], 0, 0)
Go through this Microsoft documentation about TIME dax - https://learn.microsoft.com/en-us/dax/time-function-dax
Hope this works for you!
Hi @adi1234 ,
You can created Calculated Column using this
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 31 | |
| 27 | |
| 24 |