0415
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
createOrReplace
|
||||
|
||||
table Dim_MarketTA_Total
|
||||
lineageTag: 9828a88e-525f-44ef-8342-ff83d4d771d8
|
||||
|
||||
column MARKET
|
||||
dataType: string
|
||||
lineageTag: 115c4441-f12d-4312-b5e6-4c40e32dc55f
|
||||
summarizeBy: none
|
||||
sourceColumn: MARKET
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column TA
|
||||
dataType: string
|
||||
lineageTag: dd0a146f-2af9-4b0b-adac-06d4616c733d
|
||||
summarizeBy: none
|
||||
sourceColumn: TA
|
||||
sortByColumn: TA_RN
|
||||
|
||||
changedProperty = SortByColumn
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column TA_RN
|
||||
dataType: int64
|
||||
formatString: 0
|
||||
lineageTag: 4573c194-9e45-4e33-9622-afa5083766e8
|
||||
summarizeBy: sum
|
||||
sourceColumn: TA_RN
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column DATA_SOURCE
|
||||
dataType: string
|
||||
lineageTag: be443384-9a16-4578-bd7a-fb950c6d4309
|
||||
summarizeBy: none
|
||||
sourceColumn: DATA_SOURCE
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column MKT_SOURCE = [MARKET] & [DATA_SOURCE]
|
||||
lineageTag: e1aa3578-ae39-426b-ae7d-28db8be01f14
|
||||
summarizeBy: none
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column MARKET_DESC
|
||||
dataType: string
|
||||
lineageTag: 4ec40049-d872-4938-ac9b-116f6ab21241
|
||||
summarizeBy: none
|
||||
sourceColumn: MARKET_DESC
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column TA_SOURCE = [TA] & [DATA_SOURCE]
|
||||
lineageTag: 240ce796-54f0-400d-8e23-9f848c0c7d30
|
||||
summarizeBy: none
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
partition Dim_MarketTA_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 DISTINCT
|
||||
MARKET,
|
||||
TA,
|
||||
TA_RN,
|
||||
MARKET_DESC,
|
||||
DATA_SOURCE
|
||||
FROM
|
||||
dm.dm_td_ext_unionall_market_ta
|
||||
"
|
||||
& UsingLimit,
|
||||
null,
|
||||
[
|
||||
EnableFolding = true
|
||||
]
|
||||
)
|
||||
in
|
||||
Source
|
||||
```
|
||||
|
||||
annotation PBI_ResultType = Exception
|
||||
|
||||
annotation PBI_NavigationStepName = 导航
|
||||
|
||||
annotation TabularEditor_TableGroup = 04_DimTable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user