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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I have a simple measure test1 - test2.
What I want is my card to return the value in a colour based on the output.
If < 0 the hex #ed6955 else hex #87b826
Any idea how to incorporate this please?
Solved! Go to Solution.
I'd create a measure for the conditional formatting
CardColor =
IF (
[test1] - [test2] < 0,
"#ed6955",
"#87b826"
)