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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
iadalugama
Microsoft Employee
Microsoft Employee

How to connect to Azure Databricks from a DataFlow/Datamart(Preview) within the PBI Service

How to connect to Azure Databricks(SQL End Point) from a Dataflow/Datamart (Preview) within the PBI Service and create Reports. With this approach most of the customers can rely on WebUI for all the development (data transformation/ modeling / report and dashboarding)

 
First will create the PowerBI Datamart

(Announcing public preview of Datamart in Power BI https://powerbi.microsoft.com/en-us/blog/announcing-public-preview-of-datamart-in-power-bi/)

  1. Go to Power BI premium workspace
    Click on the New, and from the list, select Datamart.

 

iadalugama_0-1653951172231.png

 

 

  1. You can start by getting data from a dataflow, Excel or SQL Server or there are more than 150 sources. By selecting the Get data from another source. you will get the Spark Connector

iadalugama_1-1653951172236.png

 

  1. Connect Azure Databricks SQL End point using PBI dataflow/Datamart

Use the 'Spark other' connector.

Set 'Server' as: https://SERVER_HOSTNAME:443/HTTP_PATH where SERVER_HOSTNAME and HTTP_PATH have been replaced appropriately.

Set 'Protocol' as: HTTP.

Set 'Username' as 'token'.

Set 'Password' as your token.

A guide to getting your server hostname and http path can be found here:

https://docs.databricks.com/integrations/bi/jdbc-odbc-bi.html

A guide to creating a token can be found here:

https://docs.databricks.com/dev-tools/api/latest/authentication.html

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @iadalugama, just setting up a dataflow to Unity Catalog. There doesn't seem to be the option to add a native query as there is in Power BI Desktop. Is this by design or am I just missing this option there?

I had similar question. Did you find an answer?

v-zhangti
Community Support
Community Support

Hi, @iadalugama 

 

Thank you for sharing. You can mark your post as the solution, so that your post will be searched more easily.

 

Best Regards

Hi ,

Please let me know how to do it. I'm new to  the forum.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.