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

moving average without multi-row-formula Tool

SaoriYamguchi
8 - Asteroid

I would like to get a moving average like the sample data.
In addition, the average you want to use is calculated using small numbers such as 1 and 2 to large numbers such as 100 and 200.

The multi-low formula can only run + -3 lines on average, so I'd like to know how to do that.
Also, I want to average a large number of data in multiple lines like attached data, so please tell me how to do that.

Thank you very much

4 REPLIES 4
fmvizcaino
17 - Castor
17 - Castor

Hi @SaoriYamguchi ,

 

Nice challenge.

Take a look and let me know if this works for you. I've tried to describe every step to make it clear what I've done.

 

fmvizcaino_0-1614828543471.png

 

 

Best,

Fernando Vizcaino

Qiu
21 - Polaris
21 - Polaris

@SaoriYamguchi 
Try to make it a bit dynamic.

So you need to define the moving average number (How many rows) as input, then macro would do the rest.

But if you want exactly the same as your Excel, we need think more.

0304-SaoriYamguchi-1.PNG0304-SaoriYamguchi-2.PNG

SaoriYamguchi
8 - Asteroid

@fmvizcaino @Qiu 

Thanks!

 

Qiu
21 - Polaris
21 - Polaris

@SaoriYamguchi 

Glad to help and thank you for the accept mark.

Labels