Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have an Excel export that I've successfully converted the date/time to a duration I can use to calculate time spent on projects. However, time over 24 hours in the data table shows "error". What is the best way to convert time for entries over 24 hours?
Solved! Go to Solution.
Hi @Anonymous
what does the column [Minutes] represent to? 2.67 day? if so, you need to convert 2.67 day to minutes firstly, minutes = 2.67*24*60, then you can put it into the code template.
for example,
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
what does the column [Minutes] represent to? 2.67 day? if so, you need to convert 2.67 day to minutes firstly, minutes = 2.67*24*60, then you can put it into the code template.
for example,
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
The add'l calculation is what I was missing. It is now working! Thanks.
I have tried multiple ways using the instructions provided, but still can not seem to get this to work. Here is an example using the instructions. I have tried multiple variations, including Extract data before/after in Power Query, to no avail. I've attached screen shots of the source and the PBI output.
Any suggestions are greatly appreciated.
@Anonymous , If you are looking to add up duration you have to do try something similar to what has been explained in blogs
https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-using-dax
https://social.technet.microsoft.com/wiki/contents/articles/33644.powerbi-aggregating-durationtime-in-dax.aspx
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
60 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |