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
Dual Super User
Dual 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
Dual Super User
Dual 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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,516)