cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zipoben
Regular Visitor

Matrix Collapsing - How to Show Average of All Values When Collapsed?

Hello All,

 

I am trying to show the average (mean) of the expanded values in the '% Complete' column in this matrix when I collapse it instead of the sum of "Count of Tasks" and their % completion as a total.PBI Help.PNGIn this instance, I would expect an overall %Complete of around 64% instead of the displayd 97%. Is there any way to accomplish this? Thanks!

 

-Z

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @zipoben 

 

[%Complete] is measure? IF[%Complete] is measure, you can try the following methods.

Measure:

 

Measure = IF(HASONEVALUE('Table'[Child]),[%Complete],AVERAGEX('Table',[%Complete]))

 

vzhangti_0-1664503156903.png

IF(HASONEVALUE()) can control the output of Total.
 

Best Regards,

Community Support Team _Charlotte

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

View solution in original post

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @zipoben 

 

[%Complete] is measure? IF[%Complete] is measure, you can try the following methods.

Measure:

 

Measure = IF(HASONEVALUE('Table'[Child]),[%Complete],AVERAGEX('Table',[%Complete]))

 

vzhangti_0-1664503156903.png

IF(HASONEVALUE()) can control the output of Total.
 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors