cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kcantor Super Contributor
Super Contributor

Advanced Filter

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.



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




1 ACCEPTED SOLUTION

Accepted Solutions
kcantor Super Contributor
Super Contributor

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.



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




12 REPLIES 12
andre
Advisor

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.

luisfgfurtado Frequent Visitor
Frequent Visitor

Re: Advanced Filter

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

AhmedIsmail Frequent Visitor
Frequent Visitor

Re: Advanced Filter

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

M_Rea Frequent Visitor
Frequent Visitor

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
Super User

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!"
Power BI Blog
kcantor Super Contributor
Super Contributor

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.



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




shaskins Frequent Visitor
Frequent Visitor

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....

shaskins Frequent Visitor
Frequent Visitor

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....

lemarcfj Regular Visitor
Regular Visitor

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. 

 

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 309 members 3,345 guests
Please welcome our newest community members: