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
Julia1234
Helper I
Helper I

Cross-highlight does not work on Conditionally formatted bar chart

Hi, I came accross an issue when Bar chart has conditional formatting on Red-Negative/Green-positive values. But when relevant item on another visuel (based on the same data) is clicked on, the cross highligting does not get conditional formatting applied and negative values remain green.

The desired outcome is that the cross highlighted bar in the bar chart would be colour coded according to the rule on Red-Negative/Green-positive values.

Is there any workaround or dax can be consructed? Like if a certain group is selected, then measure could calculate average in that context, and the conditional formatting will be based on that measure? Thank you in advance!

 

pbix sample:

https://drive.google.com/file/d/1guru700ytIFLmIbU2ZTHFqU3z7r2RN2d/view?usp=sharing 

Data:

Julia1234_1-1661876724775.png

Report:

Julia1234_2-1661876763916.png

Cross-highlighted SO8998 but negative bar remains green

Julia1234_3-1661876831741.png

 

 

 

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Julia1234 

Update -->We received a response from the product team: The current behavior in data colors is by design (conditional format using the value instead of the highlighted value).

However, they are evaluating the possibility to add support for it cartesian charts in the future.

ICM(332165207)

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Julia1234 

Update -->We received a response from the product team: The current behavior in data colors is by design (conditional format using the value instead of the highlighted value).

However, they are evaluating the possibility to add support for it cartesian charts in the future.

ICM(332165207)

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

v-xiaotang
Community Support
Community Support

Hi @Julia1234 

Thanks for reaching out to us.

I found that the same measure works in the table visual, but not in the cluster column chart. I will escalate the issue to the product team and I will notify you if there is a response.

vxiaotang_0-1662098492136.png

vxiaotang_1-1662098532371.png

 

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-xiaotang 

Yes, it appears to be known issue and below is the post from 2020. It would be great to get it resolved in future releases. In the meantime I wonder if any workaround can be done using DAX measure?

https://community.powerbi.com/t5/Desktop/Conditional-formatting-not-working-correctly-when-cross/td-...

Thank you.

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.