Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello. I am having issues calculating the average hh:nn it takes to completed a task. Image below for assistance in trying to explain:
I have a start datetime of 01/17/23 16:49:00 (hh:nn:ss) and an Completed DateTime of 01/26/2023 16:05:00 (hh:nn:ss). I need to take into account an 8-hour work day and exclude weekends.
So if am am looking at this, the time from StartDatetime to CompleteDatetime based on the above example would be 55:16 (hh:mm), with the weekend exclude from this calculation (1/20 & 1/21). Now lets says I needed to know the average time in hh:nn over the last month that it took one individual to complete each task (assume each row in the StartDatetime column is a task for this example). How would I go about doing that in a DAX calculation or otherwise?
Basing this off the CompletedDatetime, there were 12 task completed. If it took 507.50 hours (507:30 hh:nn), I should get an average of 42.29 hours (42:17 hh:nn). How can I get this calculation to work in my favor?
Below is the calculation I am using to get a string for the total, but can't average out a string. This is where I need help. Thanks!
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
89 | |
79 | |
70 | |
69 |
User | Count |
---|---|
226 | |
129 | |
119 | |
84 | |
77 |