Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Multi-select drop-down filter gallery with button

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Looking for help with a form I have where the backend is a SharePoint list.

 

What I’d like is for the top dropdown to filter the list and show all results per filter.  This I figured out.

For the other dropdowns I’d like to filter the list based on each selection using the button.  What I’m running into is the choices end up being “and” statements so if a select Yes for one and No for another it removes the results with Yes.  You end up having to have the right combination of Yes/No choices to show a result.  I’d like the filtering to be similar to how you would filter a column in SharePoint or Excel if that makes sense.

 

Anyone have ideas on how to get this to work?  Am I going about this incorrectly?

 

2019-12-05_8-26-06.jpg

Categories:
  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on at
    Re: Multi-select drop-down filter gallery with button
    @CBERNIER
    I am glad you were able to figure it out 🙂

    If your original question is answered please close the thread
  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    figured it out, using choice fields instead and disabled multi select.

  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    @Shanescows do you think you can help with this?

     

    Is it possible to add a blank value to the dropdowns I'm getting from SPO?  I'm trying to filter like you would in SharePoint, thus selecting yes or no or nothing, to return results.  However, I need help adding a blank value that doesn't live in SharePoint.

     

    Filter(
    'SPO_List',
    SPOcolumn = columnSelector.SelectedText.Value,
    SPOcolumn1 = column1dropdown.SelectedText.Value,
    SPOcolumn2 = column2Dropdown.SelectedText.Value,
    SPOcolumn3 = column3Dropdown.SelectedText.Value,
    SPOcolumn4 = column4Dropdown.SelectedText.Value,
    )

  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    Is it possible to add a blank value to the dropdown?

     

    Filter(
    'SPO_List',
    SPOcolumn = columnSelector.SelectedText.Value,
    SPOcolumn1 = column1dropdown.SelectedText.Value,
    SPOcolumn2 = column2Dropdown.SelectedText.Value,
    SPOcolumn3 = column3Dropdown.SelectedText.Value,
    SPOcolumn4 = column4Dropdown.SelectedText.Value,
    )

  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    Maybe it would be better to mimic SharePoint thus introducing the following filter options that way I can have an unselected option which is what I need.

    2019-12-05_16-29-38.jpg

  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    @mdevaney thank you for your help so far,  yes that's what I have, however because the drop down values are either yes or no which I pull from the SharePoint list columns I have no method to add a blank value in any of the drop-downs.  Any idea how I would do that?  If I had an empty value I think the query would just ignore it right?

  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on at
    Re: Multi-select drop-down filter gallery with button

    @CBERNIER 

    There are two ways to do use and OR clause within FILTER.  See examples below.

     

    #1

    Filter(
     your_datasource_name,
     field1 = "someValue1" || field2 = "someValue2" || field3 = "someValue3"
    )

     

    #2

    Filter(
     your_datasource_name,
     Or(field1 = "someValue1", field2 = "someValue2", field3 = "someValue3")
    )

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • CB-09082027-0 Profile Picture
    Microsoft Employee on at
    Re: Multi-select drop-down filter gallery with button

    @mdevaney, yes that's the issue, I'd rather the and statement be "or" statements, that way I can keep the record displayed without having an exact match in values.  Not sure how to do that, when I replace "," with or it doesn't support it.

  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on at
    Re: Multi-select drop-down filter gallery with button

    @CBERNIER 

    The FILTER function allows you check multiple conditions separated by a comma.  All of the criteria must be met to return a result so the effect is the same as using AND.

    Filter(
     your_datasource_name,
     field1 = "someValue1",
     field2 = "someValue2",
     field3 = "someValue3"
    )

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard