This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I'm connecting to Databricks via the Azure Databricks connector in my Power BI Dataset. When I query the data for this table (factopensalesorderinventorylines) in Import mode, all the records are duplicated. When I query the same data from Databricks in Direct Query, there is no duplication.
Import Mode Power Query M:
let
Source = Databricks.Contents(
"nautilus-prod.cloud.databricks.com",
" /sql/1.0/endpoints/e8fe3e2cc3c02229",
[Database = null, EnableExperimentalFlagsV1_0_7 = null]
),
SPARK_Database = Source{[Name = "SPARK", Kind = "Database"]}[Data],
supplychain_Schema = SPARK_Database{[Name = "supplychain", Kind = "Schema"]}[Data],
factopensalesorderinventorylines_Table = supplychain_Schema
{[Name = "factopensalesorderinventorylines", Kind = "Table"]}
[Data]
in
factopensalesorderinventorylines_Table
Direct Query Power Query M (identical):
let
Source = Databricks.Contents(
"nautilus-prod.cloud.databricks.com",
" /sql/1.0/endpoints/e8fe3e2cc3c02229",
[Database = null, EnableExperimentalFlagsV1_0_7 = null]
),
SPARK_Database = Source{[Name = "SPARK", Kind = "Database"]}[Data],
supplychain_Schema = SPARK_Database{[Name = "supplychain", Kind = "Schema"]}[Data],
factopensalesorderinventorylines_Table = supplychain_Schema
{[Name = "factopensalesorderinventorylines", Kind = "Table"]}
[Data]
in
factopensalesorderinventorylines_Table
Duplicates:
I'm not doing any transformations on the data. There's no difference in the Import vs. Direct Query queries. I'm connecting to a Databricks database via SQL endpoint. Any ideas at all on what's happening here and how to fix it?
My Power BI version is 2.96.901.0 64-bit (August 2021).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.