60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
table Config_TA_Countrows
|
|
lineageTag: cf62265a-7b9b-42eb-9496-f057dd282902
|
|
|
|
column count_all_ta
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 91e2eb9b-8775-4b39-8f7a-4f0f5e452b8a
|
|
summarizeBy: sum
|
|
sourceColumn: count_all_ta
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Config_TA_Countrows = 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
|
|
count(1) as count_all_ta
|
|
from
|
|
(
|
|
SELECT
|
|
MARKET,
|
|
TA,
|
|
TA_MAP,
|
|
TA_RN,
|
|
MARKET_DESC,
|
|
DATA_SOURCE
|
|
FROM
|
|
dm.dm_td_ext_unionall_market_ta
|
|
WHERE
|
|
TA <> ''
|
|
OR TA_MAP <> ''
|
|
)
|
|
"
|
|
& UsingLimit,
|
|
null,
|
|
[EnableFolding = true]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation PBI_ResultType = Exception
|
|
|