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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
salomao
Frequent Visitor

Conditional Formatting doesn't work because it always summarizes the column

salomao_0-1719365979901.png

I want to show a green circle whenever the effective_status = ACTIVE.

But it doesn't work correctly if I have a date filter applied.

 

The value is from a dimension table. There isn't a date field in that table. Only in related tables.

salomao_1-1719366336186.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @salomao 

 

When you select a column as the field which the conditional formatting is based on, it is expected to be summarized with a definite aggregation type ("First" in your image) as this will provide only one scalar value for a rule to make the decision. In your second image, the status are all "Active" so whichever aggregation method you choose, the result will always be "Active". 

 

You said it doesn't work correctly if you have a date filter applied. If the date field is from another table, please check the relationship between two tables. If the cross-filter direction is set incorrectly, the filtering result might be incorrect, leading to the conditionl formatting not working. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Ritaf1983
Super User
Super User

Hi @salomao 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.