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

Render Varaible makes parameter required?

Started by Fredrik, 19 May 2015 04:28:29 AM

Previous topic - Next topic

Fredrik

Hi  I´m trying to use one value prompt as a Render Variable for another value prompt but I get problem because that's makes the parameter("Praccount")  in my value prompt using the Render Variable  required. If I remove the Render Variable the parameter is no longer required. Is it possible to get around this problem?

This is what I have got in my report

I have got one value prompt with parameter "Prhide". This value prompt have static choice with "1" and "2"
I have got a Variable "Hideprompt" with the expression ParamValue (' Prhide ') = '1'
I have got another value prompt with parameter "Praccount" and on this value prompt I use Render Variable where I use the Variable "Hideprompt"

I use a slicer in one question that looks like this
IF (?Prhide? = '1') THEN
(#prompt('Praccount ';'mun';'[1 Motpart 100 - 499]')#) ELSE
([Motp]

Regards

Fredrik

Gopinath

Include a default value for ?Prhide? parameter using a prompt macro

IF (#prompt('Prhide', 'string', '0')# = '1') THEN
(#prompt('Praccount ';'mun';'[1 Motpart 100 - 499]')#) ELSE
([Motp]

Fredrik

Hi,

But the problem is not the Prhide parameter, it´s the  parameter Praccount that is required.

Regards

Fredrik