109 lines
2.5 KiB
Plaintext
109 lines
2.5 KiB
Plaintext
table Dim_PackInfo_Total
|
|
lineageTag: 8bea7a10-d14d-4c7a-8199-365d12811eca
|
|
|
|
column PACK_COD
|
|
dataType: string
|
|
lineageTag: 51d27cee-ae92-407e-95ba-c213c5984953
|
|
summarizeBy: none
|
|
sourceColumn: PACK_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PROD_COD
|
|
dataType: string
|
|
lineageTag: 4afe1097-2c68-4adb-b3de-baffdc15a19a
|
|
summarizeBy: none
|
|
sourceColumn: PROD_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PROD_DES
|
|
dataType: string
|
|
lineageTag: 8b229ec4-91e6-4344-b5c6-2452d28d9f99
|
|
summarizeBy: none
|
|
sourceColumn: PROD_DES
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PROD_DES_C
|
|
dataType: string
|
|
lineageTag: 51c41bf5-7651-4e9d-bd30-428e9d78f74d
|
|
summarizeBy: none
|
|
sourceColumn: PROD_DES_C
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CMPS_DES
|
|
dataType: string
|
|
lineageTag: fb9f9c15-c261-4e27-8719-2cf2b4fd377c
|
|
summarizeBy: none
|
|
sourceColumn: CMPS_DES
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CMPS_DES_C
|
|
dataType: string
|
|
lineageTag: 80500c33-3a32-4fa7-8068-8072e88e2346
|
|
summarizeBy: none
|
|
sourceColumn: CMPS_DES_C
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CORP_COD
|
|
dataType: string
|
|
lineageTag: 1f5ec6ff-e5d2-4cac-9cfe-4e70c5ae1fc6
|
|
summarizeBy: none
|
|
sourceColumn: CORP_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Dim_PackInfo_Total = 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
|
|
T1.PACK_COD,
|
|
MAX(T1.PROD_COD) AS PROD_COD,
|
|
MAX(T1.PROD_DES) AS PROD_DES,
|
|
MAX(T1.PROD_DES_C) AS PROD_DES_C,
|
|
MAX(T1.CMPS_DES) AS CMPS_DES,
|
|
MAX(T1.CMPS_DES_C) AS CMPS_DES_C,
|
|
MAX(T1.CORP_COD) AS CORP_COD
|
|
FROM
|
|
DM.dm_td_external_packinfo T1
|
|
WHERE
|
|
t1.PROD_COD IS NOT NULL
|
|
AND T1.PACK_COD IS NOT NULL
|
|
GROUP BY
|
|
T1.PACK_COD
|
|
"
|
|
& UsingLimit,
|
|
null,
|
|
[
|
|
EnableFolding = true
|
|
]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_ResultType = Table
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation TabularEditor_TableGroup = 04_DimTable
|
|
|