560 lines
13 KiB
Plaintext
560 lines
13 KiB
Plaintext
table Fact_Sales_Main_CHPA
|
|
lineageTag: 5170a7f9-35e0-4769-8059-5f4f9a4d780a
|
|
|
|
column MARKET
|
|
dataType: string
|
|
lineageTag: e4c3081f-ec98-4c09-9181-61e70bf2f644
|
|
summarizeBy: none
|
|
sourceColumn: MARKET
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column KEY_COMPETITOR
|
|
dataType: string
|
|
lineageTag: ee99248d-32a7-42f9-8244-80f35b6e47fb
|
|
summarizeBy: none
|
|
sourceColumn: KEY_COMPETITOR
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CLASS
|
|
dataType: string
|
|
lineageTag: c167e96c-bf29-4c9f-b957-3eb82d31b588
|
|
summarizeBy: none
|
|
sourceColumn: CLASS
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column YYYYMM
|
|
dataType: string
|
|
lineageTag: fd25af21-6f55-4d01-ab45-6daf1ad96c3b
|
|
summarizeBy: none
|
|
sourceColumn: YYYYMM
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PACK_COD
|
|
dataType: string
|
|
lineageTag: acb84e7c-2e7d-4a03-b3a2-f8580a37178f
|
|
summarizeBy: none
|
|
sourceColumn: PACK_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CORP_COD
|
|
dataType: string
|
|
lineageTag: d1efd225-03c2-4186-b3ef-7d3c10bcee6c
|
|
summarizeBy: none
|
|
sourceColumn: CORP_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column AUDIT_COD
|
|
dataType: string
|
|
lineageTag: ba20e43f-504c-4c20-9f4b-085ef75871f8
|
|
summarizeBy: none
|
|
sourceColumn: AUDIT_COD
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PLATFORM_TYPE
|
|
dataType: string
|
|
lineageTag: e5bf679e-bd99-439c-93e4-864f5c95b1b8
|
|
summarizeBy: none
|
|
sourceColumn: PLATFORM_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column STORE_NAME
|
|
dataType: string
|
|
lineageTag: 675e0b7f-541b-4d4c-b53c-a34219ec3ac5
|
|
summarizeBy: none
|
|
sourceColumn: STORE_NAME
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column STORE_TYPE
|
|
dataType: string
|
|
lineageTag: a3e41e9e-ad67-47df-b0e1-2ffbd43456b3
|
|
summarizeBy: none
|
|
sourceColumn: STORE_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column REGION_TYPE
|
|
dataType: string
|
|
lineageTag: 73b6793c-dd69-44ba-baaa-91bd270c9af5
|
|
summarizeBy: none
|
|
sourceColumn: REGION_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DATA_SOURCE
|
|
dataType: string
|
|
lineageTag: 55446121-d664-4cdf-b10a-a561691877b9
|
|
summarizeBy: none
|
|
sourceColumn: DATA_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PACK_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: acbdaaed-2ec0-4b15-bc9f-3c465ac1277e
|
|
summarizeBy: sum
|
|
sourceColumn: PACK_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PROD_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: e81550c8-3f63-4ea0-a8c0-b55ab886bb07
|
|
summarizeBy: sum
|
|
sourceColumn: PROD_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DTP_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: f3a40279-48e0-4b68-9983-3bd5b74b4b4c
|
|
summarizeBy: sum
|
|
sourceColumn: DTP_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CMPS_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: f2ee2f95-9b2d-4081-ae07-42e85f50b548
|
|
summarizeBy: sum
|
|
sourceColumn: CMPS_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column NEW_CODE
|
|
dataType: string
|
|
lineageTag: 180f2264-297a-4878-a321-54d09fe18f00
|
|
summarizeBy: none
|
|
sourceColumn: NEW_CODE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column INST_CODE
|
|
dataType: string
|
|
lineageTag: 4801e087-2c65-4b0a-bd28-79b601399862
|
|
summarizeBy: none
|
|
sourceColumn: INST_CODE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column AIA_HP_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 67885010-8863-4f24-afa2-08bf5a8d8cae
|
|
summarizeBy: sum
|
|
sourceColumn: AIA_HP_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DEPT_NAME
|
|
dataType: string
|
|
lineageTag: 39bcaecd-d37a-4397-8230-15cfa5440902
|
|
summarizeBy: none
|
|
sourceColumn: DEPT_NAME
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column H_LEVEL
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 0571a340-f398-4542-9f48-2d476ba8a8a6
|
|
summarizeBy: sum
|
|
sourceColumn: H_LEVEL
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column REIMBURSE
|
|
dataType: string
|
|
lineageTag: 9dc65661-5d11-485b-b8dc-9372a760ae31
|
|
summarizeBy: none
|
|
sourceColumn: REIMBURSE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column REIMBURSE_TYPE
|
|
dataType: string
|
|
lineageTag: 0895c36a-f954-43ba-ae88-35b437db72d4
|
|
summarizeBy: none
|
|
sourceColumn: REIMBURSE_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PRESCRIPTION_TYPE
|
|
dataType: string
|
|
lineageTag: 4cc4a5d6-3c16-4480-9b18-6c9e16036ab0
|
|
summarizeBy: none
|
|
sourceColumn: PRESCRIPTION_TYPE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column VA
|
|
dataType: double
|
|
lineageTag: bf905692-ff43-4889-825e-1ba1e2858d3e
|
|
summarizeBy: sum
|
|
sourceColumn: VA
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column UT
|
|
dataType: double
|
|
lineageTag: bcd6cf84-f673-42cd-a951-75d074064b36
|
|
summarizeBy: sum
|
|
sourceColumn: UT
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column CU
|
|
dataType: double
|
|
lineageTag: 24728a2b-a93c-4ed0-ab9b-3804abef9dd9
|
|
summarizeBy: sum
|
|
sourceColumn: CU
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column PT
|
|
dataType: double
|
|
lineageTag: a7606536-88e7-4e78-9a08-0ccf979baf60
|
|
summarizeBy: sum
|
|
sourceColumn: PT
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column SALES_UNIT_CAL
|
|
dataType: double
|
|
lineageTag: 76717599-cc78-48ca-a0ba-2aa63c330135
|
|
summarizeBy: sum
|
|
sourceColumn: SALES_UNIT_CAL
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column SALES_UNIT_CAL_LY
|
|
dataType: double
|
|
lineageTag: 3be33d82-9021-434f-825e-8f8e2b7d8b2f
|
|
summarizeBy: sum
|
|
sourceColumn: SALES_UNIT_CAL_LY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column SALES_VALUE_CAL
|
|
dataType: double
|
|
lineageTag: d65474f8-1d5b-4829-8584-7ae191da647d
|
|
summarizeBy: sum
|
|
sourceColumn: SALES_VALUE_CAL
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column SALES_VALUE_CAL_LY
|
|
dataType: double
|
|
lineageTag: e493fad9-f27d-4135-b741-d460dd332e40
|
|
summarizeBy: sum
|
|
sourceColumn: SALES_VALUE_CAL_LY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column CONUTING_UNIT
|
|
dataType: double
|
|
lineageTag: c9e95e11-541a-4ce4-8503-cf19008e26ba
|
|
summarizeBy: sum
|
|
sourceColumn: CONUTING_UNIT
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column CONUTING_UNIT_LY
|
|
dataType: double
|
|
lineageTag: b02413f4-e26c-44a9-a591-2fdb1a2ca0aa
|
|
summarizeBy: sum
|
|
sourceColumn: CONUTING_UNIT_LY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column PDOT
|
|
dataType: double
|
|
lineageTag: cabde17b-a9cc-472f-afb6-a35af9565547
|
|
summarizeBy: sum
|
|
sourceColumn: PDOT
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column PDOT_LY
|
|
dataType: double
|
|
lineageTag: 7db37631-acc4-4c7c-8e49-f8f6a517a7a9
|
|
summarizeBy: sum
|
|
sourceColumn: PDOT_LY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
column PRESCRIPTION
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: fb4f0c46-71c1-4127-b470-f030887314e0
|
|
summarizeBy: sum
|
|
sourceColumn: PRESCRIPTION
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PRESCRIPTION_LY
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 65de9066-f3ee-4191-bc5f-3956ca66e383
|
|
summarizeBy: sum
|
|
sourceColumn: PRESCRIPTION_LY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column AIA_REMOVE
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 916ee9fc-09eb-46fe-86bc-610de77d1b19
|
|
summarizeBy: sum
|
|
sourceColumn: AIA_REMOVE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MERGEDATA_FLAG
|
|
dataType: string
|
|
lineageTag: b4d5a0fc-ee44-49ea-ba87-9ffee028fcf4
|
|
summarizeBy: none
|
|
sourceColumn: MERGEDATA_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MERGEDATA_FLAG_MKT
|
|
dataType: string
|
|
lineageTag: 13c17c8d-3228-4e11-91db-b102b8e7fbf7
|
|
summarizeBy: none
|
|
sourceColumn: MERGEDATA_FLAG_MKT
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MERGEDATA_FLAG_CHPA_DTP
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 1438ad8f-17b5-40ac-8a58-4ff5eb7e9435
|
|
summarizeBy: sum
|
|
sourceColumn: MERGEDATA_FLAG_CHPA_DTP
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MERGEDATA_FLAG_DTP_NOROC
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 7f1cc593-4619-4305-bd2a-898dcae70f6f
|
|
summarizeBy: sum
|
|
sourceColumn: MERGEDATA_FLAG_DTP_NOROC
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MERGED_DATA_DTP_OTHERS
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: cbd718fe-f4f5-41e9-b292-92702918e566
|
|
summarizeBy: sum
|
|
sourceColumn: MERGED_DATA_DTP_OTHERS
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column EGFR_FLAG
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: 94e315a0-560a-403f-999a-25841c1960fb
|
|
summarizeBy: sum
|
|
sourceColumn: EGFR_FLAG
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DATE_KEY
|
|
dataType: dateTime
|
|
formatString: Long Date
|
|
lineageTag: 923bfc6c-6a36-4bbc-8333-09552887ddb0
|
|
summarizeBy: none
|
|
sourceColumn: DATE_KEY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation UnderlyingDateTimeDataType = Date
|
|
|
|
column PACK_SOURCE
|
|
dataType: string
|
|
lineageTag: 2fe3164b-ba73-43e9-8d11-67a45e635b85
|
|
summarizeBy: none
|
|
sourceColumn: PACK_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column AUDIT_SOURCE
|
|
dataType: string
|
|
lineageTag: da7ff889-fc56-4785-b3f5-3b1ae281f8fa
|
|
summarizeBy: none
|
|
sourceColumn: AUDIT_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column AUDIT_KEY
|
|
dataType: string
|
|
lineageTag: 0024b41e-92c6-4fe1-b102-faa12ee3fbd4
|
|
summarizeBy: none
|
|
sourceColumn: AUDIT_KEY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column CLASS_KEY
|
|
dataType: string
|
|
lineageTag: 9eeabd46-96b7-46d2-b0d0-b7628fd84357
|
|
summarizeBy: none
|
|
sourceColumn: CLASS_KEY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column STORE_TYPE_SOURCE
|
|
dataType: string
|
|
lineageTag: 8b9bd542-d8fe-44e9-8801-417a570a95e1
|
|
summarizeBy: none
|
|
sourceColumn: STORE_TYPE_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column STORE_PLATFORM
|
|
dataType: string
|
|
lineageTag: 98e1f7f1-5d86-4053-8a88-3781174f36e0
|
|
summarizeBy: none
|
|
sourceColumn: STORE_PLATFORM
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column REIMBURSETYPE_SOURCE
|
|
dataType: string
|
|
lineageTag: 570a3b90-9177-4a31-a26d-12b80d819070
|
|
summarizeBy: none
|
|
sourceColumn: REIMBURSETYPE_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column REIMBURSE_SOURCE
|
|
dataType: string
|
|
lineageTag: 172ce234-4289-4a4c-bcab-6140ac248041
|
|
summarizeBy: none
|
|
sourceColumn: REIMBURSE_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PRESCRIPTION_SOURCE
|
|
dataType: string
|
|
lineageTag: e4e104c9-f25a-4ac3-b3a5-1b74334d9650
|
|
summarizeBy: none
|
|
sourceColumn: PRESCRIPTION_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column PLATFORM_TYPE_SOURCE
|
|
dataType: string
|
|
lineageTag: d5e919ac-8901-4af9-8446-ee273a809718
|
|
summarizeBy: none
|
|
sourceColumn: PLATFORM_TYPE_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column DEPT_SOURCE
|
|
dataType: string
|
|
lineageTag: 2d799149-2d92-4b75-a05b-76e655fe0cdf
|
|
summarizeBy: none
|
|
sourceColumn: DEPT_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column INST_SOURCE
|
|
dataType: string
|
|
lineageTag: 23b3a2bf-dc6b-4ac1-a05c-38ce16c45f8c
|
|
summarizeBy: none
|
|
sourceColumn: INST_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column HP_SOURCE
|
|
dataType: string
|
|
lineageTag: d5f7ad97-cb3b-4a55-9213-c5eae958d5e4
|
|
summarizeBy: none
|
|
sourceColumn: HP_SOURCE
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column MARKET_KEY
|
|
dataType: string
|
|
lineageTag: e2ade456-00d5-4e98-8212-954ac7879f55
|
|
summarizeBy: none
|
|
sourceColumn: MARKET_KEY
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
partition Fact_Sales_Main_CHPA = m
|
|
mode: import
|
|
queryGroup: Fact_Sales
|
|
source = ```
|
|
let
|
|
Source = Value.NativeQuery(
|
|
Databricks.Catalogs(
|
|
ServerAddress,
|
|
HttpPath,
|
|
[
|
|
Catalog = CatalogName,
|
|
Database = null,
|
|
EnableAutomaticProxyDiscovery = null,
|
|
EnableQueryResultDownload = "0"
|
|
]
|
|
){[Name = CatalogName, Kind = "Database"]}[Data],
|
|
#"Fact_Sales_SQL"
|
|
& "
|
|
where
|
|
DATA_SOURCE = 'IQVIA-CHPA(Monthly)'
|
|
and yyyymm >= 202501
|
|
"& #"Fact_Sales_SQL_limit"
|
|
& UsingLimit,
|
|
null,
|
|
[EnableFolding = true]
|
|
)
|
|
in
|
|
Source
|
|
```
|
|
|
|
annotation PBI_NavigationStepName = Navigation
|
|
|
|
annotation PBI_ResultType = Exception
|
|
|
|
annotation TabularEditor_TableGroup = 05_FactTable
|
|
|