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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

SQL Invoke Function Azure Databricks

Hi All,

 

I remember there is a way to create a SQL invoke function from an Azure Databricks Import connection. I can't remember how to do it or what video I watched on it. I saw that you can connect to the Azure Databricks catalogs, but then you can create a SQL invoke function and just enter your sql into that in the Query Editor to create queries and tables with ease without having to make a new connection for each query and table I need in Azure Databricks connector. Happy to explain further if needed.

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vanessafvg,

 

I figured it out. I'm posting it here so others can use if they have a databricks connection type. All I had to do was replace ="Databricks.Catalog" with = "Databricks.Query" and this allows an invoke function to type sql in the next function

 

skatofiaBAH_0-1726750824345.png

skatofiaBAH_1-1726750934002.png

 

 

https://docs.databricks.com/en/partners/bi/power-bi.html#using-a-custom-sql-query

View solution in original post

2 REPLIES 2
vanessafvg
Community Champion
Community Champion

if you just select databricks as the connection then open up the advanced settings and you can type you query in there

 

maybe i am not understanding?  are you wanting to parameterize the connection? so you can just refer to the parameter?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Hi @vanessafvg,

 

I figured it out. I'm posting it here so others can use if they have a databricks connection type. All I had to do was replace ="Databricks.Catalog" with = "Databricks.Query" and this allows an invoke function to type sql in the next function

 

skatofiaBAH_0-1726750824345.png

skatofiaBAH_1-1726750934002.png

 

 

https://docs.databricks.com/en/partners/bi/power-bi.html#using-a-custom-sql-query

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.