logo
search
Power Query Problems

Fix Power Query Not Refreshing Shared OneDrive Data in Excel for Mac

Rana GarciaRana Garcia Oct 23, 2026 869 views

Question details

The user is unable to refresh Power Query data from a shared OneDrive workbook using Excel for Mac.

Fix Power Query Not Refreshing Shared OneDrive Data in Excel for Mac
Product
Excel for Mac
Device & OS
Mac
Scenario
Attempting to refresh a Power Query connected to a shared Excel file hosted on OneDrive while using Excel for Mac.
Observed behavior
The query fails to refresh, new rows added to the source workbook do not appear, and users may encounter a 'DataFormat.Error' regarding an invalid absolute path.
Before you start

Verify that you have an active Microsoft 365 for Mac subscription, as standalone perpetual versions have limited Power Query features, and ensure no other users are currently editing the shared source workbook.

Solution 1Recommended

Connect Using the 'From Web' Option

Bypass local path limitations on macOS by connecting to the OneDrive for Business file via its web URL.

Excel for Mac has different data-source capabilities compared to Windows. Shared OneDrive local synced paths are often not treated as valid refreshable absolute paths, triggering a DataFormat.Error. Using a direct web link can sometimes resolve this.

1
Get the file URL

Open OneDrive for Business in your web browser, locate your source Excel file, and copy the direct link (URL) to the file.

2
Open Get Data

Launch Excel for Mac, navigate to the 'Data' tab on the ribbon, and select 'Get Data' followed by 'From Web'.

3
Paste URL and authenticate

Paste the copied OneDrive link into the URL field and authenticate with your Microsoft 365 account to establish the data connection.

Connect Using the 'From Web' Option
Refresh limitations: If the 'From Web' feature does not support this specific source on your version of Excel for Mac, you may need to perform the refresh on a Windows environment.
Free Microsoft Office alternative

Try WPS Office for Seamless Cross-Platform Data Management

If you are tired of compatibility issues and platform limitations in Excel for Mac, consider switching to WPS Office. It provides a free, lightweight, and highly compatible alternative for managing your spreadsheets, analyzing data, and collaborating across platforms without expensive subscriptions.

  1. 1. Download the software: Visit the official WPS website and download the free WPS Office suite for your Mac.
  2. 2. Open your workbook: Launch WPS Spreadsheet and seamlessly open your existing .xlsx workbooks without losing formatting.
  3. 3. Manage your data: Utilize the built-in 'Data' tab tools to filter, sort, and analyze your shared information effortlessly.
Free to use with a familiar, user-friendly interfaceFully compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Lightweight and fast across Mac, Windows, Linux, and mobileBuilt-in advanced data analysis, charting, and visualization tools
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get a 'DataFormat.Error' when refreshing Power Query on Mac?

This error occurs because Excel for Mac does not recognize local synced OneDrive paths in the same way Excel for Windows does. It requires a valid absolute path or a supported web URL to complete the refresh.

Does the standalone version of Office for Mac support Power Query?

The standalone perpetual versions of Office for Mac (such as Office 2019 or 2021) have a much smaller set of Power Query features compared to the Microsoft 365 subscription version. An active Microsoft 365 subscription is recommended for full data-source support.

Can I refresh a Power Query while someone else is editing the source file?

Refreshing data while the source workbook is actively being edited by another user can cause data locks or result in incomplete updates. It is highly recommended to perform the refresh when the source file is closed.