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
I wanted to create a conditional format for changing the colour of a guage, and have had success with 2 variations, but not with the third.
I can set the colour if value is less than 70% "Red", or greater than 90% "Green", however I don't know how to set the 71%-89% to "Orange".
Please can you help.
This is what I tried
Hi @NickM11 ,
Switch stop when the first condition is met.
So you can do:
switch(
true(),
x<0.7,"Red",
x<0.9, "Orange",
"Green"
)
Hi,
You can also try/do it with Conditional formating in Fill colors --> Rules --> and selecting the values fields.
Here i have just given few sample data for color logic between 0-10 and you can see 6 is falling under yellow.
Thank you
Prakash
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 143 | |
| 123 | |
| 100 | |
| 80 | |
| 55 |