Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
suthashiniv
Contributor
Contributor

Adding column by calculating values from previous columns

Hi,

I would like to add to new column to my pivot table.

Currently i have 3 dimensions. I created an expression, 'Combined Average' which is an average of the column M1 and R1 per Year.

Now i need to create another expression, which is a comparison of the combined average. For Example, in the table below, i need to have another column beside the 2nd Combined Average column, called "Comparison" which is (6.06-6.54)/6.54.

I will have to do this comparison for the remaining columns as well. How do i add this expression to use the values from the Combined Average expression?

I have attached the file for reference.   

   

AYMay 11 - Oct 11May 11 - Oct 11May 11 - Oct 11Nov 11 - Apr 12Nov 11 - Apr 12Nov 11 - Apr 12
QnsTypeM1R1Combined AverageM1R1Combined Average
Q1 6.306.786.545.656.476.06
Q2 6.306.866.585.906.636.27
Q3 6.507.056.775.936.826.37
Q4 6.507.006.756.006.716.36
Q5 6.136.626.375.596.245.92
0 Replies