Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

YoY comparison

satya04
8 - Asteroid

 

I would need to do YoY comparison with period B (5+6+7+8) being compared to period A (1+2+3+4). This logic will be repeated for subsequent periods when period C (9+10+11+12) gets compared to period B (5+6+7+8).

 

This is taking a sum of all quarters of current year to compare with sum of all quarters of previous year.

 

satya04_0-1681307842365.png

 

2 REPLIES 2
cjaneczko
13 - Pulsar

There are better ways to do this if you have the actual quarters or dates brought into the workflow. But if the data is how you have it presented above, this workflow should work.

 

cjaneczko_0-1681309311064.png

 

mceleavey
17 - Castor
17 - Castor

Hi @satya04 ,

 

for this, I would use the CEIL([Qtr]/4) function to group the record ID field (Qtr) into groups of 4.

From there, simply sum and crosstab.

 

mceleavey_0-1681309518043.png

This gives the following results:

 

mceleavey_1-1681309582366.png

 

I hope this helps,

 

M.

 

 



Bulien

Labels