In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Average of same month rows

karla_camacho
6 - Meteoroid

Hello community!
Reaching out for your help:

I´m trying to re-apply this Excel formula in Alteryx:

karla_camacho_0-1664595100002.png

As you can see I need to create a column that for each period calculates the average of the column at the left of it but only for the values that are in the same month.

For example:

If the period has the month January, the value in column H will be the average of all the other values in column G that also occur in the month January, if we have 2 years we have 2 Januaries, In this case we have 10 years of data, that´s why there are 10 values that we need to calculate the average for.

 

Please help!!

2 REPLIES 2
FrederikE
13 - Pulsar

Hey @karla_camacho,

 

1. Split the Date into Months only.

2. Use a Summarize with "Group By Month" and Average of your Value. 

Emmanuel_G
13 - Pulsar

@karla_camacho 

 

Find in attachement the way of achieving that.

 

I did a test with dummy sample of your dataset.

 

Emmanuel_G_0-1664704017219.png

 

Labels
Top Solution Authors