Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Calculating a Value By Taking Averages of current and previous months?

kiotsuresh
8 - Asteroid

Hi ,

 

I Have Data Like below,

 

ItemMonthNameValue
ChairDec - 2021Balance100
ChairJan -2022Balance200

 

I need to calculate the number as average of current and prev month value, for jan 2022 (100+200/2=150) and same for all the available months. and I need to give a new name to that value as "Average Balance"

Output would be

itemMonthNameValue
ChairDec - 2021Average Balance100
ChairJan -2022Average Balance150

 

How to Achieve this using Alteryx. the data I'm Handling has lot of years data where this logic should work for all the months and year.

10 REPLIES 10
DenisZ
11 - Bolide

Please find attached workflow

 

DenisZ_0-1669102474632.png

Hope it helps

 

 

 

Labels