The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

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

adina
Meteoroide

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 RESPOSTAS 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
Meteoroide

Thanks a lot!!!

Rótulos
Autores com maior número de soluções