COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cognos05 on 11 May 2014 06:34:37 PM

Title: Filter on All Member top level in union query
Post by: cognos05 on 11 May 2014 06:34:37 PM
Hi All,
I have All Regions at my first level of hierarchy and there are few more levels.

first all regions
Second Individual regions
Individual Distributors.

I used union(Allregions (top most Member),Descendants(Set(East,West),Distributor Level))

so my prompt will have values all regions, Distributors from East and west region)

I will give my default value of prompt to be the mun value of all region member.

Hierarchy-> prompt value.

Now this All regions member will refer to all the regions , can i add any filter to show only specific regions when this is selected.
Exmple - All Regions selection will pull only for records of east and west

Thanks,
Nithya


Title: Re: Filter on All Member top level in union query
Post by: adik on 12 May 2014 02:04:21 AM
so...what is the question?
Title: Re: Filter on All Member top level in union query
Post by: cognos05 on 12 May 2014 07:46:59 AM
All regions member will refer to all the regions , can i add any filter to show only specific regions when this is selected.
Exmple - All Regions selection will pull only for records of east and west /

Thanks,
Nithya
Title: Re: Filter on All Member top level in union query
Post by: cognos05 on 12 May 2014 04:23:34 PM
I have all items at my top level and I am using this in my propmt
like propmt query - union(all items, Descendants(all items, Level3)

Now If I select all items in my prompt it will show data for all the regions, but I want this to show only for few regions on All items selection.

Can I apply some filter on this, is it possible to achieve this.

Thanks,
Nithya
Title: Re: Filter on All Member top level in union query
Post by: cognos05 on 13 May 2014 02:52:47 PM
Hi All,

Any suggestions on the below issue.

I appreciate your help.

Thanks,
Nithya
Title: Re: Filter on All Member top level in union query
Post by: sujitgouda on 14 May 2014 12:35:34 PM
You can create your own filters or Parameterize the same, might as well use cascading prompts.
Title: Re: Filter on All Member top level in union query
Post by: cognos05 on 14 May 2014 03:37:33 PM
How to create own filters, can you let me know the code.

my current query to prompt is

union(allitems,descendant(all items, level3))

Now all item members has different regions say a,b,c,d
and on selection of allitems  i wish to show only data for a,b,c.

where should i write my filter.

Thanks,
Nithya