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 a Gallery fr...
Power Apps
Answered

Filtering a Gallery from concatenated SharePoint entries

(0) ShareShare
ReportReport
Posted on by 2

Hi, I need some help filtering a gallery.

 

The Client will use a combobox to select potencially multiple 'Markets' which are then  concatenated when patched into a SharePoint to keep them as one entry.

Concatenated like this {Product:Concat(cbProduct.SelectedItems,Products," ; ")},

 

I am wondering if it is possible to filter a gallery by searching for the markets , using a dropdown box to select them. I have it working when there is just a single market but not for multiple.


And advice on this or another way to do this would be helpful.

 

Cheers

Categories:
  • eka24 Profile Picture
    20,925 on at

    Consider:

    With({ColDatasource: cbProduct},
    Filter(ColDatasource, Dropdown.Selected.Product in Product))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    Please Subscribe to my Youtube Channel

  • NatWalton01 Profile Picture
    2 on at

    Hi, Could you please explain the function of this? It is not being accepted as it is.

    Also the input for the filter is a ComboBox

     

    Thank you

  • eka24 Profile Picture
    20,925 on at

    Show the formula on the Combobox and the formulas that is giving you error.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @NatWalton01 ,

     

    I did a test for you.

    vxiaochenmsft_0-1633486124893.png

    vxiaochenmsft_1-1633486143400.png

     

    Add a gallery control and set its Items property to:

    Filter(ForAll(LIST173 As A,If(CountRows(Filter(ForAll(ComboBox1.SelectedItems As B,If(B.Value in A.Title,{Value2:1})),!IsBlank(Value2)))=CountRows(ComboBox1.SelectedItems),A)),!IsBlank(ID))

     

    vxiaochenmsft_2-1633486204223.png

     

    Best Regards,

    Wearsky

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard