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...
  • v-zhangti's avatar
    3 years ago

    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.