Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Index match/Join help!

Chelseaa
7 - Meteor

Hi all, 

i need some help with my workflow.

My input file is in the format of an excel file's pivot table - running total in Date and it has data all the way till December (this is just part of the data, from Jan to Mar)

 

RegionProject1/1/20202/1/20203/1/2020
AMERA-1-2-4
AMERB0-4-10
AMERC-20-25-26
APACA-15-16-20
APACB-3-5-7

 

My desired output is:

RegionProjectMonthAchieved savingsTo-be Achieved savings
AMERAJan-1-3
AMERAFeb-2-2
AMERAMar-40
AMERBJan0-10
AMERBFeb-4-6
AMERBMar-100
AMERCJan-20-6
AMERCFeb-25-1
AMERCMar-260
APACAJan-15-5
APACAFeb-16-4
APACAMar-200
APACBJan-3-4
APACBFeb-5-2
APACBMar-70

 

The formula for the 'To-be achieved savings' is December's savings according to the correct region and project - the current month's savings.

eg. if we are calculating for AMER, Project B, March (and if the December's savings for this group of data = -100), to be achieved savings = -100 - (-10) = -90

 

this workflow might required a join tool..? but i cant figure out how to configure the workflow, please help!

 

Thank you in advance!

🙂 

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @Chelseaa 

 

You have done of the work.

 

Here is the workflow for the task

Output:

atcodedog05_0-1606373160379.png

Workflow:

atcodedog05_0-1606373268885.png

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Qiu
21 - Polaris
21 - Polaris

@Chelseaa 

Hope this is what you need.

1126-Chelseaa.PNG

Chelseaa
7 - Meteor

@Qiu @atcodedog05 

Thank you both, both method works 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Chelseaa 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels