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

Alteryx Designer Desktop Discussions

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

Calculating variance of each month by ctry

kv-defy
8 - Asteroid

I am trying to calculate the variance of each month (e.g. Current Month - Previous Month value) by having a new column called "Variance" within the country. How can I do it?

 

 

Snippet Example (Desired):

 

TimelineCountryCostVariance
May 2021Bangladesh10259 
Jun 2021Bangladesh120851826
3 REPLIES 3
sparksun
11 - Bolide

Multi-row Formula tool will make it super easy.

sparksun_1-1658801977306.png

 

 

flying008
15 - Aurora

Hi, @kv-defy 

 

Maybe you want this result .

 

Null.png

grazitti_sapna
17 - Castor

@kv-defy, another way to solve this problem.

grazitti_sapna_0-1658809239735.png

 

Thanks!

Sapna Gupta
Labels