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.
I have a column time-spent:
1H3M
4H7M
2M
I need to convert de time to be comptable in excel.
For example 1H30M will be in total hours 1.5h
Solved! Go to Solution.
@Anonymous , Try a new column
new column =
var _1 = SUBSTITUTE([column], "H", ".")
var _2 = SUBSTITUTE(_2, "M", "")
return
Quotient(_2*1,1) + (mod(_2,1)*10/6)
@Anonymous , Try a new column
new column =
var _1 = SUBSTITUTE([column], "H", ".")
var _2 = SUBSTITUTE(_2, "M", "")
return
Quotient(_2*1,1) + (mod(_2,1)*10/6)
Hi,
Can you tell us exactly how is stored the time you want to convert.
Is it like you wrote 1h3m with the letters ? or more classic 01:03 ?
A screen copy of your data (not sensitive ones) might help us to help you 😉
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |