Forum Discussion
Conditional Formatting by Quarter
- 6 years ago
Anonymous ,
So the percentage value in your matrix is a measure you have created and you need to color the highest and lowest measure value per quarter, right?
If so, you need to convert the measure to calculate column and then create a measure to set the color rule:
Color = VAR Max_Percentage = CALCULATE ( MAX ( Table[Percentage] ), ALLEXCEPT ( Table, Table[quarter] ) ) VAR Min_Percentage = CALCULATE ( MIN ( Table[Percentage] ), ALLEXCEPT ( Table, Table[quarter] ) ) RETURN SWITCH ( Table[Percentage], Max_Percentage, "Red", Min_Percentage, "Blue" )Then click condition formatting pane of the matrix visual and select Field Value based the Color measure:
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Dipali -
Can you pls share a sample file to get an idea of what you are trying to achieve?
I want to know if you are planning to use a matrix or a table visual, as we can use conditional formatting only in one of these at the moment.
Regards