The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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"
)