Forum Discussion
Topjacket
4 years agoHelper I
Matrix conditional formatting based on comparison to overall average
Hello Sorry if I have missed something but I have tried searching and figuring it out myself but I am struggling with this one. I have a matrix which shows "Category" in the columns and "Empl...
- Anonymous4 years ago
Hi Topjacket
Color Code = VAR AvgOfAll = Calculate(AVERAGE(table[value]),all(table)) Var Avg = Average(table[value]) RETURN SWITCH(TRUE, Avg/AvgOfAll >= 10, "Red", Avg/AvgOfAll >= 5 , "Amber","")Use this measure in the conditional formatting.
Anonymous
4 years agoNot applicable
Hi Topjacket
Color Code =
VAR AvgOfAll = Calculate(AVERAGE(table[value]),all(table))
Var Avg = Average(table[value])
RETURN SWITCH(TRUE,
Avg/AvgOfAll >= 10, "Red",
Avg/AvgOfAll >= 5 , "Amber","")
Use this measure in the conditional formatting.
- Topjacket4 years agoHelper I
Thanks very much for this.