This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Is it possible to create a conditional format for a measure compared to another measure?
Example
I have 2 measures displayed on separate cards.
If measure A > measure B, change colour of measure A to RED
If measure A <= measure B, change colour of measure A to GREEN
Solved! Go to Solution.
@bo_afk , Yes color measure, use in conditional formatting with field value option
Color =
if([measureA]>[measureB], "Red", "Green")
for steps refer my video
https://www.youtube.com/watch?v=RqBb5eBf_I4
or
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Hi, @bo_afk
How would you like to display this measure , on a card or on table column?
As of now, conditional formatting is only applicable to Table and Matrix, not to Card visual.
Please refer to this document .
desktop-conditional-table-formatting
Best Regards,
Community Support Team _ Eason
@bo_afk , Yes color measure, use in conditional formatting with field value option
Color =
if([measureA]>[measureB], "Red", "Green")
for steps refer my video
https://www.youtube.com/watch?v=RqBb5eBf_I4
or
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 25 | |
| 22 | |
| 14 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 25 | |
| 20 | |
| 20 |