Forum Discussion
AlejandroPCar
Helper IV
9 years agoAverage Annual Percent Change
Hi! I need some help here. How can I do a measure of Average Annual Percent Change? I mean, I have a table like this one: For example, the Average Annual Percent Change for the first...
- 9 years ago
Hi,
This is what i modified your "Variación % Anual ER" measure to
= if(HASONEVALUE(TiempoA[año]),DIVIDE([Variación Anual ER], [Estado Resultados I - 1], 0),AVERAGEX(VALUES(TiempoA[año]),DIVIDE([Variación Anual ER], [Estado Resultados I - 1], BLANK())))
See the Total column in the image below:
AlejandroPCar
Helper IV
9 years agoNot necessarily but could be helpful thanks
Ashish_Mathur
Super User
9 years agoThen what exact result are you expecting?
- AlejandroPCar9 years ago
Helper IV
Just the measure that calculates the average annual percent change in the years I select. And if it is possible the years filter also modifies the table showing just the single years and its annual change. SO IF i select 2007, 2008, and 2009 for example tus tacos shows me only these years with its annual changes and also the AAPC maybe in the same table or in other site.- Ashish_Mathur9 years ago
Super User
Hi,
This is what i modified your "Variación % Anual ER" measure to
= if(HASONEVALUE(TiempoA[año]),DIVIDE([Variación Anual ER], [Estado Resultados I - 1], 0),AVERAGEX(VALUES(TiempoA[año]),DIVIDE([Variación Anual ER], [Estado Resultados I - 1], BLANK())))
See the Total column in the image below:
- AlejandroPCar9 years ago
Helper IV
Thank you very much , it works very well.