COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: jasp on 05 Jul 2011 01:40:10 PM

Title: send two or more parameters to a data item
Post by: jasp on 05 Jul 2011 01:40:10 PM
Hi All,
i was wondering if anyone could help me.

Say if i have a Tree prompt and it is set to multi select ie a GL account structure and a user selects two or more parents from the structure, do you know how you can retrieve all of the children from all of the accounts the user selects.

i know i have to use the descendents function, but i only kow how to use this when there is only one selection, not multiple selections from the same hierarchy.

Any advice would be great.

Thanks.
Title: Re: send two or more parameters to a data item
Post by: leahmarie on 06 Jul 2011 09:43:49 AM
I would try using the children function.  Maybe use children(?parameter?) in the query for your parameter? or in the query calculation in the report?