Forum Discussion
Conditional formatting based on a dynamic value (slicer)
Hi Anonymous
You can create a measure like below.
Measure INT( [COLUMN1] > [AVRAGE] )
And use this measure for conditonal formating in your table
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.

- parry2k7 years agoSuper User
Anonymous and make sure in conditional formatting, you choose Format by Field Value and then select KPI Color in drop down list
- Anonymous7 years agoNot applicable
- Mariusz7 years agoCommunity Champion
Hi Anonymous
Have you changed to "Format By" = Rules?Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- parry2k7 years agoSuper User
Anonymous sorry couple of things are getting mixed up based on solution Mariusz and I are providing.
If you want to compare value in measures to set the color, you should create another measure like I mentione previously but if you are comparing your measure against fixed value then you should choose the method Mariusz provided.
As you can see there are many option for conditional formatting, you have to see what best fit for you. in case you are comparing two measures I would do something like this
KPI Color= SWITCH ( TRUE() [Measure 1] > [Measure 2], "Green", [Measure 1] = [Measure 2], "Yellow", "Red" )
- Anonymous7 years agoNot applicable
guys, I really appreciate your effots on helping me.
I don´t know why it didn[´t work out I tried everything.
For some reason PBI is considering all values smaller than average.