web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering multiselect ...
Power Apps
Answered

Filtering multiselect field with multiselect combobox

(0) ShareShare
ReportReport
Posted on by 18

I have a field that has multi select options (options being A, B and C).

I have created another combobox with the same options in for filtering. 

Is there a way that i can filter a gallery to only show records where one (or more) of the options selected in the combobox are in the multiselect field?

 

Eg. 

Record         Choice

1                   A,C

2                   B,C

3                   B

 

If the user selects A and C from the combobox i would want records 1 and 2 to show. 

I havent a clue if this is even possible, ive done some digging online but it seems i need an adult. Any help would be much appreciated.

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Filter(ListName, ColumnName.Value in ComboBox.SelectedItems || IsEmpty(ComboBox.SelectedItems)

  • jlatimer Profile Picture
    18 on at

    Thank you very much for replying. I’ve tried your suggestion and I’m getting nothing back. Also the ColumnName.Value text is saying “invalid arguement type. Cannot use Table values in this context”

     

    I’ve no idea…

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Show pictures.

    ComboBox Items.

    Databse Column Schema

    Gallery Item Code

  • jlatimer Profile Picture
    18 on at

    Combobox items: 

    ["Deterministic","Probabilistic","Not Required"]

    DBase Col:

    Choice, Not required, No Unique Values, MultiSelect, No Fill-in, No default

    Gallery items: 

    Filter('HTA&R Database', SARequired.Value in DataCardValue7.SelectedItems || IsEmpty(DataCardValue7.SelectedItems))

     

    Thanks again mate, much appreciated. The formula used just gives me the yellow delegation warning. However when i click on the formula at the top i get a red squiggle under ".Value". 

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @jlatimer 

     

    I'm able to replicate this same issue. Looks like many to many relationships causing the issue.

     

    StalinPonnusamy_0-1631892011973.png

    In this example: Properties is a Multi-select choice field in SP.

     

    Solution: We have Warren's Article/Blog to discuss and to solve it.

     

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at
  • Verified answer
    jlatimer Profile Picture
    18 on at

    Thanks for the links etc... i've worked it out doing the following.

     

    Set the combobox OnUpdate to:

     

    Clear(colMyChoices);
    With(
     {wTest: 'HTA&R Database'},
     ForAll(
     DataCardValue7.SelectedItems,
     Collect(
     colMyChoices,
     Filter(
     wTest,
     Value in SARequired.Value
     )
     )
     )
    )

     

    i then set the gallery items to:

     

    ForAll(
     Distinct(
     colMyChoices,
     CountryCollab
     ),
     LookUp(
     'HTA&R Database',
     CountryCollab= Result
     )
    )

     

     Thanks for pointing me in the right direction. Much appreciated.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard