COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: srinu_anu2007 on 18 Apr 2014 06:50:06 AM

Title: Detailer Filter to Slicer
Post by: srinu_anu2007 on 18 Apr 2014 06:50:06 AM
Hi,

How do we place the filter from detail filter to slicer.

for exa. iam using the filter in detailed filter says: caption([packagename].[Dimname].[Hierarchyname].[levelname as:Year]=?Param_year? and i want to use the same in slicers. how can i achieve this? can any one help me to get in slicer.

Thanks,
Title: Re: Detailer Filter to Slicer
Post by: cognostechie on 18 Apr 2014 05:48:34 PM
Delete the filter, go to the query and drag a slicer from the toolbox into the slicer window, insert a prompt macro in the slicer similar to this:

#prompt('Param_Year','memberuniquename','members([CubeName].[DimensionName].[Year])'#