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! Request now
Hello, I have a simple PowerBI column chart with a few conditional formatting rules:
If value is greater than 0 and less than 6, format blue
If value is greater than or equal to 6 and less than 10, format orange
If value is 10 or greater, format pink.
The result is show below - as you can see I'm getting two different colors for the same exact whole number value. Values of 1 are both blue and orange. Values of 6 are both orange and pink.
Thanks very much for any assistance!
Solved! Go to Solution.
Hi @mstone3 ,
First of all, many thanks to for very quick and effective replies, and I will give some additions below:
1.Create the simple table.
2.Create the new measure to filter conditional formatting.
conditional format =
VAR sel = SELECTEDVALUE('Table'[Values])
RETURN
IF(sel > 0 && sel < 6, "blue",
IF(sel >= 6 && sel < 10, "orange",
IF(sel >= 10 && sel < 100, "pink")
)
)
3.Select the color in the Bars pane.
4.Select the Field value and measure.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mstone3 ,
First of all, many thanks to for very quick and effective replies, and I will give some additions below:
1.Create the simple table.
2.Create the new measure to filter conditional formatting.
conditional format =
VAR sel = SELECTEDVALUE('Table'[Values])
RETURN
IF(sel > 0 && sel < 6, "blue",
IF(sel >= 6 && sel < 10, "orange",
IF(sel >= 10 && sel < 100, "pink")
)
)
3.Select the color in the Bars pane.
4.Select the Field value and measure.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello, the complete rule is greater than 10 or less than/equal to 100. The are no values that would go beyond 100. Thank you!
@mstone3 Can you share a snag of your conditional formatting pane the way I did above?
Hi mstone3,
Can you please share a sample pbix file? (If you don't know how, please check the pinned thread in the forum.) It would make debugging your issue easier. 🙂
Proud to be a Super User! | |
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.