COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: kristysmith on 18 Oct 2007 11:40:06 AM

Title: Associate data items without aggregating/total/ave
Post by: kristysmith on 18 Oct 2007 11:40:06 AM
In Impromtu we were able to associate data items. i.e. [slot win/loss] for [customer id].
Now if I want to associate a data item I have to write it like this.... total([slot win/loss]for[customer id])

Does anyone know how I can associate the data items without using the calc at the start of the statement???

Thanks.
Title: Re: Associate data items without aggregating/total/ave
Post by: rockytopmark on 18 Oct 2007 11:54:42 AM
Set the column's Group Scan property, to reference the Grouped item(s) it is associated with.
Title: Re: Associate data items without aggregating/total/ave
Post by: Suraj on 19 Oct 2007 12:42:42 PM
If you use the expression without any "for" clause such as total(slot win/loss), cognos automatically will group it depending on the row and columns it aligns with. If you use "for" clause, then the total will be for that "for" regardless of row and column alignment.
Title: Re: Associate data items without aggregating/total/ave
Post by: kristysmith on 19 Oct 2007 01:25:46 PM
 ;D
Happy Friday! It worked. Thanks.
Title: Re: Associate data items without aggregating/total/ave
Post by: rockytopmark on 19 Oct 2007 01:37:51 PM
Just curious and for future reference's sake, can you explain what "It" means in regards to "It worked" please?

Thanks!!
Title: Re: Associate data items without aggregating/total/ave
Post by: kristysmith on 19 Oct 2007 05:05:57 PM
ha ha ha... sorry, I was talking about your suggestion. With the grouped items. Thanks.
Title: Re: Associate data items without aggregating/total/ave
Post by: Suraj on 24 Oct 2007 10:55:31 AM
And I was wondering how  my "no solution" post resolved the issue...
:-)