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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Prevent conditional colour formatting changing when data is filtered

I have a table of data. I have 'Background color' conditional formatting applied to the numerical values - a colour scale from dark green (highest) to light green (lowest) based on the numerical value. 

 

When the table is filtered, the value does not change but the colour changes to the darkest available green from my scale. 

Any way to make the colour stick?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

As you said, applying filter will cause Conditional formatting to change accordingly. 

 

So my workround is Custom the lowest and highest value like this:

Custom value.PNG

Please take a look at the differences here:

differences.jpg

But this is at idea/feedback level alone. You could let the power bi community to know this things and give your votes at power bi site's feedback -https://ideas.powerbi.com/ideas/

 

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,


Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Hope to hear from you😀

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @Anonymous ,

 

As you said, applying filter will cause Conditional formatting to change accordingly. 

 

So my workround is Custom the lowest and highest value like this:

Custom value.PNG

Please take a look at the differences here:

differences.jpg

But this is at idea/feedback level alone. You could let the power bi community to know this things and give your votes at power bi site's feedback -https://ideas.powerbi.com/ideas/

 

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

amitchandak
Super User
Super User

@Anonymous , Not very sure. create a rank with all and try to color on that.

Somthing like this

Rankx(all(Table), [measure],,desc)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak 

I tried the measure, the colour changes still - and also the value of the rank don't really mean anything to my consumer! It seems strange PBI hasn't got a solution for this - heat maps are great to compare a category, but if you want to see a single value... the heat map colours are still relevant. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors