Power Query Problems

Fix SharePoint Power Query Not Loading All Library Items in Excel

Ayan MasoodAyan Masood Oct 19, 2026 869 views

Question details

The user needs to retrieve all rows and columns from a SharePoint library using Excel Power Query, but custom content types and specific folders are missing from the results.

How to Fix SharePoint Power Query Returning Only Partial Library Items in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Connecting Excel Power Query to a SharePoint library to extract and filter custom content types (Sales Documents) to build a dashboard.
Observed behavior
SharePoint list Implementation 1.0 returns all rows but lacks required columns like Content Type. Implementation 2.0 returns all columns but misses specific custom rows, dropping the row count from 13,000 to 172.
Before you start

Before modifying your queries, verify that you have the necessary SharePoint permissions to view all items and ensure no default library views are actively filtering the missing documents on the server side.

Solution 1Recommended

Clear Power Query Cache and Refresh Data Source Credentials

Cached credentials or outdated site permissions can cause Power Query to drop rows. Clearing the cache forces a fresh connection to SharePoint.

Power Query sometimes holds onto outdated connection metadata or partial authentication tokens. Clearing these settings ensures Excel fetches the latest list schema from SharePoint.

1
Open Data Source Settings

In Excel, go to the 'Data' tab on the ribbon, click 'Get Data', and select 'Data Source Settings'.

2
Clear Permissions

Locate and select your SharePoint site URL in the list. Click 'Clear Permissions' (or 'Clear All Permissions') and confirm your choice.

3
Refresh and Sign In

Close the settings window and click 'Refresh All' on the Data tab. When prompted, sign in again using your Microsoft 365 Organizational account.

Clear Power Query Cache and Refresh Data Source Credentials
No Data Loss: Clearing data source settings does not delete your query steps. It only resets the connection authentication.
Free Microsoft Office alternative

Try WPS Office for Seamless Data Analysis and Compatibility

If you are tired of complex connector bugs in Microsoft Office, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet tool for all your daily data analysis and charting needs without the heavy resource usage.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files to instantly resume your data analysis.
Fully compatible with Microsoft Excel (.xlsx, .csv) formatsLightweight and fast, even with large datasetsBuilt-in advanced charting tools for easy dashboard creationFree to download and use with a familiar user interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query SharePoint Implementation 2.0 miss some rows?

Implementation 2.0 uses a different API structure that can sometimes fail to retrieve items utilizing custom SharePoint Content Types, or items modified outside standard list structures. Switching connectors or using OData can often bypass this.

How do I filter by Content Type in Power Query if the column is missing?

If the Content Type column is missing (common in Implementation 1.0), use the SharePoint Folder connector (SharePoint.Files) and expand the 'Attributes' column in the Power Query Editor to reveal the Content Type metadata before filtering.

Will clearing data source settings delete my Power Query steps?

No. Clearing data source settings only removes the cached login credentials and connection rules. Your query steps remain fully intact, and Excel will simply prompt you to sign in again upon the next refresh.