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 / Search statement synta...
Power Apps
Answered

Search statement syntax for filtering using partial string

(1) ShareShare
ReportReport
Posted on by 107
How can I change this statement in the Items property of my Records gallery to filter using a partial string? I am using an SP list with over 2000 records so I would need method that supports delegation to SP. 
 
If(SearchInput1.Text="",Table_Dies_1,Filter(Table_Dies_1,product=SearchInput1.Text))
 
this statement works but the user has to key in the exact spelling of the product to get a result. 
 
for example if text value of product in records is '123 widget 1' right now they have to type the whole 123 widget 1 string to get
a filtered result
 
I would like to simply type '123' and get all similar results.  The convention of all our products is basically "### Words" 
 
it would be a bonus if they could key into searchinput1 field either the "###" or "words" part of the string and filter all records 
have the matching string portions.
 
I did find this post below, but i was hoping there was a less Fx code intensive solution maybe? 
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at
    The best you are going to do with Delegation support directly in Power Apps would be (so 123 would work)
    Filter(
       Table_Dies_1,
       Len(SearchInput1.Text) = 0 ||
       StartsWith(
          product,
          SearchInput1.Text
       )
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • CP-23071818-0 Profile Picture
    107 on at
    Works like a charm thank you! I also tried to add || Endswith but that apparently does not support delagation but this will be better then scrolling the entire list. 

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

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard