Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
Free Trial

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
Top Solution Authors