Free Trial

Alteryx Designer Desktop Discussions

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

Creating monthly averages

Rclewright
5 - Atom

We were given a dataset with 5 years of data, 12 months per year, and multiple prices per month (sales pricing). We are trying to average each month's sales pricing so that we can run a regression against multiple raw material indices. To run the regression, we can only have one average price per month.

 

We are having difficulty averaging/aggregating all of the pricing by month/year. In the end, we should have 60 average prices. So far the only way we can think to do it would be to create 5 yearly filters, and then 12 monthly filters off of each yearly filter and then average each output. Surely there has to be a quicker way to calculate month per year averages. Any help would be greatly appreciated! 

 

 

4 REPLIES 4
mceleavey
17 - Castor
17 - Castor

Hi @Rclewright ,

 

can you provide some mock data showing what you have and what you want?

 

Thanks,

 

M.



Bulien

JarekSkudrzyk
11 - Bolide

@Rclewright 

Hi, have you tried summarising the data with "summarize" tool - grouping by year, month and averaging sales price?

If it does not work please share an example set of data (dummy).

JarekSkudrzyk_0-1647895483212.png

 

Rclewright
5 - Atom

This worked perfectly, thank you so much!

JarekSkudrzyk
11 - Bolide

@Rclewright 

you are welcome, glad I could help you

Labels
Top Solution Authors