cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Erikkoz
Frequent Visitor

Filter Query not working as expected with multiple AND's

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'

 

1 ACCEPTED SOLUTION

Accepted Solutions
Erikkoz
Frequent Visitor

Got the answer, the first two conditions are Yes/No. So they need to be changed to 0 and 1 

View solution in original post

3 REPLIES 3
ScottShearer
Super User
Super User

@Erikkoz 

Try removing the single quotes around true and false.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Just tried, same result is getting returned. 

Erikkoz
Frequent Visitor

Got the answer, the first two conditions are Yes/No. So they need to be changed to 0 and 1 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,132)