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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Changing Data Source - Databricks SQL Endpoint

Hi, I am connecting Direct Query to Databricks SQL Endpoint from PowerBI. 

 

Now when I connect vis Sql server, I can change the Data Srouce - Data Source Settings - Change Source - so I can re-point the report to sql Quality to Pre-prod 

But that option is Greyed out when I try to do it for Databricks SQL Endpoint. Any other way pls. 

I also checked the option of Downloading the .PBID connection file, but when I try to open that - it always opens a fresh file in desktop. 

Please help. Otherwise, I will need to end up doing all Modelling again for each SQL Endpoint. 

 

Kind regards

Krishna

 

 

4 REPLIES 4
MFelix
Super User
Super User

Hi @Anonymous ,

 

I advise that you create a parameter where you define the acces information for the databricks and then you can change the different enviroments using that parameter.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Anonymous
Not applicable

Hi @MFelix Thanks for your interest, any blogs on how to go about pls. I did parameters for SQL Server Server and DB so I can pick and choose which one to point to. But in DBX am not getting that option to choose from Parameters. Pls is there any MSFT documentation specific to DBX connection Parameterization - Many thanks 

Hi @Anonymous ,

 

Has you refer the option to have parameters on the Databricks is not available directly but you can create the parameters with the options in this case the Server Name and the HTTP path, and then enter on the Advance Editor and replace the values that is text by the parameter name.

 

You would have in the first stepd something similar to this:

 

= Databricks.Query (Parameter1, Parameter2)


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





srush
Frequent Visitor

As per the documentation, Databricks.Query does not support DirectQuery mode. Do you know any other way we can change the databricks connection details?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors