COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: orbair on 18 Jun 2014 03:26:59 AM

Title: Cannot sum a counted member
Post by: orbair on 18 Jun 2014 03:26:59 AM
Hello everyone

I have a list, country, city..count(orders) and I would like to add a column % - count(order)/total(count(order)) but the result for every row is 100%. Can you please advise? Also the insert calculation button is inactive for count(order) column. Thank you for your help.

R.
Title: Re: Cannot sum a counted member
Post by: MFGF on 18 Jun 2014 08:05:11 AM
Quote from: orbair on 18 Jun 2014 03:26:59 AM
Hello everyone

I have a list, country, city..count(orders) and I would like to add a column % - count(order)/total(count(order)) but the result for every row is 100%. Can you please advise? Also the insert calculation button is inactive for count(order) column. Thank you for your help.

R.

How about count([Order item] for [Country],[City]) / count([Order item] for report)

Cheers!

MF.
Title: Re: Cannot sum a counted member
Post by: orbair on 19 Jun 2014 08:03:06 AM
Thanks MFGF, it works  :)