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 ba...
Power Apps
Suggested Answer

Filtering a gallery based on a multi select combo box with a lookup field in sharepoint list

(0) ShareShare
ReportReport
Posted on by 25
Hi 

I'm quite new to powerapps and any help is much appricated. 

I have a field called sector in the my sharepoint list which is a lookup from the sectors list
I want to filter my gallery based on this sector field using a combobox. The user can select more than one sector to view at one time.
 
How can I do this?
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,075 Super User 2026 Season 1 on at
     
    Let add the items property to your ComboBox (cmb_Sectors)
     
    Items Property: Choices(Sectors) 
     
    Filter Your Gallery
     
    Filter(
        YourSharePointList,
        IsEmpty(cmbSectors.SelectedItems) || Sector.Value in cmbSectors.SelectedItems.Value
    )
     
    Note : lookup field stores value as records not a plain text, so always refer by either .Value or .Id correctly
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • MS.Ragavendar Profile Picture
    7,075 Super User 2026 Season 1 on at
     
    Is your issue resolved?
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • Suggested answer
    Inogic Profile Picture
    1,285 Moderator on at
    Hi,
     
    Below are the steps to filter a gallery in PowerApps based on multiple selected sectors from a ComboBox:
     
    1. To filter your gallery based on multiple selected sectors from a ComboBox, set the ComboBox's Items property to Choices('YourSharePointList'.Sector), ensuring "Allow multiple selections" is enabled.
     
    1. Then, set the gallery's Items property to Filter('YourSharePointList', Sector.Value in ComboBox1.SelectedItems.Value).
     
    1. Replacing 'YourSharePointList' with your actual SharePoint list name and ComboBox1 with your ComboBox name. This ensures the gallery displays only records where the sector matches any of the selected values in the ComboBox.

    Hope this helps.
     
    Thanks!
    Inogic

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard