COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Ells on 07 Oct 2009 12:00:05 AM

Title: Percentage Column in Crosstab
Post by: Ells on 07 Oct 2009 12:00:05 AM
I am building P&L reports in a crosstab.

                   Actual      %
Sales A           75
Sales B           25
Total Sales     100

Materials         30
Labour            25
Services          10
Total Costs      65

What I need is a calculation to derive each revenue/ cost line as a % of Total Sales.

E.g. Materials would show as 30% (30/100).

I have tried unsuccessfully to insert a calculation to do this.  I would appreciate any help on which function I should try next.

Thanks
Title: Re: Percentage Column in Crosstab
Post by: technol on 13 Oct 2009 04:00:11 PM
try this ,into your pane tools, select a query calculation and draft until your work area and write your calculation.

revenue= (amount * 30) /100   it's all.