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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I have a chart I want to change color of a Bar thru code. Just one Bar.
ISSUE:
I have created following graph for my Dashboard report. But some how not able to change the color of one of a top bar. I selected green but still is showing grey color.
Below bar is working fine, allow me to change the color.
Graph name is Bullet Chart by OKVIZ
Values for above bar are coming from Measure. This is a perecentage format. -- change only this bar.
Values from below Bar are coming from calculated column. This is a whole number format. -- this bar working fine.
Hi, @sdhn
Please check if the solution in this thread could work for you.
Bullet chart OK viz conditional colour doesn't apply if target is blank
it is not possible to conditionally colour code a visual if the target is Blank(), so a measure such as the following would be required.
= IF (ISBLANK(MeasureName), 0, MeasureName)
Best Regards,
Community Support Team _ Eason
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |