cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Delegate filter function with in operator

Hello,
I would like to delegate a filter function to a sharepoint list:
Filter(@SharepointList, TextBox.Text in 'Column1')
The "in" makes this indelegatable. Is there a workaround for this?
Using "StartsWith" won't cut it since the users might not always know the starting letters/digits...
Thank you in advance
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Delegate filter function with in operator

@GrafG 

StartsWith is the only workaround we have.  If you need SEARCH function capabilities that are not limited by delegation you must change datasource to SQL or the Common Data Service.

 

Here's a full list of delegable Sharepoint functions.

https://powerapps.microsoft.com/en-us/blog/sharepoint-delegation-improvements/

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Delegate filter function with in operator

@GrafG 

StartsWith is the only workaround we have.  If you need SEARCH function capabilities that are not limited by delegation you must change datasource to SQL or the Common Data Service.

 

Here's a full list of delegable Sharepoint functions.

https://powerapps.microsoft.com/en-us/blog/sharepoint-delegation-improvements/

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Super User
Super User

Re: Delegate filter function with in operator

Hi @GrafG ,

@mdevaney is correct that you cannot filter a SharePoint list using "in".  However, if you  create a collection from your list, you can filter it using "in" and there is theoretically no limit to the number of items in a collection.  There are several ways you can overcome the 2k limit on the Collect and ClearCollect functions.  One example is /How-can-i-manage-to-filter-more-than-2000-records .  All SharePoint lists have an ID column and you can use that to bring in chunks of data that can be added to a single collection. 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,990)