cancel
Showing results for 
Search instead for 
Did you mean: 
Knowledge Sharing Hub
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting data from Databricks into Excel using Databricks Jobs API

nk25
New Contributor II

If you have your data in Databricks, but like to analyse it in Excel, you can use Web API on Power Query. It allows you to not just query an existing table, but also trigger the execution of a PySpark notebook using Databricks Jobs API, and get the data back. This is something I developed for a client recently and thought this might be useful for many data professionals. I have explained the approach in full in my blog post here.

Note that there are other ways to get data from Databricks into Excel; e.g. installing an ODBC driver, or using an SQL endpoint. However, these were not available in my case, because installing a driver wasn't an option, and there was no SQL endpoint available. Using Power Query Web API didn't require any new installation, and also enabled triggering a notebook, which provided more flexibility than other options.

2 REPLIES 2

NandiniN
Databricks Employee
Databricks Employee

 Databricks does have integration options for Excel. 

https://docs.databricks.com/en/integrations/excel.html 

nk25
New Contributor II

Yes but the approach I suggested above does not require installing an ODBC connector (which may not be an option in many companies), and uses Power Query Web API functionality. This gives you flexibility to not just query an existing table, but to execute a notebook and get data back into Excel.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group