Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all 🙂
I have a pbix file which contains a column of Time calculation in the format of Days.hh:mm:ss (shown below):
I want to convert it to Text format i.e 4 Days 07 Hours 56 Minutes 00 Seconds
It would be really helpful if I could get some help here. Thanks 🙂
Solved! Go to Solution.
@harshjoshiD , It should be a duration column in the Power query, then you can have a new column like
= Number.ToText(Duration.Days([Time to Mitgate]) ) & " Days " &
Number.ToText(Duration.Hours([Time to Mitgate]) ) & " Hours" &
Number.ToText(Duration.Minutes([Time to Mitgate]) ) & " Minute" &
Number.ToText(Duration.Seconds([Time to Mitgate]) ) & " Second"
@harshjoshiD , It should be a duration column in the Power query, then you can have a new column like
= Number.ToText(Duration.Days([Time to Mitgate]) ) & " Days " &
Number.ToText(Duration.Hours([Time to Mitgate]) ) & " Hours" &
Number.ToText(Duration.Minutes([Time to Mitgate]) ) & " Minute" &
Number.ToText(Duration.Seconds([Time to Mitgate]) ) & " Second"
Thank you 🙂 Appreciate your help 👍
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |