Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.

Sales Comparison with LY and CY in Cloud

KatyKab
6 - Meteoroid

Hi, I would like to know How can I calculate the LY (Last Year) in a database of 4 years, I want to compare LY and CY (Current Year). I have a database with the monthkey, Sales for everyday$$, product attributes, Thank you for your help.

1 REPLY 1
alexnajm
16 - Nebula
16 - Nebula

Without knowing your data structure, I'd likely:

  • use a Formula to label LY vs CY vs non-CY-or-LY
  • Filter to only CY and LY
  • Summarize, grouping on your label column and summing sales