Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi, how should i convert below time value exceed 24hours to seconds in PBI? Please help~~~
Solved! Go to Solution.
Add a custom column in the query editor and put this expression in the pop-up box.
let
hms = List.Transform(Text.Split([Other Work], ":"), each Number.From(_)),
result = hms{0}*60*60 + hms{1}*60 + hms{2}
in
result
Pat
Add a custom column in the query editor and put this expression in the pop-up box.
let
hms = List.Transform(Text.Split([Other Work], ":"), each Number.From(_)),
result = hms{0}*60*60 + hms{1}*60 + hms{2}
in
result
Pat
Thank you so much ! it works perfectly for me!
Hi @AAAbbbnewbie :
- First, in Power Query, separate the time by character : (You will get three columns: hours,minutes and seconds).
-Then, create a custom column:
Time= [Other work Hours]*3600+[Other work Minutes]*60+[Other work Seconds]
Thanks for sharing 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
12 | |
10 | |
10 | |
10 |
User | Count |
---|---|
17 | |
14 | |
12 | |
10 | |
9 |