Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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