Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
Is there a way to convert a text column to show as seconds. The column holds text values in the format of HH:MM.
E.g 64:56 should show as 233760 seconds. There will be values greater than 24 hours
Thanks
Yasir
Solved! Go to Solution.
Column 2 =
LEFT ( 'Table'[Column1], LEN ( 'Table'[Column1] ) - 3 ) * 3600
+ RIGHT ( 'Table'[Column1], 2 ) * 60
Column 2 =
LEFT ( 'Table'[Column1], LEN ( 'Table'[Column1] ) - 3 ) * 3600
+ RIGHT ( 'Table'[Column1], 2 ) * 60
| User | Count |
|---|---|
| 44 | |
| 36 | |
| 30 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 65 | |
| 57 | |
| 40 | |
| 21 | |
| 20 |