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

Filter OData query with not contains

Hi, I would like to filter my 'Get Items' function with a "Does not contain" type of filter but I am unsure of the syntax. Can somebody please assist me with the correct syntax?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Solved this one by using the filter array action after the get items function

View solution in original post

3 REPLIES 3
mahoneypat
Solution Sage
Solution Sage

You can use substringof in the Filter Query of your Get Items action, but it looks like you can't do the "not" version of that.  This post shows another way to do it.

Solved: Syntax for ODATA filter substringof to not contain... - Power Platform Community (microsoft....

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Solved this one by using the filter array action after the get items function

TokeJacobsen
Helper I
Helper I

Apparently, it is now possible to do not()-notation (know from workflow definition language, you do expressions in) to reverse a contains statement:

TokeJacobsen_0-1670014437722.png

 

 

@mahoneypat 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,767)