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
Viswa11
Frequent Visitor

Need help in Power BI Desktop Filters pane

Hi All,

 

In Power BI Desktop, the filter pane restricts to applying only two conditions per column. However, I encountered a scenario where I needed to apply four conditions to a single column. The challenge arose because the category column I'm working with does not yet have all the values it will eventually contain, making basic filtering impractical. To address this, I turned to advanced filtering options in Power BI Desktop, but found that they also limit you to only two conditions.

I'm exploring alternative approaches to add more than two conditions, potentially using DAX (Data Analysis Expressions) or other methods. If you have any suggestions or insights on how to achieve this in Power BI Desktop, I would greatly appreciate your input.

Viswa11_0-1712813541051.png

Thanks in advance,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Viswa11 ,

What do you mean by "I don't have values in my category column"?
I guess what you want to express is that your current data table in the category column data is incomplete, for example, you have a total of A, B, C, D, E five categories to participate in the filter, but the current table only exists in the A, B, C three categories, the subsequent will be added to the five. Is this what you mean?
Then you can add an additional table with just one column Category containing all the categories. then create a RELATIONSHIP between this table and your datasheet and use this table to create the slicer:
Here is my sample data:

vjunyantmsft_0-1712889972745.png

And add such a table for slicer:

vjunyantmsft_1-1712889993310.png

Build relationship:

vjunyantmsft_2-1712890013267.png

The final output is as below:

vjunyantmsft_3-1712890049340.png


Or you can use DAX, but using DAX will be a bit more cumbersome, unlike slicer, which is easy to use.
I can give you an example:

Measure = 
IF(
    MAX('Table'[Category]) = "Gast" || MAX('Table'[Category]) = "Gyne" || MAX('Table'[Category]) = "Derm" || MAX('Table'[Category]) = "Orth",
    1,
    0
)

Proceed as shown in the figure below:

vjunyantmsft_4-1712890201000.pngvjunyantmsft_5-1712890226739.png

The final output is as below:

vjunyantmsft_6-1712890250893.png

 

Best Regards,
Dino Tao
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

3 REPLIES 3
MattAllington
Community Champion
Community Champion

The easiest way would be to add a slicer. You can then hide the slicer if needed. Set the slicer to multi select if you want. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Hi @MattAllington ,

Thanks for your suggestion but I don't have values in my category column it will add in future.

Anonymous
Not applicable

Hi @Viswa11 ,

What do you mean by "I don't have values in my category column"?
I guess what you want to express is that your current data table in the category column data is incomplete, for example, you have a total of A, B, C, D, E five categories to participate in the filter, but the current table only exists in the A, B, C three categories, the subsequent will be added to the five. Is this what you mean?
Then you can add an additional table with just one column Category containing all the categories. then create a RELATIONSHIP between this table and your datasheet and use this table to create the slicer:
Here is my sample data:

vjunyantmsft_0-1712889972745.png

And add such a table for slicer:

vjunyantmsft_1-1712889993310.png

Build relationship:

vjunyantmsft_2-1712890013267.png

The final output is as below:

vjunyantmsft_3-1712890049340.png


Or you can use DAX, but using DAX will be a bit more cumbersome, unlike slicer, which is easy to use.
I can give you an example:

Measure = 
IF(
    MAX('Table'[Category]) = "Gast" || MAX('Table'[Category]) = "Gyne" || MAX('Table'[Category]) = "Derm" || MAX('Table'[Category]) = "Orth",
    1,
    0
)

Proceed as shown in the figure below:

vjunyantmsft_4-1712890201000.pngvjunyantmsft_5-1712890226739.png

The final output is as below:

vjunyantmsft_6-1712890250893.png

 

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

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.