Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Conditional Formatting for Cards

Hello Power BI Community, 

 

I'm trying to conditional format such that

- if [ChairsAvailable] measure is less than 0, I would like [ChairsTotal] measure to be red

- else if [ChairsAvailable] measure is more than 0, I would like [ChairsTotal] measure to be black

 

As seen in the screenshot, the [ChairsTotal] 52 renamed to Total in the visual is less than the [ChairsFilled] 53 renamed to Filled in the visual as there is negative value for [ChairsAvailable] -1 renamed to Available in the visual, hence i would like the [ChairsTotal] callout value and label to be red since [ChairsAvailable] is negative. 

However, the Conditional Formatting does not seem to work.

pbixxuserr_1-1744275012596.png

The formula for [ChairsTotal] = [ChairsAvailable] + [ChairsFilled]

1 ACCEPTED SOLUTION
kushanNa
Super User
Super User

4 REPLIES 4
v-echaithra
Community Support
Community Support

Hi @Anonymous ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra E.

v-echaithra
Community Support
Community Support

Hi @Anonymous ,

We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra.

v-echaithra
Community Support
Community Support

Hi @Anonymous ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra E.

kushanNa
Super User
Super User

I think new card has issues with conditional formatting , better use the old card https://community.fabric.microsoft.com/t5/Desktop/Conditional-formatting-of-card-values-depending-on... 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.