I was asked how to filter a “Yes/No” column in SharePoint using the “Get items” action in Power Automate, so here are my notes.
Objective
This is about how to filter a SharePoint list in Power Automate when it contains a “Yes/No” (Boolean) column like in the image below.


Filtering with true or false Does Not Work
Since the “Yes/No” column seems to behave like a Boolean, you might try to filter using true or false. However, this doesn’t work as expected.
For example, if you try to filter the SharePoint list above using false,


it looks like the filter is working properly,


but if you filter with true,


you get the same results.


How to Build: Filter Using 0 or 1
If you want to filter a “Yes/No” column in a SharePoint list, use the integer values 0 or 1 in your filter query.
For example, if you want to list only the rows where the “Yes/No” column is “Yes,” write your filter query using 1 as shown below:


This will filter only the rows where the Yes/No column is “Yes”:


Similarly, if you filter with 0, you’ll get only the rows where the value is “No”:


Bonus: Filtering for “Not Equal”
If you want to filter for anything except “Yes,” you can use “ne 1” in your filter formula, as shown in the image below:


This will filter out all rows except those with “Yes”:


For more details about writing filter queries, check out this article:


Complete Guide to OData Operators in Power Automate: Filtering SharePoint List Items
When setting up filter queries in Power Automate's "Get Items" action, you need to specify them using OData filter query...
Related Articles

Power Automate: Date Filtering in SharePoint Lists - Complete Guide with Examples
Let me share my notes on how to filter SharePoint Online list items using "Date and Time" columns, as I often need to re...

Complete Guide to OData Operators in Power Automate: Filtering SharePoint List Items
When setting up filter queries in Power Automate's "Get Items" action, you need to specify them using OData filter query...

A Deep Dive into Power Automate Excel Filter Queries: Filtering Greater Than, Less Than, and Removing Blank Rows
I discovered that the "greater than or equal to" (ge) and "less than or equal to" (le) operators cannot be used in Excel...
コメント