COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: cog8user on 11 Sep 2007 11:12:31 AM

Title: Percentages of total in Reeport Studio
Post by: cog8user on 11 Sep 2007 11:12:31 AM
Hi,

Suppose I have columns like Product line, Product type, and Quantity.
Product line is grouped and Quantity is not aggregated.
I want to have a new column (Query calculation) showing each Product type's percentage contribution to total Quantity.
How can I achieve this?  ::)
Title: Re: Percentages of total in Reeport Studio
Post by: Suraj on 11 Sep 2007 04:32:16 PM
by creating a data item.
logic such as:
total(quantity for product type)/total quantity overall.