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.
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