powerbiconditional-formattingslicers

Power BI - Slicer Color change based on data value


enter image description hereenter image description hereI want to change the tile color of a horizontal slicer based on a table value. I.E. if the data value in a table is > 0, format the slicer tile to change color.

In my report I use a simple slicer to drill down on a table below. I essentially want the slicer to highlight if there is a difference between the baseline and database value.

I can use conditional formatting and get the table values to change color, however I am unable to get the linked tile in the slicer to change.


Solution

  • In Power BI, the Slicer visual doesn't have any conditional formatting option for the slicer tile color. But there is an alternative to it. It is to use Power BI Treemap visual.