Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Roberto_Licciardello
Partner - Contributor III
Partner - Contributor III

Average of Percentage change

Hi,
I need to solve my problem.

I have a table in which there are, for each single component, an old and a new price. The calculation of the percentage increase in the price is made on these two values.

However, the individual objects are grouped by categories. I'm interested in the average of the variations of the single objects, exposed without showing every single object. But if I remove the object column, the table makes the percentage change of the averages and not the average of the percentage change.

I am attaching the images of what I say and an example excel

thank you.

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

If each of your items has one row of data, the formula I suggested should work. You could also phrase it as:

Avg((New-OLD)/OLD)

If each one has multiple rows of data, I think you  may need aggr() here, perhaps:

avg(aggr((avg(New)-avg(OLD))/avg(OLD),[ID Object]))

View solution in original post

4 Replies
Or
MVP
MVP

Perhaps something along the lines of:

Avg((New/Old)-1) would work? What formula are you currently using?

Roberto_Licciardello
Partner - Contributor III
Partner - Contributor III
Author

Hi,

the formula is (avg(New)-avg(OLD))/avg(OLD). 

 

The problem is that i want to have  1,86 % (the average of the percentage) but the table, if i hide the column "ID object", returns 2,07 (that is the percentage of the average).

Or
MVP
MVP

If each of your items has one row of data, the formula I suggested should work. You could also phrase it as:

Avg((New-OLD)/OLD)

If each one has multiple rows of data, I think you  may need aggr() here, perhaps:

avg(aggr((avg(New)-avg(OLD))/avg(OLD),[ID Object]))

Roberto_Licciardello
Partner - Contributor III
Partner - Contributor III
Author

WONDERFUL!!! It works!!!

 

GRAZIE!!!