web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sharepoint List Search...
Power Apps
Unanswered

Sharepoint List Search Function

(0) ShareShare
ReportReport
Posted on by

I have read many articeles but lloking for current information on "Search" function in SharePoint List (43,000) items.

 

I currently use the Filter Function.

Filter(draft_brandmaster,StartsWith(Supplier_Name,TextInput6.Text))

This is working fine on returning records. 

 

I was wondering if the "Search" function for SharePoint Lists will work the same as a "Contains" or "IN"  and still be ok with delegation issues in SharePoint 365 , office 365.

 

Dave Powell

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    Search is not delegatable in SharePoint. Neither is “in” .  I believe Filter and StartsWith are your best bet unless you move to Sql or CDS.

  • v-yutliu-msft Profile Picture
    on at

    Hi @Anonymous ,

    Do you want to avoid the effect of delegation by using "in" instead of "StartsWith" in your formula?

    Firstly, I'm afraid "in" is not delegable in sharepoint list.

    Search() function is not delegable in sharepoint list neither.

    So if you replace startswith() with "in" or replace Filter() with Search(), you will both be affected by delegation problem.

    Here's a list about the delegate functions of sharepoint list:

    3101.PNG

     

    Here are some alternative solutions for your reference:

    1)"=" is delegate in sharepoint list.

    So you could use this formula which will not meet delegation problem:

    Filter(draft_brandmaster,Supplier_Name=TextInput6.Text)

     2)save your list data in collection.

    You will not have delegation problem in collection.

    ClearCollect(collection1,draft_brandmaster);
    Filter(collection1,TextInput6.Text in Supplier_Name)

    If your collection has meet its max limit, you could save your list data to several collections. Then filter them one by one.

    For example:

    ClearCollect(collection1,Filter(draft_brandmaster,ID<=10000));
    ClearCollect(collection2,Filter(draft_brandmaster,ID<=20000,ID>10000));
    ClearCollect(collection3,Filter(draft_brandmaster,ID<=30000,ID>20000));
    ClearCollect(collection4,Filter(draft_brandmaster,ID<=40000,ID>30000));
    ClearCollect(collection5,Filter(draft_brandmaster,ID<=50000,ID>40000));
    ClearCollect(filtered data, 
    Filter(collection1,TextInput6.Text in Supplier_Name),
    Filter(collection2,TextInput6.Text in Supplier_Name),
    Filter(collection3,TextInput6.Text in Supplier_Name),
    Filter(collection4,TextInput6.Text in Supplier_Name),
    Filter(collection5,TextInput6.Text in Supplier_Name))
    
    

     

     

     

    Best regards,

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    There is another option if your list is being used for a look up only and not requiring editing.  You can convert it to an Excel table and bring it in as a static Excel datasource.  I have an example that I use for zip codes (also about 43,000 items). Automatically-Prefill-City-and-State-using-Zip-Codes-in-your-App 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard