LowCodeStacks™
Sign in

List rows present in a table only returns 256 rows? Fix it, plus dates and filters

The Excel action List rows present in a table only returns 256 rows by default, shows dates as numbers like 45567, and rejects most filters. Here's how to get every row, real dates and filters that work, and when to stop using Excel.

Power AutomateFix a problem7 min read

Checked against Microsoft Learn 4 sources · Updated By · drafted with AI help, checked by a personHow we write guides

The Excel Online (Business) action List rows present in a table is the most common way flows read a spreadsheet, and it surprises almost everyone the same three ways: it only returns 256 rows, dates come back as numbers, and filters that look right fail. Here's the fix for each, and the limits that cause the rest.

Three surprises from the Excel action List rows present in a table, the fix for each, and the result. Only 256 rows: that's the default, and the flow still succeeds; in Settings, turn Pagination on and set a Threshold above your row count, such as 5000; you get every row, and can check it with length() against the row count in Excel. Dates as numbers: 45567 is the days since 30 December 1899; set DateTime Format to ISO 8601 in the action's advanced parameters; dates arrive as ISO 8601 text, which formatDateTime() and date comparisons understand. Filter Query fails for a date range, two conditions, or a column name with a space; skip Filter Query, turn pagination on and add a Filter array action; it accepts any condition, including dates once they're ISO 8601. At the bottom: move the data to a SharePoint list or Dataverse when more than one person or flow writes to it, you need date ranges or several conditions, it's heading past a few thousand rows, or you keep hitting locks and throttling.
The three surprises in List rows present in a table, the fix for each, and when to move the data out of Excel.

1. Get every row, not just 256

By default the action returns up to 256 rows. Nothing warns you: the flow succeeds and silently works on the first 256.

  1. Select the action, then Settings (in the new designer: Settings > Networking).
  2. Turn on Pagination.
  3. Set Threshold to a number above the most rows the table will ever have, such as 5000. The highest threshold you can set depends on your Power Automate plan, up to 100,000.

What the action's Settings tab shows, as of August 2025:

  1. Settings: the tab you open on the selected List rows present in a table action.
  2. Pagination, under Networking: switched On here.
  3. Threshold: appears once Pagination is on. Here it's 5000, above the table's row count.
The Settings tab of the Excel Online (Business) action List rows present in a table in the Power Automate designer. Under General, Action timeout is empty, with the hint Example: P1D. Under Networking, Pagination is On, with the note: Retrieve items to meet the specified threshold by following the continuation token. Due to connector's page size, the number returned may exceed the threshold. Threshold is set to 5000, and Retry policy below it is set to Default. Its note reads: A retry policy applies to intermittent failures, characterized as HTTP status codes 408, 429, and 5xx, in addition to any connectivity exceptions. The default is an exponential interval policy set to retry 4 times.
Recreated by LowCodeStacks from Microsoft Learn screenshots of Power Automate and Azure Logic Apps (CC BY 4.0): an action's Settings tab with Pagination on in the Power Automate designer, interface as of August 2025, with made-up data.

Then check it: add a Compose with length(body('List_rows_present_in_a_table')?['value']) and compare it with the row count in Excel.

Tip

If you only need some rows, filter first (section 3). Fewer rows means a faster flow and fewer throttled calls.

2. Dates come back as numbers

Excel stores a date as a serial number: the days since 30 December 1899. So 45567 is a date, and 45567.5 is noon on that date. The connector returns that number unless you ask otherwise.

The fix: in the action's advanced parameters, set DateTime Format to ISO 8601. Dates then arrive as text like 2024-10-01T00:00:00.000Z, which formatDateTime() and date comparisons understand. Get a row, Add a row into a table and Update a row have the same setting.

If you can't change the action, convert the number with an expression:

text
addDays('1899-12-30', int(item()?['Due date']), 'yyyy-MM-dd')

That only works for whole days. For a date with a time, use seconds:

text
addSeconds('1899-12-30', int(mul(float(item()?['Due date']), 86400)))

Warning

An empty cell comes back as an empty string, and int('') fails the run. Wrap the expression in if(empty(item()?['Due date']), null, …).

3. Filters that work

Filter Query on this action is much more limited than OData filters elsewhere:

RuleWhat it means
Only eq, ne, contains, startswith, endswithNo gt, lt, and or or. So no date ranges
One filter function per columnYou can't stack two conditions on the same column
Column names must be letters and numbersStatus works; Due Date or Cost (USD) doesn't
One column in Order BySort by a second column afterwards, if you need to
Results can be slightly behindWhen you filter or sort, very recent changes may not show yet

Examples that work:

text
Status eq 'Open'
contains(Region, 'North')

When the filter you need isn't allowed (a date range, two conditions, a column with a space), skip Filter Query, turn on pagination, then add a Filter array action after it. Filter array accepts any condition, including dates once they're ISO 8601:

text
@and(equals(item()?['Status'], 'Open'), less(item()?['Due date'], utcNow()))

Or rename the column in Excel to letters and numbers only, such as DueDate.

4. Writing rows: the limits that cause odd results

SymptomCauseFix
A row you just added isn't there yetChanges can take up to 30 seconds to showDon't read straight after writing; or keep the data in the flow
"The file is locked"The connector can hold a lock for up to 6 minutes after its last useDon't edit the file by hand while flows use it; retry later
Only one row changedUpdate a row and Delete a row change the first match onlyMake the key column unique
Key column "not found"The key column name is case-sensitivePick it from the drop-down rather than typing it
Rows added twiceA slow recalculation timed out, and the retry wrote againSimplify formulas, or set the workbook's calculation to Manual
403 ForbiddenThe connection's account can't write to the fileGive it edit access. Even reading needs write access
502 Bad GatewayThe workbook is read-onlyTurn off read-only in Excel
429 Too many requestsThrottled: 100 calls per minute per connection, and Excel's own limitsTurn down Apply to each concurrency, add a short Delay
Fails on a big fileThe connector supports files up to 25 MBArchive old rows to another workbook

Note

Don't let people, other flows and apps write to the same workbook at the same time. Microsoft doesn't support it, and it causes merge conflicts and lost rows.

5. When to stop using Excel

Excel is fine for a few hundred rows that one flow reads. Move the data to a SharePoint list or Dataverse when:

  • more than one person or flow writes to it;
  • you need date ranges or several conditions in the filter;
  • it's heading past a few thousand rows;
  • you keep hitting locks and throttling.

Our guide Dataverse or SharePoint lists? helps you choose. For more than 5,000 SharePoint items, see Get more than 5,000 SharePoint items.

Related: Power BI vs Excel.

Sources

Add LowCodeStacks as a preferred source on Google

Did this fix it?

Get the weekly email

New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.

From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.

Comments

No comments yet. Share what worked for you.

Sign in to comment. Comments show under a display name you choose, never your email.