Power Automate Filter Query Operators: SharePoint, Dataverse and Excel Examples

Power Automate filter query operators are the OData keywords you type in the Filter Query box of actions such as SharePoint Get items: eq, ne, gt, ge, lt, le, and, or, plus functions like startswith and substringof. Which ones work depends on the connector.

Filtering on the server is much faster than pulling every item into the flow. In this tutorial, I’ll use a Contoso Products list to show each operator with a real result. You’ll also see what SharePoint, Dataverse and Excel each support, and the syntax mistakes that break a query.

Quick answer: Use Column eq 'value' for equals and Column ne 'value' for not equal. Use gt, ge, lt or le for numbers and dates, and join conditions with lowercase and or or. Put text and dates in single quotes, leave numbers unquoted, and use internal column names. SharePoint doesn’t support contains, endswith or not.

All filter query operators at a glance

OperatorMeaningExample
eqEqual toCategory eq 'Laptops'
neNot equal toCategory ne 'Accessories'
gtGreater thanPrice gt 500
geGreater than or equal toQuantity ge 25
ltLess thanPrice lt 100
leLess than or equal toQuantity le 10
andBoth conditions are trueCategory eq 'Monitors' and InStock eq 1
orEither condition is trueCategory eq 'Laptops' or Category eq 'Monitors'
startswith()Text starts with a valuestartswith(Title, 'Surface')
substringof()Text contains a value (SharePoint)substringof('Monitor', Title)

Watch the argument order: substringof() takes the search text first and the column second. For more filters on this action, including multiple conditions, see how to use the Get items filter query.

Which operators each connector supports

This is where most filters fail. The same text works in one connector and errors in another:

Operator or functionSharePoint Get itemsDataverse List rowsExcel List rows present in a table
eq, neYesYesYes
gt, ge, lt, leYesYesNo
and, orYesYesLimited (one filter function per column)
notNoYesNo
startswithYesYesYes
endswithNoYesYes
containsNo (use substringof)YesYes
substringofYesNoNo

Excel’s List rows present in a table also needs column names that contain only letters and numbers. In Dataverse, the box is called Filter rows and uses column logical names. For bulk Dataverse work, see how to update multiple rows in Dataverse.

The sample list

My examples use a SharePoint list called Contoso Products with a Title, a Category choice column, Price (currency), Quantity (number), In Stock (Yes/No) and Release Date:

SharePoint Contoso Products list with Category, Price, Quantity, In Stock and Release Date columns for filter query examples

Filter queries use the column’s internal name, not the display name. In Contoso Products, In Stock is InStock and Release Date is ReleaseDate. A column created as “Release Date” from the SharePoint UI would be Release_x0020_Date.

To check a name, open the column settings and read the Field= part of the URL. If you need to loop over the results afterward, see how to loop through SharePoint list items.

Example: not equal (ne) combined with and

Add Get items, pick the site and list, open Advanced parameters, and type this in Filter Query:

Category ne 'Accessories' and Price gt 500

I also set Order By to Price desc, so the most expensive product comes first.

Power Automate Get items action with Filter Query Category ne 'Accessories' and Price gt 500 and Order By Price desc

The flow returns four products: the three laptops and the UltraView 32 Monitor. Everything in Accessories is excluded, and so are the monitors under $500. I used a Select action to show only the product, category and price:

Power Automate Select raw output listing Surface Laptop 7, Surface Pro 11, Contoso Book 14 and UltraView 32 Monitor

Choice columns compare against the choice text, so Category eq 'Laptops' works directly. If a column might be empty, see the filter query if blank syntax for each column type.

More examples by column type

Column typeFilter Query
TextTitle eq 'USB-C Dock'
Text, starts withstartswith(Title, 'UltraView')
Text, containssubstringof('Monitor', Title)
Number or currencyPrice le 100 (no quotes)
Yes/NoInStock eq 1 (1 = Yes, 0 = No)
ChoiceCategory eq 'Monitors'
PersonOwner/EMail eq 'meganb@contoso.com'
LookupSupplier/Title eq 'Fabrikam'
Empty valueReleaseDate eq null (no quotes)

Group mixed conditions with parentheses so or doesn’t apply to the wrong part:

(Category eq 'Laptops' or Category eq 'Monitors') and InStock eq 1

Filter by date

Compare dates in ISO format, yyyy-MM-dd, inside single quotes. To find products released in the last 30 days, build the date with an expression. For other date formats, see how to format dates to ISO 8601.

ReleaseDate ge '@{formatDateTime(addDays(utcNow(), -30), 'yyyy-MM-dd')}'

Avoid eq on date columns. SharePoint stores a time as well, so ReleaseDate eq '2026-10-01' often matches nothing. Use a range for a single day instead:

ReleaseDate ge '2026-10-01' and ReleaseDate lt '2026-10-02'

What happens with an unsupported operator

SharePoint rejects functions it doesn’t know. When I changed the filter to endswith(Title, 'Monitor'), Get items failed with BadRequest and the message “The function operator ‘endswith’ is not supported or its usage is invalid.”

Power Automate Get items failed with BadRequest: The function operator 'endswith' is not supported or its usage is invalid

The workaround is to narrow the items with a supported filter first, then finish the job with Filter array, which does support endsWith(), contains() and not(). Here’s how to filter an array by string values.

Common mistakes

  • Wrapping the whole filter in double quotes. Type Price gt 500, not "Price gt 500".
  • Quoting numbers. Price gt '500' compares text; use Price gt 500.
  • Uppercase operators. Use and and eq, not AND or EQ.
  • Display names instead of internal names. Check the Field= value in the column settings URL.
  • Missing items in big lists. Get items returns 100 items by default. Raise Top Count or turn on Pagination in Settings. On lists over 5,000 items, filter on indexed columns, or the query can return nothing.

These Power Automate tutorials go deeper on filtering:

Frequently Asked Questions

How do I write not equal in a Power Automate filter query?

Use ne, for example Category ne ‘Accessories’. Text goes in single quotes, and numbers don’t.

Does SharePoint Get items support contains?

No. Use substringof(‘text’, Column) instead. Microsoft lists the supported and unsupported operators in the SharePoint REST OData query reference.

Why doesn’t endswith work in Get items?

SharePoint’s REST API doesn’t support endswith. Filter what you can on the server, then use a Filter array action with endsWith().

Can I use and and or together?

Yes. Use lowercase operators and parentheses, for example (Category eq ‘Laptops’ or Category eq ‘Monitors’) and InStock eq 1.

How do I filter a Yes/No column?

Compare it to 1 for Yes or 0 for No, for example InStock eq 1.

Why does my filter return only 100 items?

That’s the Get items default. Set Top Count or turn on Pagination in the action’s settings.