COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: AnandKK on 06 Oct 2016 07:34:19 AM

Title: calculation to find the difference between two crosstab cells in the same column
Post by: AnandKK on 06 Oct 2016 07:34:19 AM
Hi,

I need to show the difference between two crosstab cells values in the same column. Imagine different calculations for Actuals, Forecast and etc

Year           2015                                    2016
               Act, Forecast,   XXX           Act, Forecast,   XXX
Revenue  20 , 30, 10%                         20,30,10%
SZB          20,40,20%                          30,60,20%
Margin     20,40.10%                            -------------------

for 2016, we need to show the  difference between Revenue and Margin.

Please suggest me.
Title: Re: calculation to find the difference between two crosstab cells in the same column
Post by: Francis aka khayman on 06 Oct 2016 10:17:47 PM
 Year           2015                                    2016
               Act, Forecast,   XXX           Act, Forecast,   XXX
Revenue  20 , 30, 10%                         20,30,10%
SZB          20,40,20%                          30,60,20%
Margin     20,40.10%                            -------------------
Rev-Mar  0,-10,xxxx


[Rev-Mar] = [Revenue] - [Margin]