COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: scooter86 on 18 Nov 2010 04:59:35 AM

Title: data item
Post by: scooter86 on 18 Nov 2010 04:59:35 AM
Hi all,

ive a cross-tab with the measures on the rows and a dimension in the columns with 3 values.
what i need is to store just the 3rd value of one measure in a data item so i can put it in a chart?
how can i store this?
would i be able to do this using a simple case?
please help!!

Thanks in advance.
Title: Re: data item
Post by: MFGF on 18 Nov 2010 06:03:32 AM
Hi,

Is your package a relational or a dimensional one?  If it's a dimensional package, then a query calculation using a tuple() function would be the way to go.

For a relational package, either a case or if-then-else may suffice, or alternatively an extra query filtered on the third value and joined back to the main query.

Regards,

MF.