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 : mEAKbLHsJYvQmyNcwu9nwc
Power Automate - Building Flows
Answered

Filter Query not working as expected with multiple AND conditions

Like (0) ShareShare
ReportReport
Posted on 19 Jul 2021 20:34:56 by

The filter query in this flow doesn't appear to be working as expected. I know for certain that the items it emails out afterwards have the first two toggles set to false. Is there something in the syntax that I'm missing? Or possibly in the date/time comparisons? This is my first dive into Power Automate, and its with someone elses flow. So any insight is greatly appreciated.

 

FilterQuery1.png

 

This is an example of what it looks like after running, and getting items where Confirmed = false.

Thank_x0020_You_x0020_Sent eq 'false' and Confirmed eq 'true' and EventDate lt '2021-07-20T00:00:00.0000000' and EventDate ge '2021-07-19'

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 20 Jul 2021 at 15:14:05
    Re: Filter Query not working as expected with multiple AND conditions

    I don't know how that slipped past me. Thank you! 

  • Verified answer
    tom_riha Profile Picture
    10,149 Most Valuable Professional on 19 Jul 2021 at 21:18:17
    Re: Filter Query not working as expected with multiple AND conditions

    Hello @Anonymous ,

    if the first two columns are Yes/No columns then you should compare them with 0 (for false) and 1 (for true) in the condition. 

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…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 954 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 650 Moderator

#3
trice602 Profile Picture

trice602 327 Super User 2025 Season 2

Last 30 days Overall leaderboard