Microsoft Power BI Desktop

edit

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

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

Prerequisites

edit

Data loading

edit

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 anlyze the data, populating a list with the available columns. These can now be used to build the desired visualisation:

Visualize the dataapps pbi loaded