web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / People Picker Filter B...
Power Apps
Unanswered

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,297 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard