COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: mitwa on 21 Jan 2014 05:49:05 AM

Title: 1 prompt page and 2 report page
Post by: mitwa on 21 Jan 2014 05:49:05 AM
i have one prompt page consisting of 2value prompt cascaded together(1.country 2.state).. its output consists of 2 text item  like report1 and report2..if i click on report1 report1 page will executs and if i click on report2 then report2 page will executes..before that u have to create 2 report pages also...

how?
Title: Re: 1 prompt page and 2 report page
Post by: BigChris on 21 Jan 2014 06:45:42 AM
Have you tried using render variables? They should allow you to only show the second page if you select Page 2 in your prompt.
Title: Re: 1 prompt page and 2 report page
Post by: mitwa on 21 Jan 2014 06:55:13 AM
Nope..can u explain briefly
Title: Re: 1 prompt page and 2 report page
Post by: chinnucognos on 22 Jan 2014 06:17:13 AM
hi,
select string variable from conditional explorer and use below condition....


case
when (ParamDisplayValue('parameter1') = ( 'report1')
THEN 'report1'
ParamDisplayValue('parameter2') = ( 'report2')
THEN 'report2'
else
end

cheers..........
Title: Re: 1 prompt page and 2 report page
Post by: mitwa on 27 Jan 2014 06:12:43 AM
thanks..but easy way is to going with drill through