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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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