If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

query calculation

Started by utathyaghosh, 19 Nov 2012 01:51:18 AM

Previous topic - Next topic

utathyaghosh

hi,
i want to calculate the diff in revenue in 2006 and 2007 using query calculation.
how can i achieve it???

blom0344

total
(
case when [year] = 2007 then [revenue] else 0 end
)
-
total
(
case when [year] = 2006 then [revenue] else 0 end
)

set the aggregate of the calculation to 'calculated'.