What is render variable?Where do you exactly use in developing a
report?
Answers were Sorted based on User's Feedback
Answer / dhanu
Render Variable: - Specify a variable based on which object can be conditionally rendered.
Style Variable: - Specify a variable based on which object can be conditionally styled.
Example for Style Variable
In a report in a list if u want to display every alternate row with particular color
in this case
1) create a data item with name running-count with function "running-count" on particular unique column
2) now create one more data item as mod with functon "mod" on that running-count data item
3)create a boolean varibale with expression mod 1
4)go to the page select List column Body style
5)In properties pane select Style Variable as boolean variable
6)click on YES variable and set its Foreground color as RED
7)click on No variable and set its Foreground color as Yellow
now run the report
Example for Render Variable
if the case is like you want to see the particular page in HTML or PDF or CSV format then
1)Create 3 pages in your report
2)every page conatins some specific data
3)name these pages as HTML PDF CSV
4)create a String vaiable with 3 values as HTML PDF and CSV
5)now in string variable put expression as .....
case
when ReportOutput() 'HTML' then 'HTML'
when ReportOutput() 'PDF' then 'PDF'
when ReportOutput() 'CSV' then 'CSV'
end
6)now go the page named HTML and select page object
7)in properties pane click on Render Variable select that string variable
8)check only HTML check box value for HTML page
9)repeat step No. 6 to step No.8 for remaining 2 pages.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / srini madhala
When you hide an object, the
object exists but is transparent. If an object is not
rendered, it is not in the report.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / the_xxx
Render variable is used to conditionally hide particular
part of the report like column, Summary, footer, header
e.t.c. By using Style variable also we can achieve this, By
setting the property Box Type to 'None' for a particular
part of the report after selecting a condition variable (
Boolean or String) as Style variable. And we can perform
conditional formatting by using Style variable for Report
columns and this cannot be achieved by using Render
variable. For both Render and Style variable we have to
define and use either Boolean variable or String variable in
Conditional Explorer. I hope you understand the difference.
| Is This Answer Correct ? | 2 Yes | 1 No |
cognos is holap or molap or rolap
pls ans what are the filters we have in framework manager? filters in report studio?
Write a SQL query which should fetch the 5th maximum salary of an employee from the table?
difference between imprompt and reportnwt1.1
What do you understand by user class in cognos?
What are the Ways to Import Data into Catalong?
It is possible to test 2 query subjects at a time in CRN1.1 & C8 FWM?
we are in a trail to create a crosstab with rolling months as columns,i mean we have a crosstab with LOB as rows and loan amount as measure,coming to the main problem we have to create dynamically changing column in the columns of the crosstab.The requirement is ...we must have two dynamic columns like feb 08 and feb07.For example if current date is feb 28,we have to get the loan amount from 1st of feb to 27 of feb 2008 as feb08 and loan amount from 1st of feb to 27th of feb 2007 as feb07 columns.Please suggest us the possible way....thanks in advance....
------------------What is Focalpoint?
How can you schedule a report based on different time zone ?(ex: local time should be same as 10 am . Japan should get the report at 10 am. USA should get the report at 10 am).Is that possible?
Please answer me the below questions, It's really urgent, and ur help would be appreciated. 1. What is looping in FM? How do u control it 2. How do u create IQDs in FM? Explain 3. What are the diff u noticed between Cognos 8.2 and Cognos 8.4 4. Can we use cube as a data source? How 5. How do u connect ur database in FM? do u connect directly 6. What's the structure of your database? Say u use Oracle 7. Did you use tables or views to bring the data from your DB 8. Does the dimensions of analysis studio have hierarchy? 9. Did you create any dashboards? How u created, explain
Why need staging area database for dwh?