Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hey, I have an icon measure and i need to change the colors depending on positive, negative or neutral.
Please, any hint as in the formatting pane there is no option.
Thank you,
Clara
Solved! Go to Solution.
Hi @Anonymous ,
I suggest you to try code as below to create a color measure.
Color =
SWITCH(
TRUE(),
[diff_airticket_YTD]>0,"Green",
[diff_airticket_YTD]<0,"Red",
"Yellow"
)
Try conditonal formatting in your visual and use Field value. Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I suggest you to try code as below to create a color measure.
Color =
SWITCH(
TRUE(),
[diff_airticket_YTD]>0,"Green",
[diff_airticket_YTD]<0,"Red",
"Yellow"
)
Try conditonal formatting in your visual and use Field value. Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Is the requirement to change the color of arrows or the color of card visual.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 117 | |
| 38 | |
| 36 | |
| 29 |