The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 🙂
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
18 | |
18 | |
17 | |
15 | |
12 |
User | Count |
---|---|
35 | |
34 | |
19 | |
18 | |
14 |