Forum Discussion

rajendraongole1's avatar
rajendraongole1
Icon for Super User rankSuper User
3 years ago
Solved

Highlight a Button when any one slicer selected

Dear All, I have taken one slicer visual, when i selected  category from slicer chart, i need to get highlight the button created in page.   Is it possible to highlight a button when it's selected...
  • Arul's avatar
    3 years ago

    rajendraongole1 ,

    Yes. Write a measure like the below by replacing your table data and then use that measure in button background color conditional formatting and set the color.

     

    Selected value CF = 
    IF(HASONEVALUE(financials[Country]),1,0)

     

    Thanks,

    Arul

  • DAXDigger's avatar
    3 years ago

    rajendraongole1 Please use below measure in Button >> Style >> Fill

    Measure = IF(ISFILTERED('Table'[Category]),"Green","Gray")