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
Tevon713
Helper V
Helper V

Conditional Formatting - Excel

Hi all.

 

I tried to replicate conditional format in excel to power bi.  Look to be okay, the issue is when someone select single value in the data column it turn green which is not correct. Is there way for the value to remain static not change by the filter?

 

Tevon713_0-1658336165602.png

 

Tevon713_1-1658336254738.png

4 REPLIES 4
edhans
Community Champion
Community Champion

If you don't want a particular value to be affected by a slicer, you need to select the slicer, go to Format options, Edit Interactions, and disable the filter interaction on the destination visual.

In the below image, the country slicer will have no impact on the table visual shown because I've turned off the interactions for it.

edhans_0-1658339375550.png

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Thanks but what I'm looking for is as follow. 

 

For example, Site 6 is red as when conditional formatting for overall... but when let say user want to see just single site should remain red but it green. Granted the formatting is correct when looking at the list. In excel when you filter for a single site, it will display correctly doesn't change. Hope I'm making sense.

 

PBI

Tevon713_0-1658341653360.png

Tevon713_1-1658341865470.png

EXCEL

Tevon713_2-1658342175441.png

Tevon713_4-1658342214705.png

 

 

 

edhans
Community Champion
Community Champion

You need to change the conditional formatting rules to use absolute values. when in a range of 500 to negative 200, negative 200 is red, but when it is the only thing, then it is the highest value, so it turns green because you are using the range settings, which change with each filter.

 

Excel isn't changing the filter context, it is just hiding rows.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Understood about conditional format in range. Sound like I have to write custom dax expression to achieve hide and unhide similar to Excel. Actual data is couple hundred thousands rows. I thought be easier method.

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.