Forum Discussion
kvitnitskiy
3 years agoFrequent Visitor
Convert text value to long time
Hello comunity. I have duration value in sec(integer), I use DAX to convert it to time Movement Time = VAR Duration ='Summary table'[Duration(sec)] VAR Hours =INT ( Duration / 3600) VAR Mi...
- 3 years ago
Hi kvitnitskiy ,
Power BI doesn't support Duration data type for time over 24 hours.
If you need the time format, you can consider adding an extra column to save the part beyond 24h, or use the Date\Time format to convert the part beyond 24h to days
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ppm1
3 years agoSolution Sage
Please see this article for a better way to handle durations like this.
Calculate and Format Durations in DAX – Hoosier BI
Pat