Power Query Problems

Connect Excel Power Query to a SharePoint Folder Instead of a Local Path

Olivia MillerOlivia Miller Nov 12, 2026 869 views

Question details

Change a Power Query report that imports files from one employee's local Windows folder so multiple authorized team members can refresh it from SharePoint.

Connect Excel Power Query to a SharePoint Folder Instead of a Local Path
Product
Microsoft Excel Power Query
Device & OS
Windows
Scenario
A team needs to use and refresh a shared report without editing a source path such as C:\Users\Username\Documents.
Observed behavior
The current Folder source is tied to one user's local Windows path, preventing other users from reliably refreshing the report.
Before you start

Move the source files to the SharePoint document library and confirm that every report user has permission to view the site and files. Copy the SharePoint site URL, not a synced OneDrive folder path or an individual file URL.

Solution 1Recommended

Replace the local Folder source with the SharePoint Folder connector

Use this method when the report combines files stored in a shared SharePoint document library.

The SharePoint Folder connector reads files from a SharePoint site rather than from a Windows user profile. After connecting, filter the Folder Path column to limit the query to the required library or subfolder.

1
Open the Power Query editor

In Excel, select Data > Queries & Connections, then right-click the existing query and choose Edit.

2
Create a SharePoint Folder connection

In the Power Query Editor, select Home > New Source > SharePoint Folder. In Excel's Get Data menu, the same connector is available from Data > Get Data > From File > From SharePoint Folder.

3
Enter the SharePoint site URL

Enter the site address, such as https://contoso.sharepoint.com/sites/Finance, and select OK. Do not enter a local synced path such as C:\Users\Username or a URL that points directly to one file.

4
Sign in with an organizational account

When prompted, select Organizational account, sign in with the account that has access to the site, and choose Connect.

5
Filter and combine the required files

In the file list, filter the Folder Path column to the target document library or subfolder. Then use Combine Files or update the existing transformation steps to process the filtered files.

6
Load and test the query

Select Home > Close & Load, then have another authorized team member select Data > Refresh All to verify that the shared source refreshes correctly.

Replace the local Folder source with the SharePoint Folder connector
Shared refresh source configured: Each authorized user can refresh the query when they can access the SharePoint site and authenticate with their own organizational account.
Free Microsoft Office alternative

Use WPS Office for Everyday Shared Spreadsheet Work

Microsoft Power Query's SharePoint Folder connector is managed within Excel. For everyday spreadsheet editing, sharing, and format-compatible collaboration, WPS Office is a free, lightweight alternative with a familiar spreadsheet interface that makes moving from Microsoft Office straightforward.

Free and lightweight spreadsheet software for routine team reportingFamiliar worksheet, formula, filter, and chart tools for Excel usersOpens and saves Microsoft Excel .xlsx, .xls, and .csv filesSupports shared spreadsheet workflows while teams maintain Power Query refreshes in Excel
QA img-9

Frequently Asked Questions

What URL should I enter in the SharePoint Folder connector?

Enter the SharePoint site URL, such as https://contoso.sharepoint.com/sites/Finance. Do not use a local synced folder path, a OneDrive path, or the URL of an individual workbook.

How do I limit a SharePoint Folder query to one subfolder?

After Power Query returns the site file list, filter the Folder Path column to the required document library or subfolder. You can replace the fixed filter value with a Text parameter for easier maintenance.

Why can one employee refresh the SharePoint query but another cannot?

Each person refreshes using their own organizational account. Check that the person has at least read access to the SharePoint site, document library, and source files, then use Data > Get Data > Data Source Settings to clear or update credentials if necessary.

Can I change an existing local Folder query without rebuilding all transformations?

Usually, yes. Create a SharePoint Folder source, then update the query's Source step and any early navigation or folder-filter steps. Review later steps to ensure their expected columns and file structure still match the SharePoint results.

Can WPS Office create or refresh Excel Power Query SharePoint Folder connections?

Power Query SharePoint Folder connections are an Excel Power Query feature. Use Excel to configure and refresh that connector; WPS Office can be used for compatible .xlsx, .xls, and .csv spreadsheet work outside that Power Query workflow.