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 / Filter Gallery by mult...
Power Apps
Answered

Filter Gallery by multiple choice options

(0) ShareShare
ReportReport
Posted on by 11

Hi, 

 

I have a Gallery that I'd like to filter. I currently have:

 

Filter(
MIS_Task_Tables,
Staff = 'Staff (MIS_Task_Tables)'.'NAME',

Status (cr74f_status)' = 'Status (MIS_Task_Tables)'.'Awaiting Allocation'

)

 

And that works fine, but I'd like to be able to search 'In progress' in the status column as well. So in English, 'filter the task table by Staff Column/NAME, AND Status Column/Awaiting Allocation OR In Progress'

 

Thanks

I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @sammvarley ,

     

    Assuming the Staff column is a Lookup column (to the AAD table or the Users table), and that both the Staff and the Status choice column are assigned to Combo Box controls, you can try:

     

     

    Filter(
     MIS_Task_Tables,
     Len(Your_Staff_ComboBox.Selected.'Full Name') = 0 || Staff .'Full Name' = Your_Staff_ComboBox.Selected.'Full Name',
     Len(Your_Status_ComboBox.Selected.Value) = 0 || Status in Your_Status_ComboBox.SelectedItems
    )

     

     

    Note in the above example, "Staff" is a Lookup to the Users table. If "Staff" is a Lookup to the AAD table, then "Full Name" does not exist as a column. For the AAD column, the equivalent column is "Display Name".

     

     

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

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

  • sammvarley Profile Picture
    11 on at

    Hi,

     

    Thanks for replying! I don't think it's a combo, it's a choice select column. So I have one choice column that is a selection of staff names, and another choice column in the same table that has task distribution choices, two being 'In progress' and 'Awaiting Allocation'. I want to be able to filter for one name choice in the first column, and two choices in the second column. 

     

    I could figure out how to search one choice from each column, but not the OR part of the second column, where it needs to filter 'in progress' OR 'awaiting allocation'

  • Verified answer
    sammvarley Profile Picture
    11 on at

    I figured it out:

     

    Filter(
    MIS_Task_Tables,
    Staff = 'Staff (MIS_Task_Tables)'.'NAME',
    Or('Status (cr74f_status)' = 'Status (MIS_Task_Tables)'.'Awaiting Allocation', 'Status (cr74f_status)' = 'Status (MIS_Task_Tables)'.'Working on it')
    )

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard