GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Cognos

 Print  |  
Question:  How can I create a dynamic column name in Cognos

Answer: 1.Create a calculated column which contains the information that the header is to contain, such as "Report for year 1999" (concatenated text and date to string sub string extraction).
2.Highlight the report, and then right-click.
3.Select Properties, and then click the Headers/Footers tab.
4.Clear the Column Title Header check box. This will remove the headers from your columns.
5.Reinsert the rest of the column headers; insert text will work. For the dynamic column, from the Insert menu, click Data and select the calculated column you created and insert it into the report.


August 08, 2007 22:49:03 #5
 mgani   Member Since: Visitor    Total Comments: N/A 

RE: How can I create a dynamic column name in Cognos
 
We can create dynamic columns in two ways

1. by changing sql query

2. using macromacro use the perameter map to create column dynamically
     

 

Back To Question