61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
table Dim_PlatformMID
|
|
lineageTag: 1cd2fd49-62d1-49ca-ac98-218be929baae
|
|
|
|
column PLATFORM_TYPE
|
|
dataType: string
|
|
lineageTag: d3d8ea16-f1b2-41ae-b0a2-4678c075c65c
|
|
summarizeBy: none
|
|
sourceColumn: PLATFORM_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DATA_SOURCE
|
|
dataType: string
|
|
lineageTag: 2791225e-c0a7-421a-88e9-3abdc837d281
|
|
summarizeBy: none
|
|
sourceColumn: DATA_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PLATFORM_TYPE_SOURCE = [PLATFORM_TYPE] & [DATA_SOURCE]
|
|
lineageTag: 411dc2e6-ab8a-4b60-a967-8b9ee8c94ed4
|
|
summarizeBy: none
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Dim_PlatformMID = m
|
|
mode: import
|
|
queryGroup: OLD\EXTERNAL_辅助表
|
|
source = ```
|
|
let
|
|
Source =
|
|
Value.NativeQuery(
|
|
Databricks.Catalogs(
|
|
ServerAddress, HttpPath, [
|
|
Catalog = CatalogName,
|
|
Database = null,
|
|
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
|
|
]
|
|
){
|
|
[Name = CatalogName, Kind = "Database"]
|
|
}[Data],
|
|
"SELECT DISTINCT PLATFORM_TYPE,DATA_SOURCE
|
|
FROM DM.DM_TF_EXTERNAL_SALES A
|
|
WHERE YYYYMM >= (date_format(now(), 'yyyy')-3)*100+1 "
|
|
& UsingLimit,
|
|
null,
|
|
[
|
|
EnableFolding = true
|
|
]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_ResultType = Exception
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation TabularEditor_TableGroup = 04_DimTable
|
|
|