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 through input box
Power Apps
Answered

Filter through input box

(0) ShareShare
ReportReport
Posted on by 909

Hello,

 

I have a gallery that has items AdminList. I want to create a one input box that will search through this table by sharepoint people field.

 

I tried this function:

Sort(Filter(AddColumns(AdminList,"AdminData",'Dane administratora'.DisplayName),SearchBox.Text,"AdminData"))

Dane administratora is sharepoint people field.

This gives tons of errors.

 

This: 

Filter(AddColumns(AdminList,"AdminData",'Dane administratora'.DisplayName),SearchBox.Text,"AdminData")

Shows no error but no data is showed (even when I fill something in the field).

It only shows warning - this predicate is a literal warning and not reference the input table.

 

I do add columns cause someone told me that I need that in order to search with text using people fields.

Categories:
  • Elitezone Profile Picture
    909 on at

    I think that I have worked it out.

     

    Filter(
     'AdminList',
     SearchBox_AdminName.Text in 'Dane administratora'.DisplayName
    )

    This seems to be working... 

  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Elitezone 

     

    Try the following:

    Sort(Filter(AddColumns(AdminList,"AdminData",'Dane administratora'.DisplayName),StartsWith(AdminData,SearchBox.Text),"AdminData"))

     

    Just added StartsWith(AdminData ...) function as second parameter for Filter is a condition. You need to compare SearchBox value with AdminData column value.

     

    Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard