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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone
Is there a way to change the colour/ formatting of only one bar in a bar visualisation? I know this can be achieved in Excel charts by selecting a single bar and changing its colour. Is there a similar option in Power Bi visualisations? For instance, I want to change the color of the 2022 bar, leaving bars for the other years the same.
Thanks
SG
Solved! Go to Solution.
You can write a simple measure like this to return color values based on which Year is in context, and use it as the "Field Value" for bar color.
BarColor = IF(MAX(T4[Year]) = 2022, "Blue", "Yellow")
Pat
You can write a simple measure like this to return color values based on which Year is in context, and use it as the "Field Value" for bar color.
BarColor = IF(MAX(T4[Year]) = 2022, "Blue", "Yellow")
Pat
Thanks Pat. This works! Appreciate your help 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |