Forum Discussion
Conditional formatting using slicer
- 7 years ago
yodha you can use "Field Value" instead of "Rules" in format by option. Field Value is something you can select as a measure to create the colors:
For example:
My Color = VAR __slicerValue = SELECTEDVALUE( Table[SlicerColoumn[ ) RETURN SWITHC( TRUE(), __slicerValue > 100, "Red", __slicerValue > 50, "Yellow", "Green" )
And in Field you can chose "My Color" measure which will drive the logic for color.
Hope it helps
yodha you can use "Field Value" instead of "Rules" in format by option. Field Value is something you can select as a measure to create the colors:
For example:
My Color = VAR __slicerValue = SELECTEDVALUE( Table[SlicerColoumn[ ) RETURN SWITHC( TRUE(), __slicerValue > 100, "Red", __slicerValue > 50, "Yellow", "Green" )
And in Field you can chose "My Color" measure which will drive the logic for color.
Hope it helps
- yodha7 years agoHelper IV
Hi,
Thanks for the reply, it really helped me, now am able to achieve this functionlity in my report.
thanks once again.
parry2k wrote:yodhayou can use "Field Value" instead of "Rules" in format by option. Field Value is something you can select as a measure to create the colors:
For example:
My Color = VAR __slicerValue = SELECTEDVALUE( Table[SlicerColoumn[ ) RETURN SWITHC( TRUE(), __slicerValue > 100, "Red", __slicerValue > 50, "Yellow", "Green" )
And in Field you can chose "My Color" measure which will drive the logic for color.
Hope it helps