This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 @Anonymous ,
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 @Anonymous ,
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.
@Anonymous What's the complete rule for when the value is 10 or greater?
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!
@Anonymous 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! | |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 41 | |
| 21 | |
| 20 |