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.
SOLVED

Compare amount of Month year N vs same month year N-1

adina
6 - Meteoroid

Hi, 

 

I am trying to create a column where I have the variation of sales of this month's year vs last year.

ex: 01-2019 vs 01-2020 variation (see attached file)

I tried using a filter to segregate 2 years but can't do that for more than 2 years. thanks a lot!

 

 

2 REPLIES 2
echuong1
Alteryx Alumni (Retired)

This can be achieved using a cross-tab tool to "pivot" your data.

 

This will work for any number of years and is grouped by the month. Hope this helps!

echuong1_0-1596807701954.png

 

adina
6 - Meteoroid

Thanks a lot!!!

Labels
Top Solution Authors