Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mdejong
New Member

Average process time issues

Hi there!

 

I would like to create a visual of the average process time of multiple issues of an organisation. In the screenshot you can see the fields were available.

 

So, when the Status column show 'Resolved' a new custom column must show the process time of field 'Created' to 'LastModified'. Next i would like a visual (think the Q&A visual) where i can select the 'OwnerCompany' en PowerBI shows me de average process time of all issues of the organisation with the Status 'Resolved'.

 

Have you ideas?

 

VRB_Knipsel-01.png

 

1 ACCEPTED SOLUTION

Ok. I guess I need to see the file to help you better.
Nonetheless, the custom column that you created earlier, you can still use it and display the Average using a QnA visual or by right clicking on your column name under the Values section of your visual and selecting "Average" from there.

dkaushik_0-1621352631937.png

 

Thanks,

Dheeraj

 

View solution in original post

5 REPLIES 5
dkaushik
Resolver II
Resolver II

Hi @mdejong ,

 

Use two slicers on your report. One for "Status" and another for "OwnerCompany". Next, create a measure as:
Average Process Time = Calculate(sum('TableName'[LastModified]) - sum('TableName'[Created]))

You can add a custome column the same way as of measure.

 

Thanks,

Dheeraj

If this post helps, then please consider Accept it as the solution and give thumbs up to help the other members find it more quickly.

Thank you @dkaushik! What do you mean with 'TableName' in the calculate rule?

 

Currently i use a custom column 'diff = 1.0 * ([LastModified] - [Created])', then the Q&A visual with 'average diff'. When clicking on the slicer the results are visualized.

Ahh. The actual name of your table which contains the said fields.

Allright @dkaushik, my TableName = 'Issues (19-00795 - Nb 46 appartementen De Horn Fase 3)'. So i used:

 

Average Process Time = Calculate(sum('Issues (19-00795 - Nb 46 appartementen De Horn Fase 3)'[LastModified]) - sum('Issues (19-00795 - Nb 46 appartementen De Horn Fase 3)'[Created]))
 
PowerBI says 'A circular dependency has been detected: Issues (19-00795 - Nb 46 appartementen De Horn Fase 3)[Column], 4a291644-1c12-4a82-bda5-e18c995cabd1, Issues (19-00795 - Nb 46 appartementen De Horn Fase 3)[Column].

Ok. I guess I need to see the file to help you better.
Nonetheless, the custom column that you created earlier, you can still use it and display the Average using a QnA visual or by right clicking on your column name under the Values section of your visual and selecting "Average" from there.

dkaushik_0-1621352631937.png

 

Thanks,

Dheeraj

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.