Power BI: multiple independent filters
In general, when I select an option in a filter, the other filters will show the available values but I will not be able to select something unavailable. In this article Power BI: ignore filters between them, I explain how to make slicers not to be related with the others so I can select those unavailable options but the result is not what I want because I want the result for all selections. Let’s take an example so it will be easier to understand. I have this simple table:
And those visuals:
I want to be able to select “category = unix” and “type = sales” so if I select unix, sales are not available and vice-versa:
![]() |
![]() |
Now I will make both filters to be ignored between each other, so if I select unix, sales are available but the score cards and the table return no values:
So how can I resolve this issue ??? Because I want the result of unix and sales together. For that, I will need to create 2 tables and 4 measures:
- For both tables:
DISTINCT(SELECTCOLUMNS('table',"new name",'table'[argument]))


- For measure:
var allslicers = ISFILTERED('new_table1'[argument])||ISFILTERED('new_table2'[argument])
var slicer1 = ISFILTERED('new_table1'[argument]) && SELECTEDVALUE('table'[argument1]) IN VALUES('new_table1'[argument])
var slicer2 = ISFILTERED('new_table2'[argument]) && SELECTEDVALUE('table'[argument2]) IN VALUES('new_table2'[argument])
RETURN
IF(NOT allslicers||slicer1||slicer2,1,0)

- For measure 2, 3 and 4:
CALCULATE(COUNT('table'[argument1]),FILTER(VALUES('table'[argument2]),[Measure]=1))



Once done:
- For the slicers, I will replace them by my new tables
- For the score cards, I will replace them by my measures
- For the table, I will add “measure” in the “filters” panel only and configure like this:

Now, if I select unix and sales, I got what I need:
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...
-
Refresh Power BI
From the Power BI Service, I can set refresh but, for instance, there is no option to do it monthly or each time a change is made...
-
Power BI alerts to be sent by email from an excel file based on condition
I will explain how to send a list of emails from an excel file after creating alerts...








