58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
table Dim_HP_Level
|
|
lineageTag: 71c4ab4e-f05f-473c-a53c-66539329b6ce
|
|
|
|
column H_LEVEL
|
|
dataType: double
|
|
lineageTag: c0604c1d-0370-44f3-bebf-99294286f4de
|
|
summarizeBy: sum
|
|
sourceColumn: H_LEVEL
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column DATA_SOURCE
|
|
dataType: string
|
|
lineageTag: 8b442707-0662-49fd-997e-a0aedcf47138
|
|
summarizeBy: none
|
|
sourceColumn: DATA_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Dim_HP_Level = m
|
|
mode: import
|
|
queryGroup: Dim
|
|
source = ```
|
|
let
|
|
Source = Value.NativeQuery(
|
|
Databricks.Catalogs(
|
|
ServerAddress,
|
|
HttpPath,
|
|
[
|
|
Catalog = CatalogName,
|
|
Database = null,
|
|
EnableAutomaticProxyDiscovery = null,
|
|
EnableQueryResultDownload = "0"
|
|
]
|
|
){[Name = CatalogName, Kind = "Database"]}[Data],
|
|
"
|
|
SELECT DISTINCT
|
|
ROUND(A.H_LEVEL, 0) H_LEVEL,
|
|
A.DATA_SOURCE
|
|
FROM
|
|
DM.DM_TF_EXTERNAL_SALES A
|
|
" & UsingLimit,
|
|
null,
|
|
[EnableFolding = true]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation PBI_ResultType = Exception
|
|
|
|
annotation TabularEditor_TableGroup = 04_DimTable
|
|
|