COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: suhas_bhat on 17 Aug 2010 05:20:14 AM

Title: Applying a filter/slicer for dimensional data
Post by: suhas_bhat on 17 Aug 2010 05:20:14 AM
Hi all,
I have used this as part of my filter expression.
[cube].[dimension].[hierarchy].[level] -> (#CSVIdentityName(%Parameter_name)#)
My parameter map contains 1 key-value i.e xyz therefore the above macro (#CSVIdentityName(%Parameter_name)#) returns xyz which is a string, now i am getting an error, a qe-def-0260 parsing error before or near position: 61 of: [cube].[dimension].[hierarchy].[level] -> (#CSVIdentityName(%Parameter_name)#). What would be the right way to do this?
I have to apply the filter at the cube level, is there any alternate way to cast level to a string


Title: Re: Applying a filter/slicer for dimensional data
Post by: dlafrance on 17 Aug 2010 07:31:59 AM
in the dimension explorer, look for long name under your level. It is a string representation of your dimension..
Title: Re: Applying a filter/slicer for dimensional data
Post by: suhas_bhat on 17 Aug 2010 11:22:32 PM
thanks, will try this.