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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.