initial
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
table Dim_Dept
|
||||
lineageTag: d4fade06-0fa3-4c36-ac23-2abf52ad9f5e
|
||||
|
||||
column DEPT_NAME
|
||||
dataType: string
|
||||
lineageTag: d73d87c6-4eef-45ea-b013-ee396bb7b5ed
|
||||
summarizeBy: none
|
||||
sourceColumn: DEPT_NAME
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column DATA_SOURCE
|
||||
dataType: string
|
||||
lineageTag: ea490b69-5de4-4985-9a3e-0b4cb447bfd5
|
||||
summarizeBy: none
|
||||
sourceColumn: DATA_SOURCE
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column DEPT_SOURCE = [DEPT_NAME]&[DATA_SOURCE]
|
||||
lineageTag: 20a6b85e-d31c-4e2d-a454-1a0b73e353a1
|
||||
summarizeBy: none
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column prescription_dept_lv1
|
||||
dataType: string
|
||||
lineageTag: a433685d-d351-4139-a84a-6621057e1883
|
||||
summarizeBy: none
|
||||
sourceColumn: prescription_dept_lv1
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column prescription_dept_lv2
|
||||
dataType: string
|
||||
lineageTag: a873b392-fafb-41e7-b115-e99decf5d20c
|
||||
summarizeBy: none
|
||||
sourceColumn: prescription_dept_lv2
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
partition Dim_Dept = 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
|
||||
prescription_dept_lv1
|
||||
,prescription_dept_lv2
|
||||
,prescription_dept_lv3 DEPT_NAME
|
||||
,'XH Data(Quarterly)' DATA_SOURCE
|
||||
from dm.dm_ext_xiehe_sales"
|
||||
& UsingLimit,
|
||||
null,
|
||||
[
|
||||
EnableFolding = true
|
||||
]
|
||||
)
|
||||
in
|
||||
Source
|
||||
```
|
||||
|
||||
annotation PBI_ResultType = Table
|
||||
|
||||
annotation PBI_NavigationStepName = Navigation
|
||||
|
||||
annotation TabularEditor_TableGroup = 04_DimTable
|
||||
|
||||
Reference in New Issue
Block a user