Reply
Super User
Posts: 755
Registered: ‎08-27-2015
Accepted Solution

Advanced Filter

[ Edited ]

Greetings!

Is there a way to add a filter, select advanced filter, and use more than two qualifiers? I need to filter by a total of four codes and it appears to only allow two. For example, when filtering by manufacturer code, I need to select 062, 140, 439,  and 853 as this particular manufacturer has multiple codes. Is this possible?

Your assistance is appreciated.


Accepted Solutions
Super User
Posts: 755
Registered: ‎08-27-2015

Re: Advanced Filter

The way I worked around this was to create a lookup table by group representative name. Then I was able to sort this particular group as well as three others. I didn't really need to create a master list but it is the same idea.

View solution in original post


All Replies
Advisor
Posts: 384
Registered: ‎07-03-2015

Re: Advanced Filter

unfortunately, only two values are available in the advanced filter.  The old Power BI supported search in a list of values that was very convenient, but the PBI 2 does not support that anymore so you may have to do a lot of scrolling to multiselect your codes.  Hopefully this experience will get enhanced soon.

Frequent Visitor
Posts: 2
Registered: ‎09-21-2015

Re: Advanced Filter

It's really important. Actually my report have too many values that the scroll doesn't scroll to all values.

Frequent Visitor
Posts: 5
Registered: ‎09-01-2015

Re: Advanced Filter

u can use if to get 2 values then u can use the if result to filter 

Frequent Visitor
Posts: 2
Registered: ‎01-05-2017

Re: Advanced Filter

This may have already been solved, but as this thread doesn't have one already I thought I'd add what we do...

 

In the PowerBi Custom visuals page, there are two visuals we use that work well for multiple advanced filtering: The Attribute Slicer and the SmartFilter.   Both of these will allow you to search for groupings based on values you select, and select multiple groupings to filter the page.  

 

Keep in mind, this is great to bypass the 2 filter limit in the native program, but if you're looking to group anything more than 20 filters this can get tedious. 

 

The link to the visuals page is https://app.powerbi.com/visuals/

Super User
Posts: 2,961
Registered: ‎06-24-2015

Re: Advanced Filter

Hi @kcantor, the way that I would solve this issue would be the following:

 

  • If the codes are always going to be the same, I would go into the Query Editor.
  • I would then create a new Custom Column or Conditional Column lets call it ManFactFilter
    • In this Column I would then specify the codes with the output example being Manufacturer 1
    • And the else clause being "Other Manufacturers
  • I would then load this data into my Model.
  • And then I would create a Slicer or in my filters drag in the ManFactFilter column, and then simply select Manufacturer 1
Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Super User
Posts: 755
Registered: ‎08-27-2015

Re: Advanced Filter

The way I worked around this was to create a lookup table by group representative name. Then I was able to sort this particular group as well as three others. I didn't really need to create a master list but it is the same idea.

Frequent Visitor
Posts: 2
Registered: ‎07-25-2018

Re: Advanced Filter

I stumbled on a workaround for this limitation of two (2) Advanced Filters.  First I determined the number of filters I needed to get the results I was looking for.  In my case I needed 5 filters.  Instead of choosing "Advanced Filtering", I chose "Basic Filtering" and then chose 5 random selections.  I then switched the drop-down from "Basic Filtering" to "Advanced Filtering" again, and it presented me with 5 filters vs the default of 2.  Be sure not to hit the "Apply" button until you have filled out all 5 of the filters because as soon as you hit apply, any filters that are left blank will dissappear.

 

Hope this helps....

Highlighted
Frequent Visitor
Posts: 2
Registered: ‎07-25-2018

Re: Advanced Filter

I stumbled on a workaround for this limitation of two (2) Advanced Filters.  First I determined the number of filters I needed to get the results I was looking for.  In my case I needed 5 filters.  Instead of choosing "Advanced Filtering", I chose "Basic Filtering" and then chose 5 random selections.  I then switched the drop-down from "Basic Filtering" to "Advanced Filtering" again, and it presented me with 5 filters vs the default of 2.  Be sure not to hit the "Apply" button until you have filled out all 5 of the filters because as soon as you hit apply, any filters that are left blank will dissappear.

 

Hope this helps....

Regular Visitor
Posts: 29
Registered: ‎04-23-2018

Re: Advanced Filter

Wow this worked for me. It is truly so pathetic that you have to hack it this way for just a fundamental functionality.