We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Regarding Consolidation Logic

prawal1990
6 - Meteoroid

Hello,

 

I have two source file one is source and another target. 

 

Source :

 

Contract_NumberContract_Item_NumberProduct_CodeAnnualized_AmountContract_start_dateContract_end_date
3051575874020000142735209.096/8/20266/7/2027
3051575858020000142734914.236/8/20256/7/2026
3051575850020000142734592.746/8/20246/7/2025

 

Target:

Contract_NumberContract_Item_NumberProductCode__cAmountPrice__cAmountPrice2__cAmount_Price_3__cAmount_Price_4__cAmount_Price_5__cAmount_Price_6__cAmount_Price_7__cEndDate__cAmountAllocatedFinal__cYear2AmountAllocatedFinal__cYear3AmountAllocatedFinal__cYear4AmountAllocatedFinal__cYear5AmountAllocatedFinal__cStartDate__cYear1Amount__cYear1EndDate__cYear1StartDate__cYear2Amount__cYear2EndDate__cYear2StartDate__cYear3Amount__cYear3EndDate__cYear3StartDate__c
3051575850020000142734592.744914.235209.09    6/7/20274592.744914.235209.09  6/8/20244592.746/7/20256/8/20244914.236/7/20266/8/20255209.096/7/20276/8/2026

 

Consolidation Logic:

1. Consolidation done based on the same Product_Code , Contract Number ,Contract_start_date & Contract_end_date

2. We can see AmountPrice__c -> mapped from the Annualized_Amount based on the First Contract_start_date & Contract_end_date

3. Similarly AmountPrice2__c ->mapped from the Annualized_Amount based on the second Contract_start_date & Contract_end_date & Contract_end_date

4. Same logic is applied through the other columns AmountAllocatedFinal__c , Year2AmountAllocatedFinal__c ,Year3AmountAllocatedFinal__c

5. Also, Date columns are also populated in similar fashion.

 

Can someone help me how to create Alteryx workflow for above problem statement ?

0 REPLIES 0
Labels
Top Solution Authors