COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: busterbbg on 10 Aug 2016 10:20:23 AM

Title: crosstab no aggregation needed
Post by: busterbbg on 10 Aug 2016 10:20:23 AM
I have a simple list that I would like to display as a crosstab.
The calculations have already been done in the SQL so no aggregation is needed.
Everything displays in the list but the counts will not display in the crosstab.
I tried setting the Aggregate & Rollup Aggregate functions to "none" but that doesn't help.
I've attached a file showing an example of the list output and the crosstab output.
Any suggestions ?
Thanks.


Title: Re: crosstab no aggregation needed
Post by: AnalyticsWithJay on 10 Aug 2016 11:41:18 AM
Is the Usage property on NC_CNT set to "Fact" in FM?
Title: Re: crosstab no aggregation needed
Post by: busterbbg on 10 Aug 2016 11:46:17 AM
Sorry I forgot to mention, this report is using native SQL, no FM.
Title: Re: crosstab no aggregation needed
Post by: AnalyticsWithJay on 10 Aug 2016 12:28:16 PM
Try setting the Aggregate Function to None and the Rollup Aggregate Function to Total. Should work.
Title: Re: crosstab no aggregation needed
Post by: busterbbg on 10 Aug 2016 12:57:56 PM
Yes, that worked!  Thank you so much.
I guess I don't understand the Rollup Aggregate function.
Do you mind explaining why it worked?  What is it totaling?
Title: Re: crosstab no aggregation needed
Post by: psrpsrpsr on 26 Jan 2018 11:08:25 AM
CognoidJay's solution worked for me. Can someone explain why this combination of Aggregate Function and Rollup Aggregate Function settings works as expected? Seems non-intuitive to me.