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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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"
)