Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
Does anyone know how can you highlight a bar in a barchart with a dropdown filter, without hiding the rest of the values/bars
Please let me know if you need any more information, as I fear this is not as simple as I hoped!
Thanks in advance, and help would be greatly appreciated!
Solved! Go to Solution.
Hi @Anonymous ,
In your measure you are not comparing nothing so the result is not getting the highlith you need.
Measure = SWITCH(TRUE(),SELECTEDVALUE('Processed Data'[Title]) = SELECTEDVALUE(TAble[Slicer]),"#800000")
I have added a part of the formula that you need to compare with the slicer you have.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
Create a table with the values you want for our slicer assuming that is based on the x-axis value of the bar chart. Do not relate this with your other tables.
Then add the following measure:
Measure = SWITCH(TRUE();SELECTEDVALUE('Table'[X-AxisColumn]) = SELECTEDVALUE(SlicerTable[Colun]); "#000000")
Now go to the bar chart data columns and use the conditional formatting with the field value and select this measure.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix,
Thanks so much for this, I am relatively new to Power BI and Dax but this has helped a lot!
However, unfortunately I am having some issues; this is my version of the measure:
Hi @Anonymous ,
In your measure you are not comparing nothing so the result is not getting the highlith you need.
Measure = SWITCH(TRUE(),SELECTEDVALUE('Processed Data'[Title]) = SELECTEDVALUE(TAble[Slicer]),"#800000")
I have added a part of the formula that you need to compare with the slicer you have.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |