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 / Multiple select filter...
Power Apps
Answered

Multiple select filters of gallery

(0) ShareShare
ReportReport
Posted on by 88

Dear powerapps community,

 

I'm searching for a solution for a filter on my gallery.

It uses a combobox to act as a filter multi select. Based on department, so if i would click on a certain department in the combobox, i would like to see only those department lists in the gallery.

 

I have the following:

1. Gallery of a form

- The form itself is about new employees and their onboarding process.

- Some of the form questions are multi selects. Like 'Which department?', 'Which role?', ...

- Datasource of the gallery is 'Instroom Medewerker'

 

2. Datasource

Datasource is sharepoint list.

 

3. Form

The form is called 'Instroom Medewerker'

 

What i already have

1. Searchbox (Zoekbox)

Zoekbox is the name of the searchbox

The gallery item property has the following:

Search(
Filter( 'Instroom Medewerker'; 'Functie/afdeling' = CbFilter.Selected.Value);
Zoekbox.Text;
"Title"

)

 

2. Combobox

The item property of the combobox has the following: 

Choices('Instroom Medewerker'.'Functie/afdeling')

 

CbFilter is the combobox with the choice menu of all the departments.

 

I have tried

I'm following a step by step guide of Reza dorrani on youtube https://www.youtube.com/watch?v=5dSk5iOgT68

See gallery1 attachment

My gallery item property has the following:

Search(
Filter( 'Instroom Medewerker'; 'Functie/afdeling' = CbFilter.Selected.Value);
Zoekbox.Text;
"Title"
)

 

What i am searching for/what i need

To click on the multiselect combobox, select a department, see in the gallery only the rows with that specific department.

 

'Instroom Medewerker' is my formname as also the source for the gallery.

'Functie/afdeling' (Dutch for Department) is the column i want to be filtered

 

But somehow it doesn't work.

Can anybody help with what i am doing wrong?

 

Greetings Miguel

MiguelDeNeve_0-1692345315331.png
Gallery (1).PNG
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,791 Most Valuable Professional on at

    Hi @MiguelDeNeve ,

    Assuming CbFilter is a multi-select combo box and 'Functie/afdeling' is a Text field, this should work

    Search(
     Filter( 
     'Instroom Medewerker'; 
     'Functie/afdeling' in CbFilter.SelectedItems
     );
     Zoekbox.Text;
     "Title"
    )

     If 'Functie/afdeling' is a single choice field, you need this

    Search(
     Filter( 
     'Instroom Medewerker'; 
     'Functie/afdeling'.Value in CbFilter.SelectedItems
     );
     Zoekbox.Text;
     "Title"
    )

     

    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. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • MiguelDeNeve Profile Picture
    88 on at

    Thank you very much for the quick response!
    The first solution does indeed work perfectly! 🙂

    Now i'm gonna follow the guide further on to see if nothing is selected from the combo box, the whole list is visible.

     

    Thank you again Warren 🙂

  • Verified answer
    WarrenBelz Profile Picture
    154,791 Most Valuable Professional on at

    @MiguelDeNeve ,'

    Using the first one

    Search(
     Filter( 
     'Instroom Medewerker'; 
     IsEmpty(CbFilter.SelectedItems) ||
     'Functie/afdeling' in CbFilter.SelectedItems
     );
     Zoekbox.Text;
     "Title"
    )

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard