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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter Array is not wo...
Power Automate
Unanswered

Filter Array is not working

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

I'm new to the power Automate and I think my need is quite easy but I don't know why the filter array is not working while the flow runs successfully, no error msg is popping up. Really need your helps!!!

 

I have a SharePoint list and I just want to receive those records which status is not equal to 'Closed' via email separately. But when I ran the flow, I got all the records, including Open and Closed.

SherryOu_1-1716972344857.png

When I ran the flow, here are the emails I received.

SherryOu_2-1716972420376.png

 

 

Categories:
  • Expiscornovus Profile Picture
    33,995 Most Valuable Professional on at

    Hi @SherryOu,


    Can you try Status Value is not equal to Closed instead of the Status does not contain Closed in your Filter Array?

     

    Also make sure you use the outputs of the Filter Array in your apply to each. Replace the value by the Body of the Filter Array.

  • SherryOu Profile Picture
    4 on at

    Thanks for your suggestion. But it doesn't work either. I received all the records as well.

    SherryOu_0-1716973037330.png

     

  • Expiscornovus Profile Picture
    33,995 Most Valuable Professional on at

    Hi @SherryOu,

     

    Can you remove the single quotes around the word Closed?

     

    Below is an example, if that helps.

     

    In the example the below expression is used for the Subject field.

     

    concat(item()['id'], ' ', item()?['Status/Value'])

     

     

     

    example_id_statusvalue.png 

  • SherryOu Profile Picture
    4 on at

    Yes, that works at the beginning, only showing the open ID!!

    However, when I'm drafting my email content, like including the date, summary and the created by info, the Dynamic content only has the data from "Get Items" section. so once I choose these data, the flow shows all the records again.

  • Expiscornovus Profile Picture
    33,995 Most Valuable Professional on at

    Hi @SherryOu,

     

    Yes, that's why I used expressions in my example. Because the fields are not listed in the Dynamic content list.

     

    To make it a bit easier you can also use the Filter Query field instead of the Filter Array action. With that setup you should still see/pick the fields from the Dynamic content list 😀

     

    The Filter Query field uses the below OData filter

    Status ne 'Closed'

     

    statusneclosed.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard