Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |