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

What is the difference between a cascading report and drill through the report?

943


what are the filters in framework manager and report studio?

800


How do you call a store procedure within a transformation?

783


What is difference between page break and section report? What is main advantage datawarehousing over oracle?

813


how to perform single sign in cognos by using url?

778


How to generate cubes in cognos?

758


What is the use of report studio?

808


where you can save the report net documentation in our local system?

851


what are the names of the reports that you prepared?

817


What do you understand by the term 'aggregate advisor?'

741


Explain the difference between native sql and cognos sql?

724


Define report item?

883


------------ Diff b/w MemberCaption and MemberDescription?

2112


What do you understand by the cognos?

734


Why cognos decision stream is used?

891