Excel 2016 for Windows introduced a powerful set of Get & Transform Data tools. These tools, based on Power Query technology, enable you to easily connect, combine, and shape data coming from a variety of sources.
Today, we are excited to announce the first step in a journey to support Power Query in Excel for Mac. This is by far the most popular idea on Excel UserVoice under Excel for Mac category. In this release, you can refresh your Power Query queries on Mac from Text, CSV, XLSX, XML and JSON files, and you can author queries with VBA.
You can now refresh the Power Query queries in your workbook that pull data from Text, CSV, XLSX, XML or JSON files. Triggering the refresh command is done the same way that you've been doing it so far. For example:
Click on the Data tab of the ribbon > then choose Refresh All
Right-click on your query table > then click Refresh
Right click on your PivotTable > then click Refresh Data
Use a VBA script
Please note that upon the first time you try to refresh your workbook queries, you may need to update the location of the data source so that it works on your Mac. Click the Data tab on the ribbon > Connections > select the desired connection > and click Change File Path button to update it.
Authoring Power Query queries
With this update, you can also create and manage Power Query queries in your workbook using VBA. Any existing macros and VBA scripts that reference Workbook.Queries and WorkbookQuery entities in the Excel's object model will work in Excel for Mac as expected.
Note: You may still need to adjust your scripts to reflect the notion of a file path on Mac (e.g., /Users/USERNAME/Desktop/data.csv) that is different than a file path on Windows (e.g., C:\Users\USERNAME\Desktop\data.csv).
Sharing your feedback
Let us know what you think and submit your feedback using Send a Smile/Frown (Send us a Smile or Frown button at the top right)!