cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Is there a creative way to write an "in" statement that is delegable?

I am looking for a single basic filter/search or whatever that would get me a list based on the text string given to be "in" or "contained" with in a column.

 

Data Source: Sharepoint List

 

Statements that work, but delegable:

 

image.png

It underlines "Title" in blue.  Is there another way to do this?

image.png

I know using "in" is not delegable, that is what led me to "search".  My sharepoint list is over 2,000 items.  I believe I need delegable statements to have this work properly.

 

Any other creative ways?

 

Unfortunately, I am unable to use Startswith() for this one.  I think that one works... but I need search throughout the string.

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Is there a creative way to write an "in" statement that is delegable?

Hi @martinav,

 

May I know the reason why you need to use in instead of StartsWith? You can use the in function to find a string in a data source, such as a collection or an imported table. The in operator identifies matches regardless of case. The StartsWith function tests whether one text string begins with another. So did you mean that your search string would not be one text string begins with another? 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Is there a creative way to write an "in" statement that is delegable?

Hello @v-monli-msft,

 

Thank you for your reply.  Unless I understand it incorrectly, where I use "in" I need to search the entire text for the search criteria.  An example:

 

Title="ADJUSTMENT SCREW ASSEMBLY"

 

I need this to return when I do a search for "SCREW".  I do not believe StartsWith() will do that.

 

Correct?

 

Thank you.

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
Users Online
Currently online: 262 members 5,816 guests
Recent signins:
Please welcome our newest community members: