Forum Discussion
Conditional formatting for visual
- Anonymous1 year ago
Hi JoshP11 ,
I made simple samples and you can check the results below:
Average = AVERAGEX(ALL('Table'),[Jump Height]) Standard Deviation = CALCULATE(STDEV.P('Table'[Jump Height]),ALL('Table')) Measure = var ave =[Average] VAR sta = [Standard Deviation] RETURN SWITCH( TRUE(), MAX('Table'[Jump Height]) >= ave + sta, "Above Average", MAX('Table'[Jump Height]) >= ave + 0.5 * sta && MAX('Table'[Jump Height]) < ave + sta, "High Average", MAX('Table'[Jump Height]) >= ave - 0.5 * sta && MAX('Table'[Jump Height]) < ave + 0.5 * sta, "Low Average", MAX('Table'[Jump Height]) <= ave - sta, "Below Average", "Other" )An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
JoshP11 you can create a measure for the color and use that in the condition formatting using field value"
Color =
//this is where you color logic will go
IF ( X > Y, "Red", "Green" )- JoshP111 year agoHelper II
- JoshP111 year agoHelper II
HI parry2k
It's basically just this in the data so far whilst Ive been trying to work out how to do it.
Name Date Jump Height NAMEONE 01/01/2024 40.3 NAMEONE 01/04/2024 38.35 NAMEONE 29/09/2024 40.05 NAMETWO 02/04/2024 37.5 NAMETWO 04/04/2024 39 NAMETWO 04/12/2024 42.34 NAMETHREE 01/01/2024 41.44 NAMETHREE 20/01/2024 37.9 NAMETHREE 27/01/2024 36.4 NAMETHREE 15/02/2024 39.25 NAMETHREE 22/04/2024 41.24 NAMEFOUR 26/04/2024 41.5 NAMEFOUR 11/05/2024 40 NAMEFIVE 18/09/2024 39.45 NAMEFIVE 21/09/2024 38.36 NAMEFIVE 27/09/2024 38.7 NAMESIX 02/03/2024 40.13 NAMESIX 19/04/2024 42.22 NAMESEVEN 22/04/2024 35.45 NAMEEIGHT 09/09/2024 38.4 NAMEEIGHT 28/09/2024 39.8 NAMEEIGHT 29/09/2024 40.25 NAMENINE 05/05/2024 44.45 NAMENINE 08/09/2024 43.1 - Anonymous1 year agoNot applicable
Hi JoshP11 ,
I made simple samples and you can check the results below:
Average = AVERAGEX(ALL('Table'),[Jump Height]) Standard Deviation = CALCULATE(STDEV.P('Table'[Jump Height]),ALL('Table')) Measure = var ave =[Average] VAR sta = [Standard Deviation] RETURN SWITCH( TRUE(), MAX('Table'[Jump Height]) >= ave + sta, "Above Average", MAX('Table'[Jump Height]) >= ave + 0.5 * sta && MAX('Table'[Jump Height]) < ave + sta, "High Average", MAX('Table'[Jump Height]) >= ave - 0.5 * sta && MAX('Table'[Jump Height]) < ave + 0.5 * sta, "Low Average", MAX('Table'[Jump Height]) <= ave - sta, "Below Average", "Other" )An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.