Forum Discussion

zipoben's avatar
zipoben
Regular Visitor
3 years ago
Solved

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.In 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

  • 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]))

     

    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.

1 Reply

  • v-zhangti's avatar
    v-zhangti
    Icon for Community Support rankCommunity 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]))

     

    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.