Forum Discussion
Date time formatting for more than 24 hour
- 3 years ago
Excel stores durations as days and fractions of a day. You can set the cell format to show hours:minutes:seconds.fractions_of_seconds. However, you cannot change what you see in the formula bar if the cell is formatted as [h]:mm:ss.000
In Power Query, hours > 24 will be shown as Days in the duration typed column.
In Power BI, duration will be shown as a decimal number.
Neither will show the [h]:mm:ss format you can see in an Excel cell.
If that is an absolute requirement, you could construct a text string, I suppose.
Thank you Greg_Deckler , I converted this to duration but issue is duration can only show up to 24 hour time if I have more than 24 hours in h:mm:ss format it gives me the incorrect hour duration. Would there be any other alternative to convert into second in excel or somewhere else. as in excel it also show me the date time format when I double click on cell in excel.
Excel stores durations as days and fractions of a day. You can set the cell format to show hours:minutes:seconds.fractions_of_seconds. However, you cannot change what you see in the formula bar if the cell is formatted as [h]:mm:ss.000
In Power Query, hours > 24 will be shown as Days in the duration typed column.
In Power BI, duration will be shown as a decimal number.
Neither will show the [h]:mm:ss format you can see in an Excel cell.
If that is an absolute requirement, you could construct a text string, I suppose.