A Power Automate flow can run successfully and still produce the wrong result.
One of the most frustrating examples happens when you use SharePoint’s Get items action with an OData Filter Query. You know that matching records exist in your SharePoint list, but the action returns an empty array, retrieves unexpected items, or fails with an invalid filter expression error.
Sometimes the same query works with one column but fails when you add a second condition. In other cases, it stops working after someone renames a SharePoint column or the list grows beyond several thousand items.
If your Power Automate Get items filter query is not working, the underlying cause is usually a mismatch between the filter syntax, SharePoint column metadata, data types, or query limits.
This troubleshooting guide covers 12 practical fixes, including working OData examples for text, numbers, Choice columns, Yes/No values, dates, lookup columns, dynamic content, and large SharePoint lists.
You’ll also build a small example flow to identify the exact point of failure.
Quick Answer: Why Is Get Items Filter Query Not Working?
Start by identifying the symptom.
| Symptom | Likely issue | First fix to try |
|---|---|---|
| Invalid filter expression | Incorrect OData syntax | Fix 5 |
| Property does not exist | Wrong internal column name | Fix 4 |
| Empty array despite matching records | Field value, type, or pagination | Fixes 3, 6–11 |
| Text filter returns unexpected results | Missing quotes or incorrect operator | Fix 5 |
| Choice column filter fails | Single-choice vs. multi-choice mismatch | Fix 6 |
| Yes/No column doesn’t filter correctly | Boolean representation | Fix 7 |
| Date filter returns the wrong period | UTC or date formatting | Fix 9 |
| Lookup or Person filter fails | Complex column structure | Fix 8 |
| Dynamic text breaks the query | Apostrophes or malformed expressions | Fix 10 |
| Results stop around 100 records | Default retrieval behavior | Fix 11 |
| Large list returns missing matches | Pagination or list-view threshold | Fix 11 |
| Apply to each runs zero times | Empty array or wrong output reference | Fix 12 |
Microsoft’s official SharePoint Get items guidance explains several important limits and supported filtering patterns.
How the Get Items Filter Query Works
The Get items action retrieves records from a SharePoint list.
You can add an OData Filter Query to restrict the records returned by SharePoint.
For example:
Status eq 'Open'
This requests items where the Status column equals Open.
A more specific filter might look like:
Status eq 'Open' and Priority eq 'High'
Both conditions must be true.
Another example:
Amount gt 1000
This retrieves items whose numeric Amount column is greater than 1,000.
OData Filtering vs. Filter Array
These two Power Automate features are different.
OData Filter Query: Filters items through the data source before delivering the result to your flow.
Filter array: Filters an array already available inside Power Automate.
Server-side filtering is generally preferable when working with large lists because it can reduce the number of records transferred and processed.
However, complex column types sometimes require additional processing with Filter array.
Before Troubleshooting: Create a Small Test List
Using a dedicated sample list makes it easier to identify the actual issue.
Create a SharePoint list named:
Automation Test Requests
Add these columns:
| Column | Type |
|---|---|
| Title | Single line of text |
| Status | Choice, single selection |
| Priority | Choice, single selection |
| Amount | Number |
| Approved | Yes/No |
| DueDate | Date and Time |
For the Status column, add:
- Open
- In Progress
- Closed
For Priority, add:
- High
- Medium
- Low
Add Sample Records
| Title | Status | Priority | Amount | Approved |
|---|---|---|---|---|
| Request A | Open | High | 1500 | Yes |
| Request B | Closed | Low | 400 | No |
| Request C | Open | Medium | 800 | No |
| Request D | In Progress | High | 2200 | Yes |
| Request E | Open | High | 3000 | Yes |
These are fictional records.
We’ll use them to test filters throughout this guide.
Fix 1: Confirm That You’re Using the Right SharePoint Action
Power Automate has several SharePoint actions with similar names.
Choosing the wrong one can make troubleshooting unnecessarily complicated.
Get Items
Use Get items when retrieving records from a SharePoint list.
Examples include:
- Customer request lists.
- Inventory lists.
- Approval tracking lists.
- Project status lists.
- Support ticket lists.
Get Files (Properties Only)
Use Get files (properties only) when retrieving metadata about files in a SharePoint document library.
These actions support similar filtering features but operate on different types of SharePoint content.
How to Fix It
Open your flow.
Check the action name and its configured List Name or Library Name.
If you’re working with a document library, verify that you selected the appropriate file action rather than assuming Get items provides the behavior you need.
The Microsoft SharePoint connector reference documents the supported actions and their parameters.
Fix 2: Verify the Site, List, and Connection
Before blaming the OData expression, make sure the action reads from the correct SharePoint location.
Check These Settings
- Site Address
- List Name
- SharePoint connection
- Account permissions
- Target environment
A user might have several SharePoint sites with similarly named lists.
For example:
https://contoso.sharepoint.com/sites/Operations
and:
https://contoso.sharepoint.com/sites/Projects
Both sites could contain a Requests list.
If Get items is connected to the wrong site, a valid filter may return no matching records.
Run a Basic Connection Test
Open Get items.
Temporarily clear the Filter Query.
Set Top Count to a small value, such as:
5
Save and run the flow against your fictional test data.
Open the action in the run history.
Check whether records appear in the Outputs section.
Interpret the Result
Records appear: The basic connection works. Continue to the filter syntax.
No records appear: Check the selected list, permissions, and whether the list contains accessible records.
The action fails: Read the specific error before changing the filter.
If the flow doesn’t start at all, that’s a different problem. Our Power Automate flow not triggering troubleshooting guide covers trigger conditions, connection issues, and disabled flows.
Fix 3: Test Your Query With a Known Matching Record
Never start troubleshooting with a complicated expression containing multiple conditions.
Use a filter that should return one obvious result.
From our sample list, Request A has the Title:
Request A
Enter:
Title eq 'Request A'
Run the flow.
Expected Result
The output should contain the record with Title equal to Request A.
If the query works, you’ve established that:
- SharePoint is responding.
- The Get items action is connected.
- The Title property is accessible.
- Basic OData filtering works.
Now test another field.
For example:
Amount gt 1000
This should return Request A, Request D, and Request E.
Why This Test Matters
A simple query helps distinguish a syntax problem from a permission or data-source problem.
If a simple Title filter succeeds but a custom column filter fails, the custom column’s internal name or type becomes the main suspect.
Fix 4: Use the SharePoint Internal Column Name
This is one of the most common causes of invalid filter expressions.
SharePoint columns have an internal name that may differ from the display name.
Example
Suppose you create a column named:
Project Status
SharePoint may assign an internal name such as:
Project_x0020_Status
Later, you rename its display name to:
Approval Status
The internal name may remain unchanged.
Incorrect Filter
Approval Status eq 'Open'
This can fail because it uses the display name containing a space rather than the actual property name.
Correct Filter
If the internal name is Project_x0020_Status, use:
Project_x0020_Status eq 'Open'
How to Find the Internal Column Name
- Open the SharePoint list.
- Select Settings → List settings.
- Under Columns, select the relevant column.
- Inspect the browser’s address bar.
- Find the value following
Field=.
For example:
Field=Project_x0020_Status
That value identifies the internal column name.
Depending on the column type and connector behavior, the corresponding API property name may require special handling.
Why Spaces Are Important
SharePoint commonly encodes a space in an internal field name as:
_x0020_
Microsoft’s Get items documentation includes examples of these encoded names.
Important: Don’t manually convert the current display name and assume the result is correct. Always inspect the actual internal name.
Fix 5: Correct Your OData Operators and Quotation Marks
Get items does not accept ordinary spreadsheet-style formulas in the Filter Query field.
Incorrect Examples
Status = Open
Amount > 1000
Status == 'Open'
Correct Examples
Status eq 'Open'
Amount gt 1000
Common OData Comparison Operators
| Operator | Meaning | Example |
|---|---|---|
eq |
Equal to | Status eq 'Open' |
ne |
Not equal to | Status ne 'Closed' |
gt |
Greater than | Amount gt 1000 |
ge |
Greater than or equal to | Amount ge 1000 |
lt |
Less than | Amount lt 1000 |
le |
Less than or equal to | Amount le 1000 |
Text Values Need Quotes
For a text column, use single quotation marks:
Title eq 'Request A'
Numeric Values Should Not Be Quoted
For a numeric Amount column:
Amount eq 1500
Avoid:
Amount eq '1500'
The second example uses a string literal instead of a numeric literal.
Don’t Include the Entire URL Query
When using the Get items Filter Query field, enter:
Status eq 'Open'
Do not enter:
$filter=Status eq 'Open'
The connector handles the request parameter.
Avoid Unsupported Functions
The SharePoint connector documents a specific set of supported query operations.
Don’t assume that a function supported by Dataverse or Microsoft Graph is also supported by the SharePoint Get items action.
Fix 6: Handle SharePoint Choice Columns Correctly
Choice columns introduce another frequent source of confusion.
SharePoint supports both single-selection and multiple-selection Choice fields.
They don’t always behave identically in OData filters.
Single-Choice Example
Suppose Status is a single-choice column containing:
- Open
- In Progress
- Closed
Use:
Status eq 'Open'
To exclude Closed items:
Status ne 'Closed'
Filter Multiple Values
To return Open or In Progress records:
Status eq 'Open' or Status eq 'In Progress'
To exclude both Closed and In Progress:
Status ne 'Closed' and Status ne 'In Progress'
Notice that the column comparison must be repeated for each value.
Common Mistake
Incorrect:
Status ne 'Closed' or 'In Progress'
Correct:
Status ne 'Closed' and Status ne 'In Progress'
The correct operator depends on whether you want to include either condition or require both conditions.
Multi-Select Choice Columns
A column configured to allow multiple selections may return a collection rather than a simple string.
Don’t automatically apply the single-choice pattern to a multi-select column.
If the server-side query doesn’t support the required comparison, retrieve a suitably restricted group of records and then use Filter array.
Inspect the actual output structure before creating the expression.
Microsoft’s Power Automate expression cookbook includes examples of filtering arrays.
Practical Tip
For lists designed primarily around automation, use single-choice columns when each record should have only one workflow status.
Multi-select fields are useful for other purposes, but they can introduce additional filtering complexity.
Fix 7: Fix Yes/No Boolean Column Filters
A SharePoint Yes/No column may expose its value differently from a text or Choice column.
For the Approved field in our sample list, try:
Approved eq 1
This is a commonly supported pattern for retrieving Yes records.
To retrieve No records:
Approved eq 0
Why Doesn’t “Yes” Work?
The actual stored value isn’t the text Yes or No.
A filter such as:
Approved eq 'Yes'
compares the column against an inappropriate text value.
What About True and False?
Depending on the action, service, and field behavior, examples may use Boolean literals.
However, for SharePoint Get items, using 1 and 0 is a practical troubleshooting pattern for Yes/No fields.
The distinction matters because the underlying representation can differ between SharePoint, Dataverse, and other Microsoft connectors.
How to Verify the Field
Clear the Filter Query.
Retrieve one known record.
Inspect its JSON output to see how Approved is represented.
Then test the relevant filter against a known Yes record and a known No record.
Important Limitation
Blank values, explicitly selected No values, and unset metadata may not always behave the same way.
If the records are stored in a document library, inspect the field data before relying on a No filter for business-critical decisions.
Fix 8: Correct Lookup and Person Column Filters
Lookup and Person fields reference other SharePoint entities.
They aren’t always simple strings.
Lookup Example
Suppose a Requests list contains a single-value lookup column named:
Customer
The referenced list contains a Title field.
Microsoft documents lookup filtering patterns such as:
Customer/Title eq 'Northwind'
This compares the referenced Title property.
Internal Names Still Matter
If the lookup column’s internal name differs from Customer, use the actual name.
Person or Group Columns
Person fields can include properties such as an ID, display name, and email address.
However, the exact query syntax can differ by field configuration and connector behavior.
For person-based filters, first inspect the record returned by Get items.
Determine which properties the connector exposes.
If an appropriate server-side comparison is supported, use that documented property.
Otherwise, filter a smaller result set inside Power Automate.
Multi-Person Columns
Columns allowing multiple people require special care.
A collection of users cannot always be compared directly to one email address using an ordinary string filter.
Avoid Guessing
Don’t assume:
AssignedTo eq 'alex@example.com'
will work simply because AssignedTo displays a person’s name in SharePoint.
Review the actual field type and available properties.
Fix 9: Fix Date and Time Filter Problems
Date filtering is another common source of unexpected results.
SharePoint often stores date-time values in a form that requires careful timezone handling.
Example: Filter Recently Created Items
A fixed timestamp filter might look like:
Created ge '2026-10-01T00:00:00Z'
This requests items created at or after the specified UTC timestamp.
Why UTC Matters
The Z suffix indicates UTC.
If your intended reporting period uses a US timezone, midnight local time may not equal midnight UTC.
For example, a flow comparing records from a New York business day should account for the relevant daylight-saving offset.
Use a Test Record First
Create a fictional record with a known timestamp.
Test whether a fixed filter includes or excludes that record as expected.
Only after the fixed query works should you introduce dynamic date expressions.
Dynamic Date Expressions
Power Automate supports functions such as:
utcNow()
addDays()
formatDateTime()
For example, the expression:
formatDateTime(addDays(utcNow(), -7), 'yyyy-MM-ddTHH:mm:ssZ')
generates a UTC timestamp representing approximately seven days earlier.
You can insert that expression into a date comparison using the Power Automate expression editor.
Ensure the resulting Filter Query contains a valid timestamp rather than the literal expression text.
Common Date Mistakes
- Filtering a Date and Time field as though it contains only a date.
- Ignoring UTC conversion.
- Using the wrong internal column name.
- Comparing against incorrectly formatted strings.
- Accidentally using the wrong comparison operator.
Recommended Approach
First test a fixed UTC timestamp.
Then test a dynamically generated timestamp.
Compare the resulting values in run history.
This method is much easier to debug than changing the entire flow at once.
Fix 10: Escape Apostrophes in Dynamic Filter Values
Dynamic content can introduce characters that break an otherwise valid OData query.
A common example is a customer’s name containing an apostrophe.
Suppose you want to filter the Title column for:
O'Brien Services
This query is incorrect:
Title eq 'O'Brien Services'
The apostrophe inside the name interrupts the string literal.
Correct OData String
Escape the internal apostrophe by doubling it:
Title eq 'O''Brien Services'
What About Dynamic Content?
If the filter value comes from a form, another list, or a trigger, you cannot assume that every string is already safe for use in an OData filter.
Use Power Automate’s replace function to escape apostrophes before assembling the query.
For example, a Compose action named EscapeTitle can use:
replace(triggerBody()?['Title'], decodeUriComponent('%27'), decodeUriComponent('%27%27'))
This replaces each apostrophe with two apostrophes.
Then create another Compose action for the complete filter:
concat('Title eq ', decodeUriComponent('%27'), outputs('EscapeTitle'), decodeUriComponent('%27'))
Use the second Compose output as the Get items Filter Query value.
Why Use Two Steps?
Separating the escaped value from the final query makes debugging easier.
You can inspect both Compose outputs in run history.
Security Considerations
Filter query text is not a replacement for access controls.
Treat form submissions and other user-provided values as untrusted.
Validate expected formats, avoid logging confidential values unnecessarily, and don’t embed credentials in expressions.
Fix 11: Enable Pagination and Handle Large SharePoint Lists
A valid filter can produce incomplete results when the action’s retrieval limits or SharePoint list thresholds become relevant.
Microsoft documents a default retrieval limit of 100 items for Get items in common configurations.
It also documents a known issue with filtered queries on lists containing more than 5,000 items.
Why a Large List Can Return Nothing
Microsoft notes that filtered Get items queries may return no results when a match isn’t found within the first 5,000 items examined in the affected scenario.
Its documented workaround is to enable Pagination on Get items.
Enable Pagination
Open the Get items action.
Select its menu or Settings.
Find the Pagination option.
Turn it on.
Set an appropriate threshold based on the number of items you actually need.
Then rerun the flow.
Don’t Retrieve Everything Automatically
If your business needs only the latest approved orders, don’t request every historical record merely because a larger threshold is available.
Use selective queries and properly indexed columns wherever appropriate.
SharePoint’s 5,000-Item Threshold
A list may contain more than 5,000 total records.
The list-view threshold limits certain expensive operations; it isn’t simply a maximum list size.
Microsoft recommends using indexed columns and filtered views to support large lists.
Pagination Is Not a Universal Fix
Enabling Pagination can help with incomplete retrieval.
It doesn’t automatically solve:
- Invalid OData syntax.
- Missing permissions.
- Incorrect column names.
- Inefficient or unsupported large-list queries.
- All SharePoint list-view threshold errors.
For large production datasets, use a suitable indexed filter and verify that the query remains efficient.
Limit Columns by View
Get items also supports limiting returned columns through an appropriate SharePoint view.
This may help when the list contains many fields.
It does not replace correct list indexing or fix an invalid filter.
Fix 12: Inspect the Output Array and Use Filter Array When Necessary
Sometimes Get items succeeds, but later flow actions don’t run as expected.
For example:
- Apply to each processes zero items.
- A Condition evaluates incorrectly.
- A Create HTML table action shows no rows.
- A notification is never sent.
The issue may be the way the next action references Get items output rather than the OData filter itself.
Check the Value Array
Get items returns a collection of results under:
value
Add a Compose action after Get items.
Use:
length(body('Get_items')?['value'])
This expression counts the returned records.
What Does the Result Mean?
0: No items were returned.
1: One item was returned.
5: Five items were returned.
If the actual Get items action was renamed, adjust the expression accordingly.
Add a Condition
You can test whether records exist with:
greater(length(body('Get_items')?['value']), 0)
If the result is true, process the returned records.
If false, follow the appropriate no-match path.
Use Apply to Each Correctly
For the array input, use the value output of Get items.
Do not accidentally use a single field, an unrelated trigger’s output, or the whole action object in a place that expects an array.
When to Use Filter Array
Use Filter array when:
- The OData filter doesn’t support your required field structure.
- You need a more complex condition against the returned JSON.
- A multi-value column requires array handling.
- You need to distinguish missing properties from empty strings or null values.
Example: Filter Returned Status Records
Suppose Get items returns several records containing a single-choice Status field.
Add Filter array.
Set From to:
body('Get_items')?['value']
If the Status property is returned as a simple string, an advanced condition can look like:
@equals(item()?['Status'], 'Open')
However, some connectors represent Choice fields as objects containing a Value property.
If your output uses that structure, adjust the expression to match the actual JSON.
Important Performance Warning
Filter array cannot repair missing records that were never retrieved by Get items.
It operates only on the array already returned by the previous action.
For large lists, use supported server-side filtering wherever practical.
Practical Example: Retrieve Open, High-Priority Requests
Now let’s combine the concepts in a simple workflow.
Business Scenario
A small company maintains service requests in SharePoint.
An employee wants a daily list of open requests marked High priority.
The company uses Power Automate to retrieve those records.
Example SharePoint List
Use the fictional Automation Test Requests list created earlier.
Relevant fields:
- Title
- Status
- Priority
- Amount
- Approved
Step 1: Create a Test Flow
Open Power Automate.
Create an Instant cloud flow with a manual trigger.
Manual testing is useful because it separates Get items behavior from scheduled and event-based trigger problems.
Step 2: Add Get Items
Add SharePoint → Get items.
Choose the correct site and list.
Step 3: Apply the Filter
Enter:
Status eq 'Open' and Priority eq 'High'
For the fictional sample records, this should match:
- Request A
- Request E
Step 4: Add Compose
Create a Compose action.
Enter:
length(body('Get_items')?['value'])
Step 5: Run the Flow
Select Test.
Run the flow manually.
Expected Results
The Get items output should include the two matching requests.
The Compose output should show:
2
Step 6: Test Numeric Filtering
Change the Filter Query to:
Status eq 'Open' and Priority eq 'High' and Amount gt 2000
The fictional test list should now return Request E only.
Step 7: Test With an Invalid Value
Change the filter to:
Status eq 'Archived'
If Archived isn’t a valid value in any existing record, the output should be an empty array.
This is a normal no-match result, not necessarily a connector failure.
Step 8: Check Run History
Open the relevant run.
Inspect:
- Trigger status.
- Get items Inputs.
- Get items Outputs.
- Compose output.
- Any error messages.
This testing sequence confirms how the action behaves before you introduce scheduled execution, email notifications, or record updates.
Get Items OData Filter Query Examples
The following examples assume the stated SharePoint column types and matching internal names.
| Scenario | Example Filter Query |
|---|---|
| Title equals a value | Title eq 'Request A' |
| Status is Open | Status eq 'Open' |
| Status is not Closed | Status ne 'Closed' |
| Amount greater than 1000 | Amount gt 1000 |
| Amount between 500 and 2000 | Amount ge 500 and Amount le 2000 |
| Open and High priority | Status eq 'Open' and Priority eq 'High' |
| Open or In Progress | Status eq 'Open' or Status eq 'In Progress' |
| Approved is Yes | Approved eq 1 |
| Approved is No | Approved eq 0 |
| Title starts with Request | startswith(Title, 'Request') |
| Created after fixed UTC date | Created ge '2026-10-01T00:00:00Z' |
Note: Column names and available filtering syntax depend on the actual SharePoint schema. Copying an example alone won’t fix a mismatched internal field name or unsupported column type.
Common Power Automate Get Items Error Messages
“The expression is not valid”
Likely causes include malformed OData syntax, incorrect quotation marks, unsupported functions, or incompatible property types.
Check the simplest working filter first.
“The property does not exist”
Verify the internal SharePoint column name.
If the field was renamed, confirm the name originally assigned when it was created.
“The attempted operation is prohibited because it exceeds the list view threshold”
Review the list size, indexed columns, query selectivity, and SharePoint thresholds.
Pagination alone may not resolve an inefficient query.
“Access denied”
Check the SharePoint connection identity and permissions.
Confirm that the connection account can access the required site and list.
“Bad request”
Inspect the detailed connector error.
Bad Request can have several causes, including an invalid property, wrong comparison type, or malformed expression.
“The flow succeeded but no items were returned”
A successful action with an empty array is not automatically a failed execution.
Check whether the filter value actually matches a record and whether pagination or list restrictions affect the result.
Troubleshooting Checklist
Before changing a production flow, verify the following:
- The correct SharePoint action is selected.
- The correct site and list are configured.
- The connection account has permission.
- Get items returns records without a filter.
- A simple Title filter works.
- The query uses actual internal field names.
- Text values have appropriate quotation marks.
- Numeric values use the correct types.
- Choice and Yes/No columns are handled appropriately.
- Complex Person and Lookup fields are inspected.
- Dynamic text is properly escaped.
- Dates are compared in the intended timezone.
- Pagination and list indexing are configured appropriately.
- Downstream actions reference
valuecorrectly. - Testing uses fictional or otherwise approved data.
Best Practices for Reliable SharePoint Filtering
Design List Columns for Automation
Keep field names clear and avoid unnecessary complexity.
If a field has a stable business meaning, avoid frequently changing its type.
Prefer Indexed Filters on Large Lists
For high-volume workflows, plan column indexes before performance problems appear.
Avoid Pulling Entire Lists
Use supported server-side filters rather than retrieving every item and then discarding most of them.
Handle Empty Results
A flow should account for the possibility that no matching records exist.
Don’t assume Get items always returns at least one result.
Make Updates Idempotent
If your flow processes records repeatedly, design updates so that rerunning the workflow doesn’t create unnecessary duplicate business operations.
Check the Connection Identity
A flow’s SharePoint connection may run under a different account from the person editing the flow.
Confirm that the connection has only the required permissions.
Maintain a Test Environment
Test OData expressions with fictional records before applying them to customer, employee, or financial information.
Monitor Flow Run History
If an action suddenly starts failing, compare the most recent successful and unsuccessful runs.
Look for changes in field metadata, permissions, filter values, and returned item counts.
How This Problem Relates to Other Microsoft 365 Issues
Not all Microsoft 365 automation problems have the same cause.
If a flow never starts, begin with our Power Automate flow not triggering guide.
If a SharePoint document folder is missing from Windows, that is typically a synchronization or access issue rather than a Get items filter problem. Our OneDrive shared folder not showing in File Explorer guide explains the differences between OneDrive shortcuts and SharePoint library synchronization.
If you work with Excel reports connected to SharePoint, see our Excel Power Query not refreshing guide, which covers source access, credential problems, and refresh limitations.
These guides address related Microsoft 365 workflows without treating every error as an OData issue.
Frequently Asked Questions
Why is Power Automate Get items returning an empty array?
The filter may not match any records, or it may reference an incorrect internal column name or value type. Large lists can also be affected by pagination behavior and SharePoint query limits.
How do I fix an invalid OData Filter Query?
Start with a simple condition such as Title eq 'Request A'. Verify the internal column name, the correct operator, and quotation marks before adding more conditions.
Can I use a Choice column in Get items Filter Query?
Single-choice fields commonly support comparisons such as Status eq 'Open'. Multi-select fields may require additional processing depending on the connector and data structure.
How do I filter a Yes/No SharePoint field?
For SharePoint Get items, try Approved eq 1 for Yes and Approved eq 0 for No. Verify the result against known records, especially where unset values may exist.
Should I use the SharePoint display name or internal name?
Use the actual internal column or API property name required by the connector. Renaming the visible column doesn’t necessarily change that name.
Why does my filter stop working after renaming a column?
The flow may be using the new display name while SharePoint still uses the original internal name.
How do I combine two filter conditions?
Use and when both conditions must be true and or when either condition can be true.
For example:
Status eq 'Open' and Priority eq 'High'
Why does Get items return only 100 records?
Microsoft documents a default retrieval limit of 100 items in common Get items configurations. Review Top Count and Pagination settings when retrieving larger result sets.
Does enabling Pagination fix SharePoint’s 5,000-item threshold?
Not always. Pagination can address incomplete retrieval and certain documented scenarios, but SharePoint query thresholds also depend on how the query is executed and whether columns are indexed appropriately.
What is the difference between Get items and Get files?
Get items retrieves SharePoint list records. Get files (properties only) retrieves file metadata from document libraries.
Can I filter by a SharePoint Person column?
Some person-related comparisons are supported, but the field structure matters. Inspect the returned properties and use a supported lookup or identifier rather than assuming the display name is plain text.
Why does my OData filter fail for a customer name containing an apostrophe?
An apostrophe inside a string literal needs to be escaped by doubling it. Dynamic values should be sanitized before being inserted into the query.
Can I use Filter array instead of an OData filter?
Yes, but Filter array works on records already retrieved by the previous action. It doesn’t solve missing records caused by Get items retrieval limits.
How can I count the records returned by Get items?
Use:
length(body('Get_items')?['value'])
Adjust the action name if it was renamed.
Do these SharePoint OData examples also apply to Dataverse?
Not necessarily. Different connectors can use different property names, functions, and data-type conventions even when both support OData-style filtering.
Final Thoughts
When your Power Automate Get items filter query is not working, resist the temptation to rewrite the entire flow.
Start with the smallest possible test.
Verify the SharePoint connection, retrieve a known record, test a simple Title filter, and inspect the action outputs.
Once the basic query succeeds, check the relevant column type and internal name.
For large SharePoint lists, review Pagination and indexing. For complex Choice, Lookup, or Person fields, inspect the actual JSON and use a supported filtering approach.
Most importantly, distinguish between a flow that failed and a filter that correctly returned no matching records.
That distinction can save hours of unnecessary troubleshooting.
For additional help with related workflows, explore our Power Automate troubleshooting guide and other Microsoft 365 tutorials on IA Network.
Reliable automation starts with accurate queries, predictable data types, and testing that confirms what each step actually returns.





