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 / Powerapps search filte...
Power Apps
Unanswered

Powerapps search filter with 50k items

(0) ShareShare
ReportReport
Posted on by 7

Good day,

I am building a powerapps from a SharePoint list that contains 50k items. My goal is to make a searchable powerapp so that when the user searches for a name it will pull all the names matching the text. First, i was having issues with the SharePoint list since it was 50k items. I indexed the column I will b referencing in powerapps. This is the search formula i am using: 

 

Filter(AddColumns('MG Customer Database (Sends/Receives)',"present",Sum(ForAll(Split(Lower(TextSearchBox1.Text)," "),If(IsBlank(Find(Result,Lower(Receiver_x2019_sFirstName))) And IsBlank(Find(Result,Lower(Receiver_x2019_sFirstName))),0,1)),Value)),present=CountRows(Split(TextSearchBox1.Text," ")))

 

This however is only searching items in the 2,000 limit. Is there a way I can modify this formula to help me achieve what I need. You help will be very much appreciated. see my SharePoint list below.2019-07-24_14-03-36.jpg

 

Categories:
  • leyburn19 Profile Picture
    2,157 on at

    I have a search on a gallery where the SP list is over 40k and performs brilliantly as there are no delegation issues.

     

    My search is done on three dropdowns and three textinputs.  What I do is with the dropdowns have the value popolate hidden labels and with the text boxes just use them directly. Two of the textboxes are based on Numeric,  where the data entry is unique so they are searched only on their values. The Dropdowns and last text box allow for multiple column searches. My Gallery Filter is simple:

     

    If(isNumeric(TextInput1.Text),

    Filter(Source,ID=Value(TextInput1.Text)),

    If(isNumeric(TextInput2.Text),

    Filter(Source,ID2=Value(TextInput2.Text)),

    Filter(Source,StartsWith(ColumnInSource,Label1.Text) And StartsWith(ColumnInSource,Label2.Text) And StartsWith(ColumnInSource,Label3.Text) And StartsWith(ColumnInSource.TextInput3.Text)))

     

    So the above,  If one of the textinputs are populated wth a number,  does them first then looks at the dropdowns.

     

    I make the dropdowns more efficient by having an "ALL" and the first selection and then I make the text for the label to be:  If(Dropdown?.Selected.Value="All","",Dropdown?.Selected.Value)  This makes the Label blank so the StartsWith in teh filter shows all.  It also means I can filter based on one or all of the dropdowns.  Hope that makes sense

     

    Note the third textinput is used in the search with the dropdowns.  If that was a surname search,   it will find only surnames etc if the the dropdowns are all set to "ALL"

     

    My search results and nearly instant,  

     

  • llisbey Profile Picture
    7 on at

    @leyburn19 thank you very much for sharing your example. I will definitely look into this and see how I can modify it to suit my needs. Will let you know of the outcome. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard