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
    155,320 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard