What is RenderVariable?

Answer Posted / cognosvij

Specify a variable based on which object can be
conditionally rendered.

e.g.
In my sample report .....
I have a Prompt page and it contains a value prompt for
revenue type i.e.X revenue and Y revenue
I have put static choices in that value prompt as X and Y .

now on report page there ,
I have a list contains ....
Client Id
X revenue
Y revenue

as a user run the report ,
if he selects X the list should displays
Client ID
X revenue

and
if user selects Y list should dispalys
Client ID
Y Revenue


for this i have created a string varibale with the values X
and Y and put the condition as....

if (ParamDisplayValue('Parameter1')='X')
then
('X')
else
('Y')

and then go to the report page select the X revenue column
and click render variable property from property sheet and
uncheck the check box for Y

and again
go to the report page select the Y revenue column and
click render variable property from property sheet and
uncheck the check box for X

and now run the report and see how Render variable is
working .....



Hope it will help u

thnx,
vij

:-)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how to create powerplay reports?

606


What do you understand by ‘ibm predictive maintenance and quality’?

563


hi..i'm searching on cognos.i want to know some real time explanation..persons who have real time exp and who r searching in this field..can u send ur mail-id..my mail-id is dhaanuus@gmail.com..hope u will respond as soon as possible..

1450


What is the function of cognos dispatcher?

591


Define the slice and dice?

571






--------------Diff b/w ODS and OLAP?

2752


What are all the different types of prompt in cognos?

546


What are slice and dice?

526


What is metric store database?

565


How do you call a store procedure within a transformation?

549


------------------What is Inline Query?

1785


All ready we have alias tables for modifications why we are using views if anybody this answer plz reply me

1639


How to publish a package by running Java Script?

1596


What are the different types of reports present in cognos?

568


What is a Framework manager?

561