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 not filte...
Power Automate
Suggested Answer

Filter Array not filtering

(0) ShareShare
ReportReport
Posted on by 2
Hi There,
 
I am trying to filter out by a choice column if the choice is either Won, or Lost, then using apply to each to send an email to the person that is assigned that opportunity.
 
The choice column name is "Status" but the actual name in Microsoft list is field_7

Screen Shot:
 
 
 
 
Here is a screen shot of the get items (which i know works because without filter array it just outputs all oppertunites to each account manager
 
 
Finally here is the apply to each with send an email (V2)
 
What am i missing,  why wont the filter array filter our Won or Lost opportunities?
Categories:
  • Suggested answer
    Ellis Karim Profile Picture
    12,377 Super User 2026 Season 2 on at
     
    Please try the following:
     
     
     
    @and(not(equals(item()?['field_7/Value'], 'Won')), not(equals(item()?['field_7/Value'], 'Lost')))
     
     
    field_7 is a choice column and is structured like this:
    {
        "field_7": {
            "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
            "Id": 2,
            "Value": "Won"
        }
    ...
    }
    
     
     
     
    Alternatively, turn off experimental settings, then edit the Get items action and add the following filter query:
    field_7 ne 'Won' and field_7 ne 'Lost'
     
     
     
     
     
     
    Ellis
  • AW-28111537-0 Profile Picture
    2 on at
    ,I tried the new filter array and it still will not filter out Won or Lost
    Screen Shot: 
     
    The second method i'm not sure how to work as I already have a filter query set for field_10 so that it reminds the account manager 7 days before expected close date of the opportunity
     
    Screen shot:
     
    I keep scratching my head on this one, just cant seem to figure it out.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard