Skip to content

Connecting to Microsoft Power BI

Before you begin

In order to connect to Okera's Presto endpoint via Power BI you will need the following:

  • Presto ODBC Driver
  • Okera's Presto Host/Port
  • Your authentication credentials (depending on what your cluster is setup to authenticate with this could be LDAP or JWT)

Download the Presto ODBC driver

You will need to download a Presto ODBC driver in order to connect to Power BI. You can download a free version from Tableau by selecting "Presto" and then "Windows" from Tableau's drivers page. Download the last option on the page for Tableau Desktop and Server. Alternatively you can also purchase Simba's Presto ODBC Driver.

Setting up the DSN (Data Source Name)

The next step in configuring the Presto ODBC driver is setting up the DSN.

  1. Open up the ODBC Data Sources App (odbcad64.exe) on Windows

    ODBC driver setup

  2. Navigate to System DSN tab and press Add.

  3. Select the Simba Presto ODBC Driver.

  4. Specify a data source name and description for Data Source Name and Description.

  5. For Authentication Type select LDAP Authentication.

  6. Enter your username and password in the User and Password fields. Your password will be either your LDAP credentials or your token (depending on how your Okera cluster is configured). If it is a token, you can copy your token by clicking on user profile icon in the bottom left corner of the Okera UI.

    Copy token from Okera Web UI

  7. The Host and Port information should correspond to Okera's Presto endpoint host and its port (the default is 14050). You can find these on the *System page in the Okera UI.

  8. For Catalog, specify okera.

Windows Presto ODBC Driver config
  1. SSL configuration: If your Okera cluster uses an SSL certificate from a trusted Certificate Authority, you only need to make sure Enable SSL is selected. If you have a self-signed certificate, you’ll need to configure the Simba driver to accept self-signed certificates.

    Windows Presto ODBC Driver config SSL

Connecting in Power BI

  1. In Power BI press Get Data, and click More

  2. Navigate to Other and select ODBC.

    Power BI Connection Window

  3. Select the Simba Presto DSN (or whatever name you specified above). Optionally, specify a query. Otherwise select OK and select the datasets to load.

    Note: When specifying a query, do not include a semicolon at the end.

    Power BI ODBC DSN Power BI ODBC DSN