Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.