Power Bi For Excel

-->Power bi publisher download

With Analyze in Excel, you can bring Power BI datasets into Excel, and then view and interact with them using PivotTables, charts, slicers, and other Excel features. To use Analyze in Excel you must first download the feature from Power BI, install it, and then select one or more datasets to use in Excel.

This article shows you how to install and use Analyze in Excel, describes its limitations, then provides some next steps. Here's what you'll learn:

Let's jump in, and get the installation process started.

Install Analyze in Excel


Excel is a powerful, flexible tool for every analytics activity. Combine it with Power BI to get broad data analytics and visualization capabilities. Easily gather, shape, analyze, and explore key business data in new ways—all in less time—using both apps together. See it in action. Flatten your data. For Excel power users, this may come as a bit of a shock, but workbooks destined to be linked to Power BI for its data visualization tools must be restricted to flat data. Power Query lets you analyze your data right from within Excel, while seamlessly connecting to a wide range of external data sources. Easily reshape and transform your data along the way if needed. Get to know “Get and Transform Data” To use Power Query, just click the Data tab in Excel 2016 or newer, called “Get and Transform Data”. Power BI supports importing or connecting to workbooks created in Excel 2007 and later. Workbooks must be saved as.xlsx or.xlsm file type and be under 1 GB. Some features described in this article are only available in later versions of Excel. Workbooks with ranges or tables of data.

@GeraldZ - That add in is called Microsoft Power BI Publisher for Excel. I have a pretty recent version of Excel from Office 365. It is version 2002 (Build 0 Click-to-Run) That COM plug-in is not available to activate. So, I would agree with your IT department that that add-in is likely deprecated.

You must install Analyze in Excel from links provided in the Power BI service. Power BI detects the version of Excel you have on your computer, and automatically downloads the appropriate version (32-bit or 64-bit). You can sign in to the Power BI service using the following link:

Once you've signed in and the Power BI service is running in your browser, select More options (the ...) in the upper-right corner and then select Download > Analyze in Excel updates. This menu item applies to new installations of updates of Analyze in Excel.

Alternatively, you can navigate in the Power BI service to a dataset you want to analyze, and select the More options item for a dataset, report, or other Power BI item. From the menu that appears, select the Analyze in Excel option, as shown in the following image.

Either way, Power BI detects whether you have Analyze in Excel installed, and if not, you're prompted to download.

When you select download, Power BI detects the version of Excel you have installed and downloads the appropriate version of the Analyze in Excel installer. You see a download status in the bottom of your browser, or wherever your browser displays download progress.

When the download completes, run the installer (.msi) to install Analyze in Excel. The name of the installation process is different from Analyze in Excel; the name will be Microsoft Analysis Services OLE DB Provider as shown in the following image, or something similar.

Once it completes, you're ready to select a report in the Power BI service (or other Power BI data element, like a dataset), and then analyze it in Excel.

Connect to Power BI data

In the Power BI service, navigate to the dataset or report you want to analyze in Excel, and then:

  1. Select the More options menu.

  2. Select Analyze in Excel from the menu items that appear.

    The following image shows selecting a report.


    Remember that if you select Analyze in Excel from a Report menu, it is the report's underlying dataset that is brought into Excel.

    The Power BI service then creates an Excel file of the dataset that's designed (and structured) for use with Analyze in Excel, and begins a download process in your browser.

    The file name matches the dataset (or report, or other data source) from which it was derived. So if the report was called Quarterly Report, then the downloaded file would be Quarterly Report.xlsx.


    Analyze in Excel now downloads an Excel file instead of an ODC file. This enables data protection on data exported from Power BI. The downloaded Excel file inherits the sensitivity label of the dataset chosen for Analyze in Excel.

  3. Launch the Excel file.


    The first time you open the file, you may have to Enable Editing and then Enable Content, depending on your Protected view and Trusted document settings.

When using Excel to analyze Power BI using a PivotTable, Power BI extends sensitivity label inheritance to Excel. A sensitivity label applied on a Power BI dataset is automatically applied to the Excel file when you create a PivotTable in Excel.

If the label on the dataset subsequently changes to be more restrictive, the label applied to the Excel file is automatically updated upon data refresh in Excel. If the dataset changes to become less restrictive, no label inheritance or update occurs.

