Forum Discussion

JamesGordon's avatar
JamesGordon
Icon for Helper II rankHelper II
4 years ago
Solved

Conditional Format Matrix on Average of row total

Hi all,   I am trying to add some conditional formatting to a matrix table but struggling to get the correct result.   I am trying to make the value in the table turn either Green or Red. Green i...
  • Greg_Deckler's avatar
    4 years ago

    JamesGordon Have you checked that calculation in context of the individual cells? Seems like you would need something like:

    myAverage = divide( CALCULATE(sum(Sheet[Total Sell]),ALLEXCEPT(Sheeet[Make])),CALCULATE(COUNTROWS(DISTINCT(Sheet[Rep])),ALLEXCEPT(Sheet[Make])))