Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am attempting to use the azure databricks connection but instead of searching for a table I want to use a query. However, even though I am throwing in a very simple query that works in my databricks notebook I am getting the error "The key didn't match any rows in the table"
I have tried just using a from clause that has the catalog, db, table and one with just the table.
Is there some special way to get queries to work against azure databricks using that connector?
Solved! Go to Solution.
Hi @Don-Bot ,
If I'm not mistaken you need to define the default catalog on the Databvricks connection when using a query, even if it's not the catalog you want to use on the sql query just add one on the connection string.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Don-Bot ,
If I'm not mistaken you need to define the default catalog on the Databvricks connection when using a query, even if it's not the catalog you want to use on the sql query just add one on the connection string.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix ,
I have done that and it willl error if it ry to remove catalog.
and then i get
If I modify what i have a little bit. IE: Put in the db in the query and remove it from the above list I get
a working query..... I swear it didn't work when I was testing this....
Hi @Don-Bot ,
This is very picky you when you want to use a query you need to define the optional fields but also add them to the query.
What I have done in my use cases I have made parameter for each one and a SQLQuery line to be pickedup that way when I want to update everything I just need to change the parameters.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix ,
I agree on the parameters, and for my other models I am heavily invested in the parameters but I'm not using queries. Just pointing to already created tables/views. This was a special need and was trying to setup a dummy pbi to make sure it would work.
Quite annoying but thanks for the help.