Sensitivity labels in Excel that were manually set are not automatically overwritten by the dataset's label. If an Excel file has a manually set sensitivity label, a policy tip will appear with a recommendation to upgrade the label.

For more information, see how to apply sensitivity labels in Power BI.

Use Excel to analyze the data

Once you've enabled editing and content, Excel presents you with an empty PivotTable and Fields list from the Power BI dataset, ready to be analyzed.

The Excel file has an MSOLAP connection string that connects to your dataset in Power BI. When you analyze or work with the data, Excel queries that dataset in Power BI and returns the results to Excel. If that dataset connects to a live data source using DirectQuery, Power BI queries the data source and returns the result to Excel.

With that connection to the data in Power BI now established, you can create PivotTables, charts, and analyze that dataset just as you would work with a local dataset in Excel.

Analyze in Excel is especially useful for Power BI datasets and reports that connect to the following data sources:

  • SQL Services Analysis Services (SSAS) tabular or multidimensional data models, including datasets created from live connections to SSAS.

    For on-premises data, you'll need an on-premises data gateway.

  • Azure Analysis Services tabular data models, including datasets created from live connections to Azure Analysis Services.

  • Power BI Desktop files or Excel workbooks with data models that have model measures created using Data Analysis Expressions (DAX).


Using Analyze in Excel exposes all detail-level data to any users with permission to the dataset.

Power bi for excel 2016

There are a handful of things to consider when you begin using Analyze in Excel, which might require an extra step or two to reconcile. These possibilities are described in the following sections.

Sign in to Power BI

Although you’re signed in to Power BI in your browser, the first time you open a new Excel file in Excel you may be asked to sign in to Power BI with your Power BI account. This authenticates the connection from Excel to Power BI.

Users with multiple Power BI accounts

Some users have multiple Power BI accounts. If that's you, you might be signed in to Power BI with one account, but your other account has access to the dataset being used in Analyze in Excel. In that case, you might see a Forbidden error, or a sign-in failure when attempting to access a dataset that's being used in an Analyze in Excel workbook.

If that happens, you'll be provided an opportunity to sign in again, at which time you can sign in with the Power BI account that has access to the dataset being accessed by Analyze in Excel. You can also select your name in the top ribbon in Excel, which identifies which account is currently signed in. Sign out and sign back in with the other account.

Saving and sharing your new workbook

You can Save the Excel workbook you create with the Power BI dataset, just like any other workbook. However, you cannot publish or import the workbook back into Power BI, because you can only publish or import workbooks into Power BI that have data in tables, or that have a data model. Since the new workbook simply has a connection to the dataset in Power BI, publishing or importing it into Power BI would be going in circles!

Once your workbook is saved, you can share it with other Power BI users in your organization.

When a user with whom you’ve shared your workbook opens it, they’ll see your PivotTables and data as they appeared when the workbook was last saved, which may not be the latest version of the data. To get the latest data, users must use the Refresh button on the Data ribbon. And since the workbook is connecting to a dataset in Power BI, users attempting to refresh the workbook must sign in to Power BI and install the Excel updates the first time they attempt to update using this method.

Since users need to refresh the dataset, and refresh for external connections is not supported in Excel Online, it’s recommended that users open the workbook in the desktop version of Excel on their computer.


Administrators for Power BI tenants can use the Power BI Admin Portal to disable the use of Analyze in Excel with on-premises datasets housed in Analysis Services (AS) databases. When that option is disabled, Analyze in Excel is disabled for AS databases, but continues to be available for use with other datasets.

Other ways to access Power BI datasets from Excel

Users with specific Office SKUs can also connect to Power BI datasets from within Excel by using the Get Data feature in Excel. If your SKU does not support this feature, the Get Data menu option does not appear.

From the Data ribbon menu, select Get Data > From Power BI dataset as shown in the following image.

A pane appears, in which you can browse datasets to which you have access, see if datasets are certified or promoted, and determine whether data protection labels have been applied to those datasets.

For more information about getting data into Excel in this way, see Create a PivotTable from Power BI datasets in the Excel documentation.

You can also access featured tables in Excel, in the Data Types gallery. To learn more about featured tables, and how to access them, see Access Power BI featured tables in Excel (preview).


Here are some requirements for using Analyze in Excel:

  • Analyze in Excel is supported for Microsoft Excel 2010 SP1 and later.
  • Excel PivotTables do not support drag-and-drop aggregation of numeric fields. Your dataset in Power BI must have pre-defined measures. Read about creating measures.
  • Some organizations may have Group Policy rules that prevent installing the required Analyze in Excel updates to Excel. If you’re unable to install the updates, check with your administrator.
  • Analyze in Excel requires that the dataset be in Power BI Premium or that the user have a Power BI Pro license. To learn more about the differences in functionality between license types, take a look at the Power BI features comparison section of Power BI pricing.
  • Users can connect to datasets through Analyze in Excel if they have permission for the underlying dataset. A user could have this permission in a few ways, such as having the Member role in the workspace containing the dataset, or having Build permission for a dataset in a workspace or in an app that contains the dataset. Read more about Build permission for datasets.
  • Guest users can't use Analyze in Excel for datasets sent from (originating from) another tenant.
  • Analyze in Excel is a Power BI service feature, and isn't available in Power BI Report Server or Power BI Embedded.
  • Analyze in Excel is only supported on computers running Microsoft Windows.

If you need to uninstall the Analyze in Excel feature, use the Add or remove programs system setting on your computer.

Limitations and considerations

  • Row-level security (RLS) is supported for Analyze in Excel. RLS is enforced at the data-model level, and is always applied to all users accessing data in the report. Read more about row-level security.
  • There may be times when using Analyze in Excel that you get an unexpected result, or the feature doesn't work as you expected. See Troubleshoot Analyze in Excel for solutions to common issues.

Next steps

You might also be interested in the following articles:

  • Access Power BI featured tables in Excel (preview).

Analyze in Excel for Power BI Desktop is an external tool for Power BI Desktop that with a single click creates a new Excel PivotTable connected to the data hosted in Power BI Desktop.

By installing Analyze in Excel for Power BI Desktop, you can install a dedicated external tool that creates an Excel file connected to the data in the Power BI Desktop model.

When you have a data model in your PBIX file, by clicking on Analyze in Excel you open a new Excel file connected to the data model hosted in Power BI Desktop.

Now you can navigate the Power BI model using an Excel PivotTable.


You will experience several limitations when using the Analyze in Excel for Power BI Desktop external tool:

  • You cannot close the Power BI Desktop window.
    • The connection to Power BI Desktop is lost as soon as you close the Power BI Desktop window.
    • If you refresh or navigate the PivotTable after you close Power BI Desktop, you get a connection error.
  • You can save the Excel file, but you cannot refresh it.
    • Same problem as described in the previous point: the connection changes every time you close and open Power BI Desktop.

Notes about previous versions

Versions 1.0.x of this tool was saving the connection string into an ODC file, which was following opened by Excel. This technique is also used in following versions if the alternative technique to create a new model in Excel fails for any reson.
If you use a version saving the ODC file, the following warning is displayed as a standard security measure because Excel does not automatically trust the ODC file containing the connection.

Power Bi For Excel 2010

You can safely click Enable, or you can open the ODC file with Notepad to make sure that there is no malicious content in there. The AnalyzeInExcel.odc file is created by the tool to establish the connection between Excel and Power BI Desktop.


The Analyze in Excel for Power BI Desktop tool is entirely free and open-source with MIT license. You can find the source code at https://github.com/sql-bi/AnalyzeInExcel.

The code and the installer are built and digitally signed by SQLBI. This way, as an end user you can have the tool available in your Power BI Desktop in just a few seconds.

Power Bi For Excel Users

If you are a developer and you want to contribute to the project, you are very welcome to do so. Read the following sections for ideas for future versions.

Future possible directions

Power Bi Excel Add In

The first version of this tool was a relatively simple project. Future versions of this tool could have the following features:

  • Create Excel Report: instead of creating an empty Excel file, create an Excel file starting from a template.
  • Open Excel Report: instead of creating a new Excel file, open an existing Excel file and replace the connection so that it works with the current Power BI Desktop window.
  • Excel Add-in to connect to Power BI Desktop: Excel opens the Power BI Desktop file that is necessary to establish a connection – a connection created in a previous session started by Analyze in Excel for Power BI Desktop.

Using Power Bi In Excel

The implementation of these additional features depends on people’s contributions. Additional contributors would be greatly appreciated. If you know C# and VSTO and you love Power BI and Excel, this project is for you!