0401修改
This commit is contained in:
@@ -209,30 +209,6 @@ table Fact_Sales_THC
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column PACK_CODE
|
||||
dataType: string
|
||||
lineageTag: 1aca511a-879e-45c6-b8fb-9684c9e51a2f
|
||||
summarizeBy: none
|
||||
sourceColumn: PACK_CODE
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column CORP_CODE
|
||||
dataType: string
|
||||
lineageTag: 188469e1-d875-4fcb-9c55-e86cb6badfc8
|
||||
summarizeBy: none
|
||||
sourceColumn: CORP_CODE
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column AUDIT_CODE
|
||||
dataType: string
|
||||
lineageTag: 5fbae632-435b-48a2-8f93-e23eb7afd177
|
||||
summarizeBy: none
|
||||
sourceColumn: AUDIT_CODE
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column CMPS_FLAG
|
||||
dataType: string
|
||||
lineageTag: 565b34fe-1d3d-4708-92b1-75f283e405ff
|
||||
@@ -385,24 +361,6 @@ table Fact_Sales_THC
|
||||
|
||||
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
||||
|
||||
column ETL_INSERT_DT
|
||||
dataType: dateTime
|
||||
formatString: General Date
|
||||
lineageTag: 8f45d181-1858-4c13-a9f7-0cb2ca77c429
|
||||
summarizeBy: none
|
||||
sourceColumn: ETL_INSERT_DT
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column ETL_UPDATE_DT
|
||||
dataType: dateTime
|
||||
formatString: General Date
|
||||
lineageTag: 16b492ce-7b45-47da-9f75-f7a092cde75b
|
||||
summarizeBy: none
|
||||
sourceColumn: ETL_UPDATE_DT
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column MARKET_KEY
|
||||
dataType: string
|
||||
lineageTag: 7827470a-6fd4-49c7-b432-75d6ce8986cb
|
||||
@@ -411,6 +369,30 @@ table Fact_Sales_THC
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column PACK_COD
|
||||
dataType: string
|
||||
lineageTag: fe7d5135-41de-4f1a-af98-22b14a760dfa
|
||||
summarizeBy: none
|
||||
sourceColumn: PACK_COD
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column CORP_COD
|
||||
dataType: string
|
||||
lineageTag: 57a11780-70d7-4454-a8e7-ba7fae398261
|
||||
summarizeBy: none
|
||||
sourceColumn: CORP_COD
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
column AUDIT_COD
|
||||
dataType: string
|
||||
lineageTag: b4cf1c2e-9d9a-4101-b09c-988725796e51
|
||||
summarizeBy: none
|
||||
sourceColumn: AUDIT_COD
|
||||
|
||||
annotation SummarizationSetBy = Automatic
|
||||
|
||||
partition Fact_Sales_THC = m
|
||||
mode: import
|
||||
queryGroup: Fact_Sales
|
||||
@@ -428,7 +410,48 @@ table Fact_Sales_THC
|
||||
]
|
||||
){[Name = CatalogName, Kind = "Database"]}[Data],
|
||||
"
|
||||
SELECT *,CONCAT(MARKET,DATA_SOURCE) MARKET_KEY FROM DM.dm_tf_ext_thc_market_sales_cht
|
||||
SELECT
|
||||
MARKET,
|
||||
KEY_COMPETITOR,
|
||||
CLASS,
|
||||
YYYYMM,
|
||||
PACK_CODE AS PACK_COD,
|
||||
CORP_CODE AS CORP_COD,
|
||||
AUDIT_CODE AS AUDIT_COD,
|
||||
PLATFORM_TYPE,
|
||||
STORE_NAME,
|
||||
STORE_TYPE,
|
||||
REGION_TYPE,
|
||||
DATA_SOURCE,
|
||||
PACK_FLAG,
|
||||
PROD_FLAG,
|
||||
DTP_FLAG,
|
||||
CMPS_FLAG,
|
||||
NEW_CODE,
|
||||
INST_CODE,
|
||||
AIA_HP_FLAG,
|
||||
DEPT_NAME,
|
||||
H_LEVEL,
|
||||
REIMBURSE,
|
||||
REIMBURSE_TYPE,
|
||||
PRESCRIPTION_TYPE,
|
||||
PRESCRIPTION,
|
||||
PRESCRIPTION_LY,
|
||||
VA,
|
||||
UT,
|
||||
CU,
|
||||
PT,
|
||||
SALES_UNIT_CAL,
|
||||
SALES_UNIT_CAL_LY,
|
||||
SALES_VALUE_CAL,
|
||||
SALES_VALUE_CAL_LY,
|
||||
CONUTING_UNIT,
|
||||
CONUTING_UNIT_LY,
|
||||
PDOT,
|
||||
PDOT_LY,
|
||||
CONCAT(MARKET, DATA_SOURCE) MARKET_KEY
|
||||
FROM
|
||||
DM.dm_tf_ext_thc_market_sales_cht
|
||||
"
|
||||
& UsingLimit,
|
||||
null,
|
||||
@@ -440,7 +463,7 @@ table Fact_Sales_THC
|
||||
|
||||
annotation PBI_NavigationStepName = 导航
|
||||
|
||||
annotation PBI_ResultType = Exception
|
||||
annotation PBI_ResultType = Table
|
||||
|
||||
annotation TabularEditor_TableGroup = 05_FactTable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user