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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Why does my filter get...
Power Automate
Answered

Why does my filter get no results?

(0) ShareShare
ReportReport
Posted on by

I've set up this filter in my get items

CompletedDate ge '@{addDays(utcNow(),-10,'yyyy-MM-dd')}' and OData__x0033_MonthCheck_x003f_ eq 'true'

(tried without quotes on the true part as well)

 

CompletedDate ge '@{addDays(utcNow(),-10,'yyyy-MM-dd')}' - this part of the query works and get the 2 results, good.

 

Here is where I have the problem 

and OData__x0033_MonthCheck_x003f_ eq 'true'

 

So in my SP List I have a Yes/No column for 3 month check.

When I remove this part of the filter and run I see this as the output.

"OData__x0033_MonthCheck_x003f_":true, 

 So why when I put in the Boolean check I get no results. 

 

Not sure this has anything to do with it but the items in this list get created from another flow this SP list is basically an archive of completed jobs.

 

What's also strange is if I set it to 'false' I also get no results. 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Sorted it myself...

     

    So incase anyone else hits same problem. Needed to change the filter to the following.

     

    OData__x0033_MonthCheck_x003f_ eq '1' 

     

    Seems it checks for 1 / 0 rather than true / false

  • v-LilyW-msft Profile Picture
    on at

    Hi @Anonymous 

    Thanks for your posting here and sharing the solution in the forum as it would be helpful to anyone who encounters similar issues.

    Yes, while SharePoint is displaying the values as ‘Yes’ or ‘No’ to the users, and as ‘true’ or ‘false’ on the background, to make a working filter query on Yes/No (boolean) column in Power Automate Get items action we need to use numbers, Yes = 1, No = 0.

    Best Regards.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard