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 / People Picker Filter B...
Power Apps
Answered

People Picker Filter Behavior

(0) ShareShare
ReportReport
Posted on by 15

Hi Teams.  I have an interesting behavior that hopefully you can help me with. I have a sharepoint list of applications with the owner as a people field. My canvas app has two filter headers, one the app name, the other a people picker. Using this filter method with a Text Input for the people filter:

ClearCollect(colGridData,Filter('Application List', StartsWith('Owner'.DisplayName, TextInputOwner.Text) && (IsBlank(AppNameSearch.Text) || IsEmpty(AppNameSearch.Text) || StartsWith('App Name',AppNameSearch.Text))));

 

The app filter does sort the gallery when clicking outside the input field - as expected.

The Owner text field, does not filter on clicking outside the search box - but does filter properly when triggering a button to Load Data.

 

I'm puzzled why one search box works when exiting (auto loading the data) and the other does not. Any thoughts?  I'm definitely struggling with the people picker.

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @HeyDave 

    This is because you are using these in behavioral actions.  You are better off if you want immediate results to skip duplicating all your data into app memory with a collection.

    Just set your Items property to:

    Filter('Application List', 
     StartsWith('Owner'.DisplayName, TextInputOwner.Text) && 
     (IsBlank(AppNameSearch.Text) || StartsWith('App Name',AppNameSearch.Text))
    )

     

    Also, don't use IsEmpty on a text value...IsEmpty is for records.

     

    I hope this is helpful for you.

  • Verified answer
    HeyDave Profile Picture
    15 on at

    Thanks Randy. This helped me see the error in my ways & got me up and running.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard