Announcements
With( { _Data: Filter( SPListName, Status = "Active" ) }, Search( _Data, YourSearchBox.Text, YourFieldNameToBeSearched ) )
Filter( SPListName, StartsWith( YourFieldNameToBeSearched, YourSearchBox.Text ) )
Best practices: • Use delegable Filter() conditions first • Apply Search() only on a smaller filtered dataset • Prefer StartsWith() instead of Search() for better delegation • Index SharePoint columns used in filters/search • Keep Data Row Limit high enough for expected filtered results
Example: Filter( MyList, StartsWith(Title, txtSearch.Text) )
Or for multiple columns: Filter( MyList, StartsWith(Title, txtSearch.Text) || StartsWith(Description, txtSearch.Text) )
You can also use With() to first create a delegable filtered dataset and then apply Search() locally.
Hi,
Search() is not delegable in SharePoint, so for large lists it is better to minimize or avoid it.
Recommended approach: • Use delegable Filter() first • Then apply Search() locally on the smaller dataset • Prefer StartsWith() for better delegation support • Index columns used in filtering/searching
Example using StartsWith(): Filter( MyList, StartsWith(Title, txtSearch.Text) && Status = "Active" )
Alternative method using With(): With( { _Data: Filter(MyList, Status = "Active") }, Search(_Data, txtSearch.Text, Title) )
Best practice: • Keep the filtered dataset below delegation limits • Use Dataverse or SQL if advanced searching is required at scale
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290