COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cognos05 on 04 Nov 2015 08:37:03 AM

Title: using members from different levels
Post by: cognos05 on 04 Nov 2015 08:37:03 AM
Hi ,
I have to filter my report based on a products set.

The products are coming from different levels and I have to go pick them or drag them to the set.

Is there a way to copy the members from excel to the report page ?

I have never done this? but is there a way to ?

Thanks,
Nithya
Title: Re: using members from different levels
Post by: Francis aka khayman on 04 Nov 2015 07:42:22 PM
use prompt.

or you mean the products set are changing and are stored in some excel file and from there you want to use as input parameters for your report?
Title: Re: using members from different levels
Post by: bus_pass_man on 04 Nov 2015 09:46:58 PM

Why not create a filter?

Are the set elements known?  Are they fixed?  Are they determined by a prompt pick list?   Is populating the set via a parameterized macro in the filter something you've considered? Can you define the set by an expression (for example unioning some sets in the expression, each set picking the members you want from each level)?

What's your data source?  Are you working with DMR? Pure relational?  OLAP?  You mention members, which suggest either OLAP or DMR.  If the set is known and fixed you could just put it into the context filter?

Why do you think you need to use excel?

Just out of curiosity, what is the relationship between the members?   Are any ancestors /  descendants of other members in the set?
Title: Re: using members from different levels
Post by: cognos05 on 05 Nov 2015 07:31:49 AM
yes the items that needs to be used in slicer are say 50 product items, so I have to drag all the fifty items to slicer one by one.

If I am able to copy these 50 products from an excel to the query , then I will select this member and put in slicer.

Otherwise I have to go pick all 50 members from different levels.

Thanks