Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
53 | |
50 | |
40 | |
40 |