Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yoshihirok
Post Prodigy
Post Prodigy

Can I connect Azure Databricks from Power BI Desktop by DirectQuery?

I want to know, Can I connect Azure Databricks from Power BI Desktop by DirectQuery?

Currently, the data sources for DirectQuery support Apache Spark on Azure HDInsight and Spark.

https://docs.microsoft.com/en-us/power-bi/desktop-directquery-data-sources

 

and, Power BI Desktop will support to analyze 1 trillion rows on Apache Spark.

https://www.microsoft.com/en-us/businessapplicationssummit/video/BAS2018-2172

 

and, Azure Databricks is Apache Spark-based analytics platform

https://azure.microsoft.com/en-us/services/databricks/

 

Therefore, How about Azure Databricks by DirectQuery?

2018-07-31.png

What do you think?

 

Regards,

Yoshihiro Kawabata

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @yoshihirok,

 

Power BI Desktop can be connected directly to an Azure Databricks cluster using the built-in Spark connector (Currently in preview). The connector enables the use of DirectQuery to offload processing to Databricks. For more details, please check the online document.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi,

 

I followed the steps but no luck in connecting databricks from power BI.

getting below error.


Details: "ODBC: ERROR [HY000] [Microsoft][DriverSupport] (1170) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct."

 

any help will be much appreciated.

Thanks

Jith

 

susriram
New Member

Yes, You can connect Azure Databricks from Power BI Desktop by DirectQuery. You need to select Spark connector. I tried in PowerBI November 2018 Version, it's working.

 

FYI, BI Version that I used.

Version: 2.64.5285.741 64-bit (November, 2018)

 

 

v-frfei-msft
Community Support
Community Support

Hi @yoshihirok,

 

Power BI Desktop can be connected directly to an Azure Databricks cluster using the built-in Spark connector (Currently in preview). The connector enables the use of DirectQuery to offload processing to Databricks. For more details, please check the online document.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

The Spark connector is very slow....

 

Queries in Azure Databricks are very fast less than 200ms, but data takes more than 10s to arrive to PowerBI Desktop...

 

Can I do anything to optimize performance?

 

Thank you,

Miguel

Anonymous
Not applicable

This an example of the query on Dax Studio:

 

daxstudio_adb.PNG

 

This is the timings of the Azure Databricks server for the same querie:

 

 

 

spark_adb.PNG

 

Can someone explain me why is so slow.....

 

And its not a network problem, because if you run it from PowerBi Online it will take the same time...

 

Thank you,

Miguel

I'm witnessing the same behaviour; < 2 seconds in Databricks and 10 - 20 seconds in Power BI.  Have spent many hours trying to troublehsoot unsuccessfully.

Thank you @v-frfei-msft for your nice information

 

Awesome, Power BI Desktop can connect the data on Azure Databricks as DirectQuery

Just, I'm looking the information for share with partners, friends.

 

Yes, I will check the online document about Power BI Desktop and Azure Databriks.

and, I hope to add the Azure Databricks to data source supported by DirectQuery.

 

Regards,

Yoshihiro Kawabata

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.