Microsoft Power BI Desktopedit

You can use the Elasticsearch ODBC driver to access Elasticsearch data from Microsoft Power BI Desktop.

Elastic does not endorse, promote or provide support for this application; for native Elasticsearch integration in this product, please reach out to its vendor.

Prerequisitesedit

Data loadingedit

First, you’ll need to choose ODBC as the source to load data from. Once launched, click on the Get Data button (under Home tab), then on the More…​ button at the bottom of the list:

Get Data / More…​apps pbi fromodbc1

In the new opened window scroll at the bottom of the All list and select the ODBC entry, then click on the Connect button:

ODBC / Connectapps pbi fromodbc2

This will replace current window with a new From ODBC one, where you’ll have to select a previously configured DSN:

Choose a DSNapps pbi dsn

Once connected Power BI will read Elasticsearch’s catalog and offer the user a choice of tables (indices) to load data from. Clicking on one of the tables will load a preview of the data within:

Pick table to loadapps pbi picktable

Now tick the chosen table and click on the Load button. Power BI will now load and analyze the data, populating a list with the available columns. These can now be used to build the desired visualisation:

Visualize the dataapps pbi loaded