Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 34 | |
| 32 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |