Subido por normiceballos

EVALUATE

Anuncio
EVALUATE
SUMMARIZE(
CALCULATETABLE(DWE_BS_CONTENT_SSAS_V,
DWE_DS_DATE[YEAR]="2023",
DWE_BS_CONTENT_SSAS_V[FRAME_STATUS_FLAG]="YES",
DWE_DS_SHP_CENTER_V[COUNTRY_CODE]="AR",
DWE_DS_SHP_MAT_STATUS_V[MATERIAL_STATUS_CODE]="VI"
),
DWE_BS_CONTENT_SSAS_V[CONTRACT_NUM],
DWE_BS_CONTENT_SSAS_V[CONTRACT_ITEM],
DWE_BS_CONTENT_SSAS_V[SAP_MATERIAL],
DWE_DS_MAT_ENRICHED_V[SAP_MATERIAL_EXI],
DWE_BS_CONTENT_SSAS_V[CENTER_CODE],
DWE_DS_SHP_CENTER_V[CENTER_NAME],
"# Items" ,[Content Material - Items]
)
EVALUATE
SUMMARIZE(
CALCULATETABLE(NEGO_FA_INSTANCE_VIEW,
),
DWE_BS_CONTENT_SSAS_V[CONTRACT_NUM],
DWE_BS_CONTENT_SSAS_V[CONTRACT_ITEM],
DWE_BS_CONTENT_SSAS_V[SAP_MATERIAL],
DWE_DS_MAT_ENRICHED_V[SAP_MATERIAL_EXI],
DWE_BS_CONTENT_SSAS_V[CENTER_CODE],
DWE_DS_SHP_CENTER_V[CENTER_NAME],
"# Items" ,[Contracts - Items]
)
EVALUATE
SUMMARIZE(
CALCULATETABLE(DWE_BS_PR_BACKLOG_SSAS_V,
DWE_DS_DATE[LAST_PROCESS_DATE_FLAG]= "YES"
,DWE_DS_SHP_COUNTRY_V[COUNTRY_CODE]= "AR"
),
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL],
DWE_CM_MARA_MARC[MATERIAL_DESCRIPTION],
DWE_CM_MARA_MARC[MATERIAL_GROUP],
DWE_BS_PR_BACKLOG_SSAS_V[REQUIRED_QTY],
DWE_BS_PR_BACKLOG_SSAS_V[MAT_SERV],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_STATUS],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_DAYS],
DWE_BS_PR_BACKLOG_SSAS_V[CREATION_DATE],
DWE_BS_PR_BACKLOG_SSAS_V[CODIFIED_FLAG],
DWE_BS_PR_BACKLOG_SSAS_V[COMPANY_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[CENTER_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[FLAG_PR_HOLD],
DWE_DS_BUYER_EXI_VH[CELULA],
DWE_BS_PR_BACKLOG_SSAS_V[BUYER_CODE_EXI],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_TYPE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_DESC],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CODE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CASS],
DWE_CM_MARA_MARC[SOURCING_GROUP],
DWE_CM_MARA_MARC[SOURCING_GROUP_CODE],
DWE_DS_EBD_PR_V[STATUS],
"# Items" ,[# Items]
)
EVALUATE
SUMMARIZE(
CALCULATETABLE(DWE_BS_PR_BACKLOG_SSAS_V,
DWE_DS_DATE[LAST_PROCESS_DATE_FLAG]= "YES"
,DWE_DS_SHP_COUNTRY_V[COUNTRY_CODE]= "AR"
),
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL],
DWE_CM_MARA_MARC[MATERIAL_DESCRIPTION],
DWE_CM_MARA_MARC[MATERIAL_GROUP],
DWE_BS_PR_BACKLOG_SSAS_V[REQUIRED_QTY],
DWE_BS_PR_BACKLOG_SSAS_V[MAT_SERV],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_STATUS],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_DAYS],
DWE_BS_PR_BACKLOG_SSAS_V[CREATION_DATE],
DWE_BS_PR_BACKLOG_SSAS_V[CODIFIED_FLAG],
DWE_BS_PR_BACKLOG_SSAS_V[COMPANY_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[CENTER_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[FLAG_PR_HOLD],
DWE_DS_BUYER_EXI_VH[CELULA],
DWE_BS_PR_BACKLOG_SSAS_V[BUYER_CODE_EXI],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_TYPE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_DESC],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CODE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CLASS],
DWE_CM_MARA_MARC[SOURCING_GROUP],
DWE_CM_MARA_MARC[SOURCING_GROUP_CODE],
DWE_DS_EBD_PR_V[STATUS],
"# Items" ,[# Items]
)
EVALUATE
SUMMARIZE(
CALCULATETABLE(DWE_BS_PR_BACKLOG_SSAS_V,
DWE_DS_DATE[LAST_PROCESS_DATE_FLAG]= "YES"
,DWE_DS_SHP_COUNTRY_V[COUNTRY_CODE]= "AR"
),
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_NUM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[REQ_ITEM_EXI],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING],
DWE_BS_PR_BACKLOG_SSAS_V[PR_AGING_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL_EXI],
DWE_CM_MARA_MARC[SAP_MATERIAL],
DWE_CM_MARA_MARC[MATERIAL_DESCRIPTION],
DWE_CM_MARA_MARC[MATERIAL_GROUP],
DWE_BS_PR_BACKLOG_SSAS_V[REQUIRED_QTY],
DWE_BS_PR_BACKLOG_SSAS_V[MAT_SERV],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_STATUS],
DWE_BS_PR_BACKLOG_SSAS_V[DUE_DAYS],
DWE_BS_PR_BACKLOG_SSAS_V[CREATION_DATE],
DWE_BS_PR_BACKLOG_SSAS_V[CODIFIED_FLAG],
DWE_BS_PR_BACKLOG_SSAS_V[COMPANY_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[CENTER_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[FLAG_PR_HOLD],
DWE_DS_BUYER_EXI_VH[CELULA],
DWE_BS_PR_BACKLOG_SSAS_V[BUYER_CODE_EXI],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_TYPE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_DESC],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CODE],
DWE_DS_SHP_ACTIVITY_STATUS_V[ACTIVITY_STATUS_CLASS],
DWE_CM_MARA_MARC[SOURCING_GROUP],
DWE_CM_MARA_MARC[SOURCING_GROUP_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[IMPUTATION_CODE],
DWE_BS_PR_BACKLOG_SSAS_V[REQUIRED_DELIVERY_DATE],
DWE_DS_EBD_PR_V[STATUS],
DWE_BS_PR_BACKLOG_SSAS_V[PURCHASE_REASON],
DWE_BS_PR_BACKLOG_SSAS_V[MY_ITEMS_CRITICITY_FLAG],
DWE_BS_PR_BACKLOG_SSAS_V[REQ AMOUNT DC],
DWE_BS_PR_BACKLOG_SSAS_V[MY_ITEMS_CRITICITY_FLAG],
DWE_BS_PR_BACKLOG_SSAS_V[TOT_STD_PRICE_USD],
DWE_DS_BNE_AUCTION_V[AUCTION_NUMBER],
DWE_DS_BNE_AUCTION_V[AUCTION_STATUS],
DWE_BS_PR_BACKLOG_SSAS_V[REX],
DWE_DS_SHP_FA_COMMENT_VW[SOLPE_COMMENT],
DWE_DS_PR_ENRICHED[REQUESTER_NAME],
"# Items" ,[# Items]
)
EVALUATE
SUMMARIZE(
CALCULATETABLE(DWE_DS_FA_NEGOTIATION_V,
DWE_DS_DATE[LAST_UPDATE]="YES"
, DWE_DS_FA_NEGOTIATION_V[COUNTRY_CODE]= "AR"
),
DWE_DS_FA_NEGOTIATION_V[CONTRACT_NUM],
DWE_DS_FA_NEGOTIATION_V[LAST_APPROVAL_DATE],
DWE_DS_FA_NEGOTIATION_V[PLANNED_AMOUNT_DC],
DWE_DS_FA_NEGOTIATION_V[RELEASE_STRATEGY],
DWE_DS_FA_NEGOTIATION_V[REMAINING_AMOUNT_DC],
DWE_DS_FA_NEGOTIATION_V[REMAINING_AMOUNT_PERC],
DWE_DS_FA_NEGOTIATION_V[VALIDATION_END_DATE],
DWE_DS_FA_NEGOTIATION_V[VALIDATION_START_DATE],
DWE_DS_FA_NEGOTIATION_V[CURRENCY_CODE],
DWE_DS_FA_NEGOTIATION_V[CONSUMED_ANUALIZED_USD],
DWE_DS_FA_NEGOTIATION_V[CONSUMED_ANUALIZED_DC],
DWE_DS_FA_NEGOTIATION_V[CONSUMED_AMOUNT_DC],
DWE_DS_FA_NEGOTIATION_V[COMPANY_CODE],
DWE_DS_FA_NEGOTIATION_V[BUYER_CODE_EXI_FINAL],
DWE_DS_FA_NEGOTIATION_V[AMOUNT_TO_INCREASE],
DWE_DS_FA_NEGOTIATION_V[AMOUNT_TO_INCREASE_FLAG],
DWE_DS_FA_NEGOTIATION_V[ACTIVE_CONTRACT_FLAG_DESC],
DWE_DS_FA_NEGOTIATION_V[CENTER_CODE],
DWE_DS_FA_NEGOTIATION_V[DWE_DS_MR_SUPPLIER_ENRICHED_ID],
DWE_DS_FA_NEGOTIATION_V[DWE_DS_SHP_ACTIVE_CONTRACT_FLAG_ID],
DWE_DS_FA_NEGOTIATION_V[DWE_DS_SHP_SG_TREE_MEMO_ID],
DWE_DS_FA_NEGOTIATION_V[DWE_DS_SHP_SG_FINAL_ID],
DWE_DS_SUPPLIER_ENRICHED[SUPPLIER_NAME],
DWE_DS_BUYER_FINAL[BUYER_CODE],
DWE_DS_BUYER_FINAL[BUYER_NAME],
DWE_DS_BUYER_FINAL[CELULA],
"# Items" ,[# Items]
)
Descargar