153 lines
8.3 KiB
Plaintext
153 lines
8.3 KiB
Plaintext
table Fields_Rows_NIAD
|
|
lineageTag: 93cb2a9f-c0ab-4896-be80-d30f94a8d754
|
|
|
|
column Fields_Rows_NIAD
|
|
lineageTag: eb222f19-fad4-4219-a6cc-a3f8fab05fbd
|
|
summarizeBy: none
|
|
sourceColumn: [Value1]
|
|
sortByColumn: 'Fields_Rows_NIAD Order'
|
|
|
|
relatedColumnDetails
|
|
groupByColumn: 'Fields_Rows_NIAD Fields'
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column 'Fields_Rows_NIAD Fields'
|
|
isHidden
|
|
lineageTag: b9182791-bcf5-4571-bd71-6676de702ac1
|
|
summarizeBy: none
|
|
sourceColumn: [Value2]
|
|
sortByColumn: 'Fields_Rows_NIAD Order'
|
|
|
|
extendedProperty ParameterMetadata =
|
|
{
|
|
"version": 3,
|
|
"kind": 2
|
|
}
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column 'Fields_Rows_NIAD Order'
|
|
isHidden
|
|
formatString: 0
|
|
lineageTag: 8a042bf7-07a8-4040-a283-8c63db4fdba1
|
|
summarizeBy: sum
|
|
sourceColumn: [Value3]
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column 'Fields Category'
|
|
lineageTag: 27105bfb-4f77-46ec-b501-25e366a2b61a
|
|
summarizeBy: none
|
|
sourceColumn: [Value4]
|
|
sortByColumn: 'Fields Category Order'
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column 'Fields Category Order'
|
|
lineageTag: 5c2297d4-b3ce-4701-a6d5-f485eb766c7d
|
|
summarizeBy: sum
|
|
sourceColumn: [Value5]
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
|
|
|
partition Fields_Rows_NIAD = calculated
|
|
mode: import
|
|
source = ```
|
|
|
|
{
|
|
( "Data Source", NAMEOF ( 'Dim_DataSource'[SOURCENAME] ), 990, "KeepSelected",0 ),
|
|
( "Value Type", NAMEOF ( 'Dim_Unit'[DW] ), 991, "KeepSelected",0 ),
|
|
|
|
( "YEAR", NAMEOF ( Dim_Calendar[YEAR] ), 102, "Period",1 ),
|
|
( "YYYYHH", NAMEOF ( Dim_Calendar[HALF_YEAR] ), 103, "Period",1 ),
|
|
( "YYYYQQ", NAMEOF ( Dim_Calendar[YEAR_QUATER] ), 104, "Period",1 ),
|
|
( "YYYYMM", NAMEOF ( Dim_Calendar[YYYYMM] ), 105, "Period",1 ),
|
|
|
|
( "TA", NAMEOF ( 'Dim_MarketTA'[TA] ), 211, "Market & Product",2 ),
|
|
( "Market", NAMEOF ( 'Dim_Market'[MARKET] ), 212, "Market & Product",2 ),
|
|
( "Class", NAMEOF ( Dim_Class[Class] ), 213, "Market & Product",2 ),
|
|
( "Molecule CN", NAMEOF ( Dim_PackInfo[CMPS_DES_C] ), 214, "Market & Product",2 ),
|
|
( "Molecule EN", NAMEOF ( Dim_PackInfo[CMPS_DES] ), 215, "Market & Product",2 ),
|
|
|
|
( "Brand CN", NAMEOF ( 'Dim_PackInfo'[PROD_DES_C] ), 220, "Market & Product",2 ),
|
|
( "Brand EN", NAMEOF ( 'Dim_PackInfo'[PROD_DES] ), 221, "Market & Product",2 ),
|
|
( "Package EN", NAMEOF ( Dim_PackInfo[PACK_DES] ), 222, "Market & Product",2 ),
|
|
( "Package Code", NAMEOF ( Dim_PackInfo[PACK_COD] ), 223, "Market & Product",2 ),
|
|
( "Pack_LCH", NAMEOF ( Dim_PackInfo[PACK_LCH] ), 224, "Market & Product",2 ),
|
|
( "VBP", NAMEOF ( Dim_PackInfo[VBP_DESC] ), 225, "Market & Product",2 ),
|
|
( "VBP(Brand)", NAMEOF ( Dim_PackInfo[VBP_BRAND] ), 226, "Market & Product",2 ),
|
|
( "Key Brand", NAMEOF ( Dim_KeyCompetitor[KEY_COMPETITOR] ), 227, "Market & Product",2 ),
|
|
( "Originator/Generics", NAMEOF ( Dim_PackInfo[GENE_ORIG_DESC] ), 228, "Market & Product",2 ),
|
|
|
|
( "ATC1", NAMEOF ( Dim_PackInfo[ATC1_CODE_DESC] ), 230, "Market & Product",2 ),
|
|
( "ATC2", NAMEOF ( Dim_PackInfo[ATC2_CODE_DESC] ), 231, "Market & Product",2 ),
|
|
( "ATC3", NAMEOF ( Dim_PackInfo[ATC3_CODE_DESC] ), 232, "Market & Product",2 ),
|
|
( "ATC4", NAMEOF ( Dim_PackInfo[ATC4_CODE_DESC] ), 233, "Market & Product",2 ),
|
|
( "NFC1", NAMEOF ( Dim_PackInfo[APP1_COD_DES_C] ), 234, "Market & Product",2 ),
|
|
( "NFC2", NAMEOF ( Dim_PackInfo[APP2_COD_DES_C] ), 235, "Market & Product",2 ),
|
|
( "NFC3", NAMEOF ( Dim_PackInfo[APP3_COD_DES_C] ), 236, "Market & Product",2 ),
|
|
|
|
( "Platform(EC)", NAMEOF ( Dim_PlatformMID[PLATFORM_TYPE] ), 286, "Market & Product",2 ),
|
|
( "Store Type(EC)", NAMEOF ( Dim_StoreTypeMID[STORE_TYPE] ), 287, "Market & Product",2 ),
|
|
( "Store Name(EC)", NAMEOF ( Dim_Store[STORE_NAME] ), 288, "Market & Product",2 ),
|
|
|
|
( "STGH DESC", NAMEOF ( 'Dim_PackInfo'[STGH_DES] ), 241, "更多字段",5.5 ),
|
|
( "BIO DESC", NAMEOF ( 'Dim_PackInfo'[BIO_DESC] ), 242, "更多字段",5.5 ),
|
|
( "ETH OTC DESC", NAMEOF ( 'Dim_PackInfo'[ETH_OTC_DESC] ), 243, "更多字段",5.5 ),
|
|
( "NRDL DESC", NAMEOF ( 'Dim_PackInfo'[NRDL_DESC] ), 244, "更多字段",5.5 ),
|
|
( "NRDL EntryDate", NAMEOF ( 'Dim_PackInfo'[NRDL_ENTRY_DATE] ), 245, "更多字段",5.5 ),
|
|
( "EDL DESC", NAMEOF ( 'Dim_PackInfo'[EDL_DESC] ), 246, "更多字段",5.5 ),
|
|
( "TCM DESC", NAMEOF ( 'Dim_PackInfo'[TCM_DESC] ), 247, "更多字段",5.5 ),
|
|
( "Manufacturer Code", NAMEOF ( 'Dim_PackInfo'[MANU_COD] ), 248, "更多字段",5.5 ),
|
|
( "Manufacturer中文", NAMEOF ( 'Dim_PackInfo'[MANU_DES_C] ), 249, "更多字段",5.5 ),
|
|
( "PAED DESC", NAMEOF ( 'Dim_PackInfo'[PAED_DESC] ), 250, "更多字段",5.5 ),
|
|
( "GQCE DESC", NAMEOF ( 'Dim_PackInfo'[GQCE_DESC] ), 251, "更多字段",5.5 ),
|
|
( "MNFL Code", NAMEOF ( 'Dim_PackInfo'[MNFL_COD] ), 252, "更多字段",5.5 ),
|
|
( "Molecule Code", NAMEOF ( 'Dim_PackInfo'[CMPS_COD] ), 253, "更多字段",5.5 ),
|
|
( "Brand Code", NAMEOF ( 'Dim_PackInfo'[PROD_COD] ), 254, "更多字段",5.5 ),
|
|
( "ATC1 DES", NAMEOF ( 'Dim_PackInfo'[ATC1_DES] ), 255, "更多字段",5.5 ),
|
|
( "ATC2 DES", NAMEOF ( 'Dim_PackInfo'[ATC2_DES] ), 256, "更多字段",5.5 ),
|
|
( "ATC3 DES", NAMEOF ( 'Dim_PackInfo'[ATC3_DES] ), 257, "更多字段",5.5 ),
|
|
( "ATC4 DES", NAMEOF ( 'Dim_PackInfo'[ATC4_DES] ), 258, "更多字段",5.5 ),
|
|
( "NFC1 DES", NAMEOF ( 'Dim_PackInfo'[APP1_DES] ), 259, "更多字段",5.5 ),
|
|
( "NFC2 DES", NAMEOF ( 'Dim_PackInfo'[APP2_DES] ), 260, "更多字段",5.5),
|
|
( "NFC3 DES", NAMEOF ( 'Dim_PackInfo'[APP3_DES] ), 261, "更多字段",5.5),
|
|
( "VBP_BATCH", NAMEOF ( 'Dim_PackInfo'[VBP_BATCH] ), 262, "更多字段",5.5 ),
|
|
( "VBP_IMPLEMENTING_TIME", NAMEOF ( 'Dim_PackInfo'[VBP_IMPLEMENTING_TIME] ), 263, "更多字段",5.5 ),
|
|
|
|
( "Corp Code", NAMEOF ( 'Dim_PackInfo'[CORP_COD] ), 411, "Corporation",1.5),
|
|
( "Corp EN", NAMEOF ( 'Dim_PackInfo'[CORP_DES] ), 412, "Corporation",1.5),
|
|
( "Corp CN", NAMEOF ( 'Dim_PackInfo'[CORP_DES_C] ), 413, "Corporation",1.5),
|
|
( "MNC_LOCAL", NAMEOF ( Dim_PackInfo[CORP_TYPE] ), 414, "Corporation",1.5),
|
|
( "Manufacturer", NAMEOF ( Dim_PackInfo[MANU_DES] ), 415, "Corporation",1.5),
|
|
|
|
|
|
( "产品ID", NAMEOF ( 'Dim_PackInfo_Retail'[product_id] ), 611, "Retail/EC原始字段",6 ),
|
|
( "OTC/RX", NAMEOF ( 'Dim_PackInfo_Retail'[prescription_nature] ), 612, "Retail/EC原始字段",6 ),
|
|
( "中西药", NAMEOF ( 'Dim_PackInfo_Retail'[medicine_type] ), 613, "Retail/EC原始字段",6 ),
|
|
( "细分1", NAMEOF ( 'Dim_PackInfo_Retail'[zk_medicine_tier1] ), 614, "Retail/EC原始字段",6 ),
|
|
( "细分2", NAMEOF ( 'Dim_PackInfo_Retail'[zk_medicine_tier2] ), 615, "Retail/EC原始字段",6 ),
|
|
( "细分3", NAMEOF ( 'Dim_PackInfo_Retail'[zk_medicine_tier3] ), 616, "Retail/EC原始字段",6 ),
|
|
( "细分4", NAMEOF ( 'Dim_PackInfo_Retail'[zk_medicine_tier4] ), 617, "Retail/EC原始字段",6 ),
|
|
( "通用名", NAMEOF ( 'Dim_PackInfo_Retail'[common_name] ), 618, "Retail/EC原始字段",6 ),
|
|
( "剂型", NAMEOF ( 'Dim_PackInfo_Retail'[dosage_form] ), 619, "Retail/EC原始字段",6 ),
|
|
( "对象", NAMEOF ( 'Dim_PackInfo_Retail'[user_type] ), 620, "Retail/EC原始字段",6 ),
|
|
( "品名", NAMEOF ( 'Dim_PackInfo_Retail'[category_name] ), 621, "Retail/EC原始字段",6 ),
|
|
( "商品名", NAMEOF ( 'Dim_PackInfo_Retail'[product_name] ), 622, "Retail/EC原始字段",6 ),
|
|
( "品牌", NAMEOF ( 'Dim_PackInfo_Retail'[brand_name] ), 623, "Retail/EC原始字段",6 ),
|
|
( "厂家", NAMEOF ( 'Dim_PackInfo_Retail'[zk_manu_des] ), 624, "Retail/EC原始字段",6 ),
|
|
( "集团权益", NAMEOF ( 'Dim_PackInfo_Retail'[zk_corp_des] ), 625, "Retail/EC原始字段",6 ),
|
|
( "规格", NAMEOF ( 'Dim_PackInfo_Retail'[zk_pack_des] ), 626, "Retail/EC原始字段",6 ),
|
|
|
|
( "数字铺货率", NAMEOF ( Fact_Sales_NIAD[DIGITAL_SPREAD_RATE] ), 627, "Retail/EC原始字段",6 ),
|
|
( "加权铺货率", NAMEOF ( Fact_Sales_NIAD[WEIGHTED_SPREAD_RATE] ), 628, "Retail/EC原始字段",6 )
|
|
}
|
|
|
|
```
|
|
|
|
annotation PBI_Id = eb6965f844c14c25b396a93428a3a29c
|
|
|