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,
Currently I have employee work time data in a decimal format - e.g. 2.57 hours worked.
Is there a way to convert this to a HH:MM:SS format while also preserving the ability to sum the values up? I have created formulas to convert the time to HH:MM:SS but it involves concatenating text strings and cannot be summed up when used in a matrix in a paginated report.
For instance, I have a matrix in Power BI Report Builder that shows the following when collapsed:
When expanded, some of the data looks like this:
Notice how the collapsed version is showing 04:13:48 (first entry in the expanded version) and not the actual sum of all the time.
Is there a way to accomplish what I need here?
@RYU209 Hmm... If this was Power BI Desktop the answer is custom format strings. Not sure if there is anything equivalent in paginated. Not sure if this solution is an option but see this thread: datetime - Formatting Seconds into Days, Hours, Minutes, Seconds for SQL Report Builder Y-Axis Label...
Hi @Greg_Deckler ,
Thanks for the response - I will see if the link you sent is applicable for my purposes.
I'm actually using a Power BI Dataset as the source for my Paginated report and many of the fields in the matrix are Power BI measures I created in Desktop so maybe custom format strings could work? Do you mind going into more detail?
@RYU209 Sure, here's the detail: https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639...
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |