COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: bensah on 19 Nov 2013 03:13:25 PM

Title: Calculation in RS report for multidimensional package
Post by: bensah on 19 Nov 2013 03:13:25 PM
Hi,

I want a calculation column as (YTD)-(Prior YTD) for a given measure.

example:-
                      YTD Value     PriorYTD Value
Product 1        500               550
Product 2        550               560

Detail measure is as quantity.
I want a third column as a calculated column as YTD-PriorYTD value.
Appreciate your help.
Title: Re: Calculation in RS report for multidimensional package
Post by: MFGF on 19 Nov 2013 03:55:07 PM
Assuming YTD and Prior YTD are members from your Time dimension, your calculation would simply be [YTD] - [Prior YTD].

Simples! :)

MF.
Title: Re: Calculation in RS report for multidimensional package
Post by: bensah on 25 Nov 2013 03:28:55 PM
thank you .

It worked. YTD abd Prior YTD should be member. I had calculated by dragging the attributes field. So it was throwing the error message.
Title: Re: Calculation in RS report for multidimensional package
Post by: misap on 27 Nov 2013 09:45:01 AM
in a similar way....is there a way to add 2 Quarters for each year and show it as a radiobutton group?

for eg: Year 2011
Quarters - 2011 Q1,2011 Q2, 2011 Q3, 2011 Q4

With the above, create a radiobutton group for Year (source cascading),

Thanks a lot in advance.

Cheers
Manish