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 Platform Community / Forums / Power Automate / multiple conditions in...
Power Automate
Unanswered

multiple conditions in Filter Array error

(0) ShareShare
ReportReport
Posted on by 364

Hi all,

 

I have the following code in a Filter Array action, filtering an array variable called conbinedList. 

 

 

 

@Or(
equals(item()?['displayName'], 'All team - for information'),
equals(item()?['displayName'], 'Awaiting Reply'),
equals(item()?['displayName'], 'Contacted John Smith'),
equals(item()?['displayName'], 'In progress'),
equals(item()?['displayName'], 'Needs Resolving')
)

 

 

 

It keeps saying expressed is invalid when i try to press "Add". Any idea why?

Categories:
I have the same question (0)
  • EpicTriffid Profile Picture
    364 on at
    Re: multiple conditions in Filter Array error

    the initial "@or" is lower case in my code, by it just appears capitalised in the code above!

  • v-bofeng-msft Profile Picture
    on at
    Re: multiple conditions in Filter Array error

    Hi @EpicTriffid ,

     

    I've made a test but your formula worked well on myside , could you please show me your flow?

    vbofengmsft_1-1719394212076.png

     

    vbofengmsft_0-1719394188266.png

     

    Best Regards,
    Bof

     

  • EpicTriffid Profile Picture
    364 on at
    Re: multiple conditions in Filter Array error

    Hi @v-bofeng-msft 

     

    It's all a bit convoluted, but the below is the last few steps, where I've joined two arrays together into a new combined array called CombinedList:

    EpicTriffid_0-1719394476972.png

    my initial post was actually incorrect in that i want to filter OUT those values above from the combinedList variable created in "Initialize variable 1":

     

    EpicTriffid_1-1719394653711.png

     

  • v-bofeng-msft Profile Picture
    on at
    Re: multiple conditions in Filter Array error

    Hi @EpicTriffid ,

     

    Please copy and paste your formula directly into the red box I've marked.

    vbofengmsft_0-1719452740182.png

    vbofengmsft_1-1719452941079.png

     

    Best Regards,

    Bof

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard