cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Highlighted
Dual Super User II
Dual Super User II

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
Highlighted
Dual Super User II
Dual Super User II

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,545)