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 / Need proper code for p...
Power Apps
Unanswered

Need proper code for power app search function

(1) ShareShare
ReportReport
Posted on by 8
I've created a power app that is connected to share point list. i can't get the search function of the power app pull up information from the share point list. Below are the different codes that I've tried. Does anyone have the right code for my issue?
 
I have the same question (0)
  • Suggested answer
    abc 123 Profile Picture
    784 Moderator on at
    This code will store the retrieved data into a collection.
     
    ClearCollect(colCats, 
      Filter('SharePoint List', StartsWith(Title, "Cat")
    )
     
    Once you have the data in the collection, it's easy to use for a Gallery.
     
    That said, are you sure you have the word "Cat" in the Title column?
     
    (I've never used Search, but you can check the specs on the proper use.)
  • Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    The proper way to format a search in Power Apps is to just write the column name without quotes (if it's one word) or use single quotes.
     
    Search('data_source',txt_search_field.Value,Title)
     
    or
     
    Search('data_source',txt_search_field.Value, 'Column Name with Spaces')
     


  • NJ-06081605-0 Profile Picture
    8 on at
    I tried both of those code inputs and keep getting this warning
     
     
     
    And I have nowhere near the amount of data to exceed the record limit. This is how I typed the code for both tries
     

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