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.
Hi All,
I want to add number of time values with [HH:MM:SS] format , e.g. total hours worked by an employee in the week like below
I couldn't figure out a way to do it while maintaining the time formatting. Each time the sum of the time went past 24 it would change the time back to 0. So a total time of 26:00:00 would be formatted as 2:00:00.
I was able to get it working though if you don't mind changing the format from Time to Decimal. You can do this by adding a new calculated column that converts the time value to a decimal value in hours. The calculated column would look something like this and have its Data Type set to Decimal Number:
Time as Decimal = TIMEVALUE(Table[Time]) * 24
Now that Time is stored as a decimal it can be summed correctly in tables and other visualizations.
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |