How to get data from Azure databricks to Power BI

First, we need to install the Databricks ODBC Driver for windows.

To download and install the Databricks ODBC Driver:

  1. Go to the Databricks ODBC Driver download page.
  2. Select your operating system.

  1. Download.
  2. Extract the downloaded .zip file.

  1. Run the .msi installer.

The driver installs to:

  • Windows 64-bit: C:\Program Files\Databricks ODBC Driver
  • Windows 32-bit: C:\Program Files (x86)\Databricks ODBC Driver
  • macOS: /Library/databricks/databricksodbc
  • Linux: /opt/databricks/databricksodbc

Accept license agreement

 Select destination folder

 

Click on install button to install ODBC drivers



Connect from Power Query Desktop

Open Power BI desktop.

Click on blank report

Click on get data and select Databricks as source as shown below

For Azure Databricks Cluster: Log in to your Azure Databricks workspace, , and expand Advanced options on the Configuration tab to copy the connection details, including Server Hostname, Port, and HTTP Path.


Click on Compute in the sidebar

Select the target cluster from the list under SQL warehouses

Click on server name under SQL warehouses

We can find server host name and HTTP path under connection details

Copy and paste server host name and HTTP path to data source settings as shown below

Change authentication mode to OAuth2 and click on sign in button to login data bricks server

Choose your data source and click on load button to load Power BI desktop

Comments

Popular posts from this blog

Exception deserializing the package "The process cannot access the file because it is being used by another process."

Failed to execute the package or element. Build errors were encountered

SSRS INTERVIEW QUESTIONS