web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Contains in power automate

(0) ShareShare
ReportReport
Posted on by

Dear community,

I have a filter expression in get items action. I have now added a new field in the form and also in the list that is querying the same columns mentioned below. I now have to check NewField in the filter. The field is multiple selection choice field. How can this be achieved? Do I need to select contains so that it will filter with additional field.

 

  (Channel/Title eq '@{triggerOutputs()?['body/Channel']}') and ((ClaimType/Title eq '@{triggerOutputs()?['body/ClaimType']}') or (SubClaimType eq '@{triggerOutputs()?['body/SubClaimType']}')) and (RequestType eq '@{triggerOutputs()?['body/RequestType']}')  

I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Contains in power automate

    Hello @Vaibhav_k ,

    the OData Filter Query doesn't support contains operator. The only way to do it is keep the filter as it is in the 'Get items' and add another action 'Filter array' where you add this 'contains' operator to further filter the item returned by the incomplete filter from 'Get items'.

  • Vaibhav_k Profile Picture
    on at
    Re: Contains in power automate

    @tom_riha, I have used additional eq operator that picks up matching item  and also changed the selection from multiselect to single select. However, there could be scenarios for old items where this new field is not defined. In this case it should pick up the items by old logic without this additional filter. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard