Files
MarketAnalysis-Rebuild/External All Channel.SemanticModel/definition/tables/Dim_Store.tmdl
2026-04-21 13:36:37 +08:00

51 lines
1.1 KiB
Plaintext

table Dim_Store
lineageTag: e1d0ffd3-8b36-429e-be28-6d10d8f48279
column STORE_NAME
dataType: string
lineageTag: c2f16f0f-7fd0-4ac1-828f-e6e4988ccd65
summarizeBy: none
sourceColumn: STORE_NAME
annotation SummarizationSetBy = Automatic
partition Dim_Store = 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
STORE_NAME
FROM
DM.DM_TF_EXT_EC_SALES
WHERE
DATA_SOURCE = 'EC(Monthly)'
GROUP BY
1
" & UsingLimit,
null,
[EnableFolding = true]
)
in
Source
```
annotation PBI_NavigationStepName = Navigation
annotation PBI_ResultType = Exception
annotation TabularEditor_TableGroup = 04_DimTable