cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sdresche
Level: Powered On

Delegation Warning When Using "in" for Filter on Gallery

I have a list of values in a gallery that I want to filter based on a text box.

 

On start I assign the value to "" using 

 

Set(val,"")

And then whenever the text box changes I reassign val to the new value using the "On Changed" field under the advanced settings of the text box. 

 

Set(val,TB1.Text)

Under the items property of the gallery I use the equation

 

Filter(Table, val in 'Value Column')

I get a delegation warning on the "in", and if I set it to "=" instead the warning goes away. I'd like to be able to search the column for any values that contain my search string. Is there a better way of doing this to avoid the warning?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Delegation Warning When Using "in" for Filter on Gallery

Unfortunately, In is not a delegable operator as far as SharePoint is concerned.  The closest you can come would be StartsWith().  That is delegable, but requires that the match be at the front of the string.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Super User
Super User

Re: Delegation Warning When Using "in" for Filter on Gallery

Unfortunately, In is not a delegable operator as far as SharePoint is concerned.  The closest you can come would be StartsWith().  That is delegable, but requires that the match be at the front of the string.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 59 members 3,068 guests
Please welcome our newest community members: