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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
KIT_LKN
Frequent Visitor

How to turn off slicer interaction for only 1 column in matrix

Got measure that counts number of new cases like this:

 

 

 

NumberOfNewCases = CALCULATE (
                   SUM('Production'[Value]), 
                   FILTER ('Production', ('Production'[Status]) = "New"))

 

 

 

I've added this to my matrix as "Values" (visually it's a column!). Matrix holds 10 different columns, but for only his one I want to turn off slicer interaction - for all 5 slicers on page/visual - and display number of "new" unchanged. Is this possible? I can't use "Edit interactions" on this, as it will limit all 10 columns in matrix. 

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @KIT_LKN ,

 

Try the removefilter function in dax https://learn.microsoft.com/en-us/dax/removefilters-function-dax

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

REMOVEFILTERS seems to be what I was looking for, but I could not make it work with both FILTER and REMOVEFILTERS (several) in same measure, so I made a workaround. Kept my first measure unchanged, and then added another measure "NumberOfNewCasesExFilters" to draw data from the first one. And the second measure did the trick.

NumberOfNewCases = CALCULATE (
                   SUM('Production'[Value]), 
                   FILTER ('Production', ('Production'[Status]) = "New"))




NumberOfNewCasesExFilters = CALCULATE([NumberOfNewCases], 
    				REMOVEFILTERS('ORG'[Level1], 
                    					ORG[Level1], 
                    					ORG[Level2], 
                    					ORG[Level3], 
                    					ORG[Level4] ) )

 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @KIT_LKN 

 

try like:
NumberOfNewCases =
CALCULATE (
SUM('Production'[Value]),
FILTER ('Production', ('Production'[Status]) = "New")),
ALL(Production[SlicerColumn])
)

Anonymous
Not applicable

This has been asked before see:
powerbi - How to exclude a column from slicer? - Stack Overflow
This solution should work for you aswell.

Idrissshatila
Super User
Super User

Hello @KIT_LKN ,

 

Try the removefilter function in dax https://learn.microsoft.com/en-us/dax/removefilters-function-dax

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




REMOVEFILTERS seems to be what I was looking for, but I could not make it work with both FILTER and REMOVEFILTERS (several) in same measure, so I made a workaround. Kept my first measure unchanged, and then added another measure "NumberOfNewCasesExFilters" to draw data from the first one. And the second measure did the trick.

NumberOfNewCases = CALCULATE (
                   SUM('Production'[Value]), 
                   FILTER ('Production', ('Production'[Status]) = "New"))




NumberOfNewCasesExFilters = CALCULATE([NumberOfNewCases], 
    				REMOVEFILTERS('ORG'[Level1], 
                    					ORG[Level1], 
                    					ORG[Level2], 
                    					ORG[Level3], 
                    					ORG[Level4] ) )

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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