Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Adding Custom calculated Columns to Table

Hello everyone,

 

I'm trying to create a table as shown below, I have regions and sales, I want to group sales by months as M1: January... 

and then add another column to calculate the variance between latest month and 2 previous months.

The thing that I'm struggling with is adding new calculated columns such as the average of the latest 2 months and variance (I am using a matrix table but then I can't add the latest month and variance)

 

Appreciate any help or any resources on creating complex custom tables.

 

RegionM12M1M2M3Latest full monthAvg. Of Latest 2 MonthsVariance Prior Month Variance
Region 1                 44                 23                 43                 44                                       43                                            3428%                 2387%
Region 2                 44                 23                 34                 54                                       34                                            341%                 2348%
Region 3                 33                 43                 34                 34                                       34                                            38-11%                 43-21%
Region 4                 22                 43                    4                 43                                          4                                            33-88%                 43-91%
Region 5                 33                 45                 32                 33                                       32                                            39-18%                 45-29%
Total              176              177              147              208                                    147                                         177-17%              177-17%

3 Replies