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

Alteryx Designer Desktop Discussions

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

Taking year over year differences from 2 different workbooks.

jrgreen
7 - Meteor

As the title suggests, I am needing to take the year over year differences from two different workbooks based off of the account number. Both workbooks are formatted exactly the same. Below is a screenshot of the 2018 Data, 2017 Data, and how I want the year-over-year difference to look like. I color coded each amount to show which ones are being compared. 

 

As you can see, not every account is in both 2018 and 2017. Any idea how to do this? Capture.PNG

1 REPLY 1
BrianR
Alteryx
Alteryx

Hi,

 

Definitely possible - first, you have to join both tables, I joined on Account and Division to form the join, then to account for the occurrences where one year might have Amounts while the prior Year doesn't, you can use the Union tool to account for all possibilities in the join. Then the final table should present correctly as in the attached workflow. See if this helps.

Labels
Top Solution Authors