cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User III
Super User III

@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
Super User III
Super User III

@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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (54,153)