- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Convert number to Time
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @adi1234 ,
You can created Calculated Column using this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @adi1234 ,
You can created Calculated Column using this

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
10-23-2024 06:24 AM | |||
10-23-2024 07:46 AM | |||
11-27-2016 04:13 AM | |||
07-02-2021 12:27 AM | |||
Anonymous
| 02-08-2018 02:47 PM |
User | Count |
---|---|
102 | |
84 | |
81 | |
53 | |
46 |