Forum Discussion
Slicer Selection Conditional Formatting
- 6 years ago
Hi Anonymous ,
To create measures as below and set conditional formatting based on Slicer formatting color.
Slicer formatting = IF( HASONEFILTER( 'Query Answers'[Banner] ) , 2, 0 )
Slicer formatting color = IF( [Slicer formatting]=2 , "#FF2657", BLANK() )
For more details, please check the pbix as attached.
Hi Anonymous ,
We can set condiftional formamting in backgroud pane like the picture as below.
Or you should add the banner column to the table visual as well to set condiftional formatting as the way you used before.
Hi v-frfei-msft ,
Thanks for your time.
However, I am trying to add the Conditional Formatting in background pane to a Slicer Visual, not a table.
Can you please try that for me and let me know if it works on your side?
Cheers,
Robin
- v-frfei-msft6 years agoCommunity Support
Hi Anonymous ,
To create measures as below and set conditional formatting based on Slicer formatting color.
Slicer formatting = IF( HASONEFILTER( 'Query Answers'[Banner] ) , 2, 0 )
Slicer formatting color = IF( [Slicer formatting]=2 , "#FF2657", BLANK() )
For more details, please check the pbix as attached.