Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello, I'm using the following methods to filter and make the bar chart a different color for one bar and neither are working.
Method 1:
You may try something similar to the following:
Here && is for AND and || is for OR
That is hard coding the values and will not work. I'm looking for the bar chart to change 1 bar color based on the user-selected value in a slicer. For example, If the value = user selected value then blue else grey. I used this logic in the bar chart and it did not work. I don't know why.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |