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
explain how to create powerplay reports?
What do you understand by ‘ibm predictive maintenance and quality’?
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..
What is the function of cognos dispatcher?
Define the slice and dice?
--------------Diff b/w ODS and OLAP?
What are all the different types of prompt in cognos?
What are slice and dice?
What is metric store database?
How do you call a store procedure within a transformation?
------------------What is Inline Query?
All ready we have alias tables for modifications why we are using views if anybody this answer plz reply me
How to publish a package by running Java Script?
What are the different types of reports present in cognos?
What is a Framework manager?