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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.