Reply
huguestremblay
Helper II
Helper II
Partially syndicated - Outbound

Conditional Formatting in my Table Disappears when I add a Column

Hello,

I have a report with a table where I need to highlight some values based on another field.  The conditional formatting works as expected until I add another column to the table, then the conditional formatting is not being applied to values without a values in the new column. 

I need to highlight (text in red) the sizes that are unavailable.  Both XX-Large and XX-Small are highlighted as I want in the left table.  When I add the count of sales to the table, the XX-Small is still red, but XX-Large, which has no sales, loses its conditional formatting. 

huguestremblay_2-1707248881634.png

 

huguestremblay_0-1707247976801.png

How can I make it stay red?

 

My report is available here: https://www.dropbox.com/scl/fi/kaehipx737w9528mh8cy9/Conditional-formatting.pbix?rlkey=x31ivvj3450rj...

 

Thank you!

 

 

1 ACCEPTED SOLUTION
Kaviraj11
Super User
Super User

Syndicated - Outbound

I tried at my end and I would suggest you to create a measure of Count of Sales and utilize it in the table that will resolve your issues.

Count of Sale = COUNT(Sales[Sale])+0
 
 
 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Kaviraj11
Super User
Super User

Syndicated - Outbound

I tried at my end and I would suggest you to create a measure of Count of Sales and utilize it in the table that will resolve your issues.

Count of Sale = COUNT(Sales[Sale])+0
 
 
 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Syndicated - Outbound

Thanks for the quick reply, it worked!

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)