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

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
    789 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
    993 Moderator 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

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 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard