61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
table Dim_PrescriptionSource
|
|
lineageTag: 953c3d2a-0eeb-4153-8348-907f82bf6413
|
|
|
|
column DATA_SOURCE
|
|
dataType: string
|
|
lineageTag: fbf0b858-2561-4edf-a5e4-4de7b511fbbd
|
|
summarizeBy: none
|
|
sourceColumn: DATA_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PRESCRIPTION_SOURCE = [PRESCRIPTION_TYPE] & [DATA_SOURCE]
|
|
lineageTag: 73cfe048-18e6-49af-9eb6-14879cf014ef
|
|
summarizeBy: none
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PRESCRIPTION_TYPE
|
|
dataType: string
|
|
lineageTag: 94eaea46-0a0d-42dd-b4be-3613754aa809
|
|
summarizeBy: none
|
|
sourceColumn: PRESCRIPTION_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Dim_PrescriptionSource = m
|
|
mode: import
|
|
queryGroup: OLD\非首页
|
|
source = ```
|
|
let
|
|
Source =
|
|
Value.NativeQuery(
|
|
Databricks.Catalogs(
|
|
ServerAddress, HttpPath, [
|
|
Catalog = CatalogName,
|
|
Database = null,
|
|
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
|
|
]
|
|
){
|
|
[Name = CatalogName, Kind = "Database"]
|
|
}[Data],
|
|
"
|
|
SELECT DISTINCT A.PRESCRIPTION_SOURCE PRESCRIPTION_TYPE,A.DATA_SOURCE FROM DM.DM_TF_EXTERNAL_SALES A
|
|
"
|
|
& UsingLimit,
|
|
null,
|
|
[
|
|
EnableFolding = true
|
|
]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_ResultType = Table
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation TabularEditor_TableGroup = 04_DimTable
|
|
|