Start Free Trial

Alteryx Designer Desktop Discussions

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

Multi row conditional running average

BosKev
8 - Asteroid

Hi,

 

I'm looking for a setup with the multi row tool that will be able to calculate the average based on Year/Month or more criteria.

Below sample I would like the multi row tool to calculate for "RunningAverage"

Thanks.

 

 

YEARMONTHLINE_OF_BUSINESS_NAMEJob TypeSum_CountRunningAverage
20202020 / 01GWABC1065610656
20202020 / 02GWABC1062110639
20202020 / 03GWABC1055510611
20202020 / 04GWABC1051310586
20202020 / 05GWABC1043710556
20202020 / 06GWABC1040910532
20212021 / 01GWABC1063610636
20212021 / 02GWABC1060110619
20212021 / 03GWABC1053510591
20212021 / 04GWABC1049310566
20212021 / 05GWABC1041710536
20212021 / 06GWABC1038910512
4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @BosKev 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1633715276278.png

 

Hope this helps : )

BosKev
8 - Asteroid

@atcodedog05 , thanks very simple!

mmenth
11 - Bolide

Hi @BosKev 

 

You can just bring on a record ID tool and use the running total tool on your metric you want to average. Then use a formula tool to divide the running total by the record iD:

 

mmenth_0-1633715683551.png

Best,

mmenth

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @BosKev 

Cheers and have a nice day!

Labels
Top Solution Authors