Power Query is not natively available as a standalone application or a built-in feature of the Excel for Mac desktop app in the same way it is on Windows. To use Power Query on a MacBook, you must use Excel for the Web (via a browser) or use the limited "Get Data" capabilities available in the latest versions of Excel for Mac, which primarily support importing from text/CSV files and some cloud sources. For full ETL (Extract, Transform, Load) functionality, the browser-based version of Excel is the most reliable method for Mac users.
What You'll Need
- A MacBook running a compatible version of macOS.
- A Microsoft 365 subscription (required for the most up-to-date Power Query features in the web version).
- A stable internet connection for accessing Excel for the Web.
- A Microsoft account to sign in to OneDrive or SharePoint.
- Your data source files (CSV, Excel workbooks, or cloud-based folders) uploaded to OneDrive or SharePoint if using the web version.
Step-by-Step
Because the experience differs between the desktop app and the web browser, follow these steps to access the most powerful version of the tool available to Mac users.
- Prepare Your Data: Since Excel for the Web cannot "reach into" your MacBook's local hard drive to pull files, you must first upload your data sources. Move your CSVs, Text files, or Excel workbooks into a folder on OneDrive or a SharePoint document library.
- Launch Excel for the Web: Open your preferred web browser (Safari, Chrome, or Firefox) and navigate to office.com. Sign in with your Microsoft 365 credentials and open a new or existing Excel workbook.
- Access the Data Tab: Click on the Data tab in the top ribbon. Note that menu labels may differ slightly depending on your region or the specific version of the Microsoft 365 license you are using.
- Initiate Get Data: Click on the Get Data button. From the dropdown menu, select the source that matches your data. For most users, this will be "From OneDrive" or "From SharePoint Folder."
- Connect to the Source: A navigation window will appear. Browse through your cloud folders, select the specific file or folder you wish to import, and click Open or Connect.
- Enter the Power Query Editor: Once the data is connected, you will see a preview. Instead of clicking "Load," click "Transform Data." This opens the Power Query Editor in a separate browser window.
- Clean and Transform: Use the editor to perform your necessary data manipulations. Common actions include:
- Removing Columns: Right-click a column header and select Remove.
- Filtering Rows: Click the dropdown arrow on a column header and uncheck the values you do not need.
- Changing Data Types: Click the icon next to the column header (e.g., ABC or 123) to change a column from Text to Decimal Number or Date.
- Splitting Columns: Select a column, go to the Transform tab, and choose Split Column > By Delimiter.
- Apply Changes: Once the data looks exactly how you want it, click the Close & Load button in the top left corner. This will push the cleaned data back into your Excel spreadsheet as a table.
- Refresh Data: When the source file in OneDrive is updated, you do not need to repeat these steps. Simply go to the Data tab in your workbook and click Refresh All to pull the latest changes through your predefined Power Query steps.
Common Mistakes
One of the most frequent errors Mac users make is attempting to find the full Power Query "Get Data" menu in the desktop version of Excel for Mac and becoming frustrated when it is missing. While Microsoft has added some support for importing CSVs and HTML tables in the desktop app, the advanced editor and many connectors are simply not there. Attempting to use the desktop app for complex ETL tasks usually leads to a dead end.
Another common mistake is forgetting that Power Query for the Web requires the files to be in the cloud. If you try to use a local file path (like /Users/username/Documents), the web version of Excel cannot access it for security reasons. You must ensure the file is synced to OneDrive before starting the process.
Users also frequently forget to check their data types. If you import a date column but Power Query interprets it as "General" or "Text," your subsequent filters or date-based calculations will fail. Always verify the data type icon in the column header before applying transformations.
Tips
To maximize efficiency on a MacBook, use a browser like Google Chrome or Microsoft Edge, as they often handle the heavy JavaScript requirements of the Power Query Editor more smoothly than Safari. If you are dealing with very large datasets, try to perform as many filters as possible at the very beginning of your query steps; this reduces the amount of data the browser has to process in memory.
Utilize the "Applied Steps" pane on the right side of the editor. This is essentially a recording of every change you've made. If you make a mistake, you don't have to start over; simply click the "X" next to the specific step to undo it. You can also rename these steps to make your query easier for others (or your future self) to understand.
For those who absolutely must use the desktop experience, consider using a virtual machine or a remote desktop connection to a Windows environment. While this is a more advanced setup, it is the only way to access the full Windows-native Power Query suite, including the ability to connect to local SQL databases or legacy system files.
Troubleshooting
If the "Get Data" option is greyed out or missing in Excel for the Web, first check your subscription level. Some basic or free Microsoft accounts have limited data connectivity features. Ensure you are signed into a business or personal Microsoft 365 account.
If you encounter a "Data Source Error" when trying to connect to a SharePoint folder, verify your permissions. You must have at least "Read" access to the folder and the files within it. If the error persists, try signing out of your Microsoft account in the browser, clearing your browser cache, and signing back in to refresh the authentication token.
When the Power Query Editor becomes sluggish or freezes, it is usually due to the volume of data being processed in the browser. Try to limit the number of columns you are importing. Instead of importing the whole table, use the "Choose Columns" feature early in your transformation process to drop unnecessary data.
If your "Refresh All" command is not updating the data, check if the source file has been renamed or moved to a different folder in OneDrive. Power Query relies on a specific file path; if the path changes, the connection breaks. You will need to go into the Query Settings and update the source path to point to the new location.
Frequently Asked Questions
Is Power Query available in the Excel for Mac desktop app?
Only in a very limited capacity. You can import some data types like CSVs, but the full Power Query Editor and the wide array of connectors found in the Windows version are not available in the Mac desktop app.
Do I need a paid subscription to use Power Query on Mac?
Yes, a Microsoft 365 subscription is generally required to access the "Get Data" and transformation features in Excel for the Web.
Can I connect to a local SQL database using Power Query on a Mac?
Not directly through Excel for Mac or Excel for the Web. Connecting to local databases usually requires the Windows-native version of Power Query. You would need a Windows VM or a cloud-based gateway to achieve this.
Will my Power Query steps work if I share the file with a Windows user?
Yes. Because the queries are stored within the workbook's metadata, a Windows user opening the file will see the same queries and can refresh them using the full Power Query suite on their machine.
How do I handle CSV files on a Mac since I can't use local paths?
The best method is to upload the CSV to OneDrive. Once it is in the cloud, you can use Excel for the Web to connect to that file, transform it, and load it into your sheet.
Can I use Power Query to merge two different Excel files on a Mac?
Yes, provided both files are stored in OneDrive or SharePoint. You can use the "Merge Queries" or "Append Queries" features within the Power Query Editor in the web version to combine your data.