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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have set up my conditional formatting rule as below so that if a value is below 10 the bar will be green, & if above 10 it'll be red, however I am getting altering results when my filters are applied & it is not correctly colouring the bars:
Solved! Go to Solution.
Hi @Anonymous ,
You can use another way to set rules.
Create a new measure to set colors.
Measure = IF ( SELECTEDVALUE ( test[Column1] ) > 0.1, "red", "green" )
Then apply it.
Here is the result.
Best Regards,
Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can use another way to set rules.
Create a new measure to set colors.
Measure = IF ( SELECTEDVALUE ( test[Column1] ) > 0.1, "red", "green" )
Then apply it.
Here is the result.
Best Regards,
Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply, a handy measure to know 🙂
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 |
|---|---|
| 57 | |
| 43 | |
| 41 | |
| 22 | |
| 17 |
| User | Count |
|---|---|
| 186 | |
| 116 | |
| 94 | |
| 64 | |
| 45 |