tags:

views:

87

answers:

1

Hi All,

Is it possible to calculate a percentage change in a Cognos Report?

Currently, I have a crosstab that has years as the columns and widgets in the rows with a calculation of total revenue. I am looking to calculate the annual % increase. New to Cognos, but I could accomplish this using other tools.

Any help will be very much appreciated.

+1  A: 

Sorry for the late answer to your question but perhaps it will help others who see it.

It's kind of annoying, but it can be done. If you have one Query which uses an input parameter to select the year, perhaps it is a filter that says [Year] = ?YearPrompt?, then you can make a second Query which uses the filter [Year] = ?YearPrompt? - 1. Then, you can join these two queries, and the third query (made by joining the first two) will have both this year's revenue, and last year's revenue, available to it for a calculation, such as what the percent change is.

rossdavidh