If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

filter a dimension depending on a prompt value

Started by philelmousse, 25 May 2011 03:53:25 AM

Previous topic - Next topic

philelmousse

Hello I try to create a filter for a crosstab depending on a prompt value.

I created a prompt, it returns a string value. In my crosstab I created a filter like this :

CASE ?prompt?

when 'value1'
then dimensionid in ('1','2','3')
when 'value2'
then dimensionid in ('4','5','6')

But it doesnt work at all. Is it possible ?

Lynn

If your source is relational, you could try the expression below:


( ?prompt? = 'value1' and [dimensionid] in ('1','2','3') )
or
( ?prompt? = 'value2' and [dimensionid] in ('4','5','6') )


philelmousse

in the filter ?

The prompt should be in a condition. And its a DMR.