COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: surgents on 23 May 2008 04:12:06 AM

Title: Ancestors for multiple members selected by a prompt
Post by: surgents on 23 May 2008 04:12:06 AM
Hi,

i want a multiselect prompt on Products and a simple list with two columns:

Product-------Product Line

Product column is defined like set([sales_and_marketing].[Products].[Products].[Product]->?pProduct?)

How to define Product Line column?
Using currentMember([sales_and_marketing].[Products].[Products]) gives me the member i have in Product column, but when i use it in an ancestor function, it is not working...

Thanks
Title: Re: Ancestors for multiple members selected by a prompt
Post by: jahnavi on 23 May 2008 05:20:36 AM
can you pls expain us clearly wat you are going to fetch
Title: Re: Ancestors for multiple members selected by a prompt
Post by: rockytopmark on 27 May 2008 10:19:32 PM
How about simply:
[sales_and_marketing].[Products].[Product].[Product line]

Does this not give you what you need?  Seems to work in my replication of your test...  What does your desired resultset look like?