logo
search
Power Query Problems

Can Power Query Read Data from a Live SharePoint Workbook?

Ayan MasoodAyan Masood Oct 12, 2026 870 views

Question details

The user wants to know if Power Query can extract data from a live Excel workbook hosted on SharePoint, specifically regarding unsaved changes in an active session.

How to Read Data from a Live SharePoint Workbook Using Power Query
Product
Microsoft Excel
Device & OS
not provided
Scenario
Connecting Power Query to an active Excel workbook hosted on SharePoint to pull real-time data.
Observed behavior
Power Query retrieves data from the last saved version of the SharePoint workbook, ignoring any unsaved changes currently held in memory by active users.
Before you start

Ensure that you have appropriate read permissions for the SharePoint folder or file you are trying to connect to, and verify that the file path URL is correct.

Solution 1Recommended

Connecting to a SharePoint Workbook and Fetching Updates

Set up the connection properly and understand the requirement of saving the source file to retrieve new data.

Power Query reads data from the saved file on the SharePoint server, not from the local memory of an open Excel session. Therefore, any real-time edits made by you or another user will not be visible to Power Query until those changes are explicitly saved to SharePoint. Keeping your query in a separate destination workbook is highly recommended to prevent file lock issues or interference with the live source file.

1
Obtain the SharePoint File Path

Open the source workbook in the Excel desktop app, go to File > Info, click 'Copy Path', and remove the '?web=1' suffix from the copied URL.

2
Connect Power Query

In your separate destination workbook, go to Data > Get Data > From File > From Workbook (or From Web), and paste the SharePoint URL.

3
Save the Source File

Before attempting to refresh your data in the destination workbook, ensure the source workbook on SharePoint has been saved so that all memory-only edits are committed to the disk.

4
Refresh the Query

In the destination workbook, navigate to Data > Refresh All to pull the newly saved changes from the SharePoint source file.

Connecting to a SharePoint Workbook and Fetching Updates
AutoSave Considerations: If AutoSave is enabled on the source SharePoint workbook, changes are frequently synced to the cloud, reducing the gap between live edits and Power Query availability. However, a manual save guarantees the latest data is ready for refresh.
Free Microsoft Office alternative

Manage Your Spreadsheets Seamlessly with WPS Office

While Power Query and SharePoint live connections are specific to the Microsoft ecosystem, WPS Office provides a lightweight, highly compatible alternative for everyday data analysis and spreadsheet management. It's free, fast, and fully supports standard Excel formats.

  1. 1. Download and Install: Get WPS Office Free from the official website and install it on your device.
  2. 2. Open Your Excel File: Launch WPS Spreadsheets and click 'Open' to load your existing .xlsx workbooks.
  3. 3. Analyze Data: Use WPS Spreadsheets' built-in tools like PivotTables, formulas, and charts to manage your data.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Lightweight software that loads quickly on any deviceFamiliar user interface requiring zero learning curvePowerful built-in data analysis and pivot table tools
QA img-9

Frequently Asked Questions

Why does Power Query not show the latest data from a shared workbook?

Power Query reads the file saved on the server (or disk). If another user has the file open and is making changes, those changes exist only in their local memory until they save the document. Once saved, a Power Query refresh will fetch the updated data.

Can I connect Power Query to a SharePoint file that is currently open?

Yes, Power Query can read an open file stored on SharePoint. However, it will only retrieve the data as it was last saved to the server, ignoring any unsaved, real-time edits.

How do I avoid file lock errors when refreshing Power Query from SharePoint?

Keeping your queries in a separate destination workbook rather than the source workbook reduces interference and prevents file locking issues when multiple users are accessing the live SharePoint file.

Does AutoSave help Power Query get live updates faster?

Yes, if AutoSave is enabled on the SharePoint workbook, it frequently commits changes to the cloud. This makes the newly added data available to Power Query much quicker than waiting for a manual save.