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 Function issues
Power Apps
Answered

Search Function issues

(0) ShareShare
ReportReport
Posted on by 237

 Hi, i just recently started using powerapps and I am hitting a wall with the search function. I've done a lot of research and I thought I was doing everything right, but I can't get these errors to go away, please help! 

 

I have a SP list called test of only 109 items and I am trying to search that list by using user input and then searching in the "title" column which I have confirmed is a single line of text column. The below screenshots show the gallery of the list and the search function formula I used, as well as the delegation error I get.  When I hover over the formula it also says "expected text value" Not sure if that will help 

 

bhanney2323_0-1593451913875.png 

bhanney2323_1-1593452120234.png

 

 

Update: 6/29/20 2:33pm 

bhanney2323_0-1593456395227.png

Here is the new error and the Location (Gallery2.Items) is where I put the formula 'Search(test, TextInput1.Text, "Title","Material")'

 

I was being dumb and I was putting the formula in the search bar and not the gallery under the items property. The searching capability works but I still am getting a triangle warning me about delegation issues? Should I be concerned? Like I said this specific dataset is well under 500 and 2000 records, so I'm not quite sure why this is even coming up. 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Is the code on the Items of the Gallery?

    You can GoTo File....Setting...Advance Setting and increase the delegation limit to 2000

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Pstork1 Profile Picture
    69,649 Most Valuable Professional on at

    Try putting your search inside an IF() that tests to see if anything is in the Search text box.  I think the error you are getting is because you are trying to search with an empty string.

  • bhanney2323 Profile Picture
    237 on at

    No the formula shown is in the search input function, the gallery is just pulling from the data source aka 'test' 

     

    Yes I have tried that and it does not work, like I said that limit shouldn't be a problem because the data set is only 109 rows

  • eka24 Profile Picture
    20,925 on at

    The formula should rather be on the Items of the Gallery.

    The idea is to pull data on the Gallery based on what is entered in the textbox

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • bhanney2323 Profile Picture
    237 on at

    Yes, thank you! I was being stupid and I was doing the opposite, but can you take a look at my updated post? Any ideas on why I am still getting a delegation error? 

  • eka24 Profile Picture
    20,925 on at

    The screenshot is not updated. Show the Gallery with the error

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • bhanney2323 Profile Picture
    237 on at

    Just updated the original post. Let me know if you need anything else form, me. 

     

    Thank you!

  • eka24 Profile Picture
    20,925 on at

    Want to see how the error is shown:

    Capture.JPG

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • bhanney2323 Profile Picture
    237 on at

    bhanney2323_0-1593457501792.png

    Here you go

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    The issue is with the Title. What type of column is it. Some datatype may not work with Search

    Try:

    Filter(test, StartsWith(Title, TextInput1.Text) Or StartsWith(Material, TextInput1.Text))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard