3+ Ways to Connect Excel to Databricks

Last modified date

Since all roads lead to Excel, this blog is inevitable. At the time of writing, there are mainly three ways to let business Excel users consume the data in Databricks.

1.   Connecting through ODBC Driver

If you google “connect Excel to Databricks”, this is the documentation you will find. It requires your end users to install ODBC driver on their local computer and then uses Excel’s ODBC connector to consume the data in Databricks. In case your end users are up for setting up ODBC drivers, here is a tutorial that goes through it.

Pros: 

  • The official solution to connect to Excel at the time of writing.
  • Access directly from Excel.

Cons:

  • Requires individual setup for ODBC driver.
  • Unsuitable for non-technical end users.

2.   Connecting through Delta Share Excel Plug-in

Roughly a year ago, a Delta Share plug-in for Excel was released. This is not native in Excel, you will need to install the plug-in from here. The plug-in also has a freemium model. Basic features are free (importing up to 1000 rows), but premium features require individual or enterprise license. Since most users will likely need more than 1000 rows of data. Licensing cost needs to be taken into consideration. The general flow of this connectivity follows below steps. 

For Provider: 

  1. Create a share
  2. Add assets to the share
  3. Add a recipient
  4. Grant recipient access to share
  5. Provide recipient with an activation URL

For end users:

  1. Download the credential file using the activation URL
  2. Download plug-in
  3. Connect to the share using the credential file in Excel 
  4. Import data in Excel 

Pros:

  • Access directly from Excel

Cons:

  • 3rd party 
  • (Most likely) licensing cost
  • Requires individual setup for Excel plug-in

3.   Connecting through Power BI Dataset

The third solution is the connecting Excel to Databricks via Power BI dataset. This solution leverages the tight integration between Excel and Power BI. Power BI can connect to Databricks using either Databricks connector or Delta Share connector, and Excel users can consume the dataset published to Power BI using either “Analyze in Excel” feature in Power BI or the “Get Data from Power BI dataset” feature in Excel. Simon from Advancing Analytics did an awesome video on this connection type. Please note that in this video Simon is using the Delta Share connector, but using Databricks connector to access Databricks SQL warehouse is the more common (and recommended) way to integrate Power BI and Databricks. 

Pros:

  • No setup needed for end users
  • Additional measures/calculations can be added to Power BI dataset
  • Datasets can be certified in Power BI

Cons:

  • Requires Power BI
  • Additional setup step to publish dataset to Power BI

+ Connecting through other Commercial Solutions 

Above three solutions are not the only ways to connect Excel to Databricks. Some commercial solutions like AtScale and Alteryx also offer Excel-Databricks connectivity, but those typically means additional layer in between Excel and Power BI. Unless you are already using these commercial solutions, consider the three solutions described in this blog first.


Discover more from Data Leaps

Subscribe to get the latest posts sent to your email.

Share