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 by ID and multi...
Power Apps
Unanswered

Filter by ID and multi selection people picker

(0) ShareShare
ReportReport
Posted on by 50

Hi all,

 

I have a search box at the top of my gallery, which is searching by Title and by Assigned Director at the minute. I'm using the following formula:

 

Filter('PMO Portfolio List',StartsWith(Title,SearchInput_2.Text) || StartsWith('Assigned Director'.DisplayName,SearchInput_2.Text), SortOrder.Descending)

 

However, I'd also like the user to be able to use the search box (SearchInput_2) to be able to search by the ID number and by "Assigned Lead / BPM Specialist" which is a MULTI SELECTION people picker column.

 

Any guidance on what formula I could use for that, please?

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,918 Most Valuable Professional on at

    Hi @EuniceG11 ,

    I assume you want to sort this (you have a sort order but no sort command or column. The With()) statement is only to retain some sort of Delegation capability as both elements of the bottom filter are not Delegable, so depending on the size of your list you may not get full results unless a smaller set is returned by the top filter

    With(
     wData:
     {
     Sort(
     Filter(
     'PMO Portfolio List',
     StartsWith(
     Title,
     SearchInput_2.Text
     ) || 
     StartsWith(
     'Assigned Director'.DisplayName,
     SearchInput_2.Text
     ),
     YourSortFieldHere,
     SortOrder.Descending
     )
     },
     Filter(
     AddColumns(
     wData,
     "IDNo",
     Text(ID)
     ),
     SearchInput_2.Text in 'Assigned Lead / BPM Specialist'.DisplayName ||
     SearchInput_2.Text in IDNo
     )
    )

     

    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

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
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard