Hello everyone.
I am trying to create a parameter which always give me the average of the last 3 months (including current month).
For example: I have 2 years database.
M1 - 2016;
M2 - 2016;
M3 - 2016;
M4 - 2016;
.
.
.
M11 - 2017;
I basically need to have the average of 3 months.. if today is M11 then (M11+M10+M09)/3 , but it should be dinamically .. if M10 then (M10+M09+M08)/3 if M09 then (M09+M08+M07) and etc..
the problem is.. how can i sum just the 3 months ? and how can i create it dinamically.
I already did it on excel but in alteryx i cant.
Hope someone can help me.
Hugs.