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 Apps / power automate get ite...
Power Apps
Answered

power automate get item filter query

(0) ShareShare
ReportReport
Posted on by 349

I have a once a week power automate that simply needs to check 3 fields before sending an email.  

Status eq 'Approved' and Reval_x0020_Process_x0020_done ne 'Yes' and Revalidation_x0020_Required eq 'Y'

 

This is my filter query and it appears to be only seeing the first part of it and sending the email for all that are status eq 'approved'.

 

What is wrong with my syntax?

Categories:
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Are you dealing with a SharePoint list as a datasource in your case?

    You'll see more examples on the Power Automate side of the community, but if you are dealing with a Yes/No boolean column from SharePoint, the filter query does not use the string 'Yes'. Instead, try something like: Reval_x0020_Process_x0020_done ne 1

     

    If you are accessing single line of text columns, then you would use the string syntax.

    Hope that helps,

    Bryan

  • dmclaughlin Profile Picture
    349 on at

    So Status is text, Reval process done is text.  Revalidation required is a choice.

    So I tried this.. wont work.  Ideas?  

     

    Status eq 'Approved'  and Reval_x0020_Process_x0020_done ne 'Yes' and Revalidation_x0020_Required eq 1

  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    To clarify is Revalidation_x0020_Required a Yes/No or a Choice column?

    If it is a Yes/No column, use Revalidation_x0020_Required eq 1

    If it is a Choice column, use Revalidation_x0020_Required eq 'insert choice value'

     

    When troubleshooting multiple conditions, I find it handy to test one at a time to make sure that piece is working before I put them all together with logical operators.

     

    Bryan

  • dmclaughlin Profile Picture
    349 on at

    so yes I've tried just having 1 filter.. Status eq 'Approved'  and that works perfect.  If I add 1 more statement no matter which I choose it fails.  Both Status and Reval Process done are TEXT.   As soon as I add just that one more check it gets no records.  Status eq 'Approved'  and Reval_x0020_Process_x0020_done ne 'Yes'.

    And in sharepoint list I can see out of 400 approved 300 have reval = Yes so I should be getting just 100.  I get nothing.  

    I"ve wasted hours today trying variations 

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 Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard