COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Revathi_M on 23 Oct 2014 08:43:32 AM

Title: How to create conditional block and Render Variable
Post by: Revathi_M on 23 Oct 2014 08:43:32 AM
anybody help step by step how to create create conditional block and Render Variable
i saw this below documnet  i am prepare same stype but when run my report it show both table and chart
please anybody help
conditonal block:http://www.performanceg2.com/blog/conditional-blocks/
Render Variable one pdf

Conditinal block step by step:
Sype by step:
1 create  list & chart ,chart query given query1(both query same name)
2.creating value prompt
3.prompt properties:static choice:List and Chart
4.I created conditional block
5.selecting conditinal block properties:block variable-->seleted new variable-->Report expression-->ParamDisplayValue('ConditonBlockParam')='List'
then
6.current block='yes'

now i run report i am selecting list display both list and char
if select chart also display both


tahnsks

Title: Re: How to create conditional block and Render Variable
Post by: BigChris on 23 Oct 2014 09:19:35 AM
http://ibmcognosrmug.files.wordpress.com/2014/01/conditional-formatting-2014.pdf
Title: Re: How to create conditional block and Render Variable
Post by: Revathi_M on 24 Oct 2014 02:09:02 AM
i am flowwing this model
http://www.performanceg2.com/blog/conditional-blocks/

please facing problem when drag 'condition block' after step i am not understand please anybody explain
Title: Re: How to create conditional block and Render Variable
Post by: MFGF on 24 Oct 2014 05:15:58 AM
Quote from: Revathi_M on 24 Oct 2014 02:09:02 AM
i am flowwing this model
http://www.performanceg2.com/blog/conditional-blocks/

please facing problem when drag 'condition block' after step i am not understand please anybody explain

After you have dragged your Conditional Block below the pie chart on your page, click on the Conditional Block to select it. In the Properties pane on the left, you will see a "Block Variable" property - this is the screen shot you see in the document you are following. Press the ellipsis (...) in the Block Variable property and you will be prompted to set up a new variable - which will be used to control what the block will display. It looks like the instructions need you set this up as a boolean variable and to give it a name of varDisplay.

Cheers!

MF.