COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: patrickthatcher on 17 Jan 2016 10:02:49 AM

Title: List report Percent to Total multiple subtotals? SOLVED
Post by: patrickthatcher on 17 Jan 2016 10:02:49 AM
I have a list report with 2 subtotals.  I would like to do a % to total for each level.  The first subtotal should be the percentage of the detail lines and the second subtotal a percentage of the grand total.
I saw this post http://www.cognoise.com/community/index.php?topic=20330.0 and wondered if I really needed to do individual calculation for each level to achieve what I want.

Here's an example output I'm trying to achieve:














Column 1Column 2Column 3Fact%
HomePillowDown7533%
Poly15067%
Total Pillow22569%
BedKing2323%
Queen6463%
Twin1515%
Total Bed10231%
Total Home32740%
Total China......50060%
Grand Total......827100%


Thank you
Title: Re: List report Percent to Total multiple subtotals? SOLVED
Post by: patrickthatcher on 19 Jan 2016 06:20:26 PM
I ended creating individual calculations for each level to achieve the correct % to Total
Title: Re: List report Percent to Total multiple subtotals?
Post by: Nagendar on 20 Jan 2016 12:56:31 AM
Looks like you asked similar question:

http://www.cognoise.com/index.php/topic,28707.msg92343.html#msg92343

Thanks
Nagendar
Title: Re: List report Percent to Total multiple subtotals?
Post by: MFGF on 20 Jan 2016 05:24:35 AM
Quote from: Nagendar on 20 Jan 2016 12:56:31 AM
Looks like you asked similar question:

http://www.cognoise.com/index.php/topic,28707.msg92343.html#msg92343

Thanks
Nagendar

Nope - that wasn't Patrick. The thread you are linking to didn't feature him at all.

MF.
Title: Re: List report Percent to Total multiple subtotals?
Post by: patrickthatcher on 20 Jan 2016 07:43:58 AM
Correct. Just letting you know I did try to find an answer before posting my question  ;)