You are on page 1of 7

Beget Software Solutions – www.begetsoft.

com

1. What are the various output formats in which you can generate a
report in cognos8?
Answer:
You can produce a report in HTML, PDF, CSV, various Excel formats, and XML.
You cannot produce a report in CSV or XML format if you have more than one
query defined in the report, unless the additional queries are used for prompts.
You cannot produce the following in CSV format:
• Maps
• Charts that do not have at least one category or series
You cannot produce the following in XML format:
• Maps
• Charts that do not have at least one category or series
The following Cognos 8 limitations exist when producing reports in Microsoft
Excel format.

2. What are the limitations of generating a report in Excel sheet?
Accessing Reports on a Remote Server
To access a report in Excel format on a remote server, you must change the
hostname portion of the gateway URI from localhost to either the IP address of
the computer or the computer name.
You do this using Cognos Configuration.
Drill-through Reports
Cognos 8 does not support drill-through for reports in Excel format.
Map Reports
Cognos 8 does not support map reports in Excel format.
Formats Not Supported for Reports in Excel Format
Cognos 8 does not support the following for reports in Excel formats:
• background images in table cells
• Excel-specific headers and footers
• text flow and justification
• floating text objects
• white space, normal, and wrap text formatting
• maximum characters
Some layouts do not show exactly in HTML and PDF due to Microsoft Excel
limitations.
Hyperlink Buttons
Microsoft Excel does not support hyperlink buttons.
Emailing Reports in Excel Format
Cognos 8 can send Excel reports in HTML and XML format by email. However,
the Excel email attachments must be saved to your computer before you can view
them.
Charting Support in Excel and Cognos 8
The following Cognos 8 chart properties are not supported in Microsoft Excel:
• tool tips
• conditional text
• depth

Report templates will be used when the same type of report is frequently produced.Beget Software Solutions – www. click Convert To Template. 4. is removed from the template. How do you create report templates in cognos8? A report template is a pattern that is used to build reports. A template can include the following objects: • HTML items • Hyperlinks • Page numbers • Images • Tables • Text items • Blocks • Layout calculations • Date • Time Steps 1. 4. From the File menu. 2. You can also use the Query Studio template to define a layout for prompt pages.begetsoft. click Save As to save the template as a new file and keep the original Report intact. Any query-related information in the original report. From the File menu. 3. and Filters. calculations. Explain the purpose of Query studio template? Create a Query Studio template to provide Query Studio users with a layout that they can use to Create reports or apply to existing reports. Create a new report or open an existing report. Add the objects you want to the work area. . such as data items.com • visual angle • show values • marker text location • show baseline • new note • new marker • truncation text and allow n-degrees rotation category labels • border • margin • box type • font and font alignment • footer • subtitle • regression line • baseline 3.

or parts of the human body. 6. For each product. If you add objects that are not supported by Query Studio. • crosstab crosstab reports are reports that show data in rows and columns. Add the objects you want to the work area. . A list report is a report that shows data in rows and columns. you can use repeaters to create mailing labels.begetsoft. Maps are most often used to show geographical areas. seats in an airplane. such as a floor plan in a building. • chart Use to show data in graphical representation. For example. From the File menu. the objects will be ignored when you apply the template. including customer names and addresses. You can also combine one or more of these in a single report. You group the Product type column to show only one instance of each product type in the list. What are the types of reports? Explain. 6. you can create the following types of reports: • list Use list reports to show detailed information from your database. 5. Each column shows all the values for a data item in the database or a calculation based on data items in the database. 2. 3. the values at the intersection points of rows and columns show summarized information rather than detailed information. What is the difference between group and section? Group data items in a list report to remove duplicate values. • map use to represent tabular data in a spatial context. Click Query Studio Template and click OK. but they can be used to show other spatial information.Beget Software Solutions – www. Pause the pointer over the page explorer button and click the report page or prompt page you want to format. In Report Studio. For example. Save the template. click New. click the toolbox tab. However. • repeater Use repeaters to repeat items when you run the report. Used for comparative and trends analysis. In the Insertable Objects pane. you have a report that shows products purchased. such as product lists and customer lists. 5. 4.com Steps 1. the product type is also shown.

click the data item and then click the group/ungroup button to ungroup the item. For example. The difference is that section headers appear outside the list. For information abou the page structure view. 8. 9.begetsoft. in a list. do the following: Steps 1. chart. when country and city are both grouped. separate sections appear for each value. Explain advanced grouping and sorting? You can perform more advanced groupings in a list to get the results you want. you can group data items only in lists. What is Group span? When columns are grouped.com Create sections in a report to show a data item as the heading of a section. In addition. Creating sections is similar to creating headers by grouping on a data item. 7. you can sort a row or column by another item. 5. 4. Expand the page containing the data container with the section. crosstab. Drag the data container to Page Body. In the Insertable Objects pane. If you created sections in a list without creating a master-detail relationship. you can choose to show the country name each time • the country changes. . you can sort columns within groups and change the sort order of columns. When you run the report. you can group a data item that appears in a query but not in the layout. In a crosstab. For example. by spanning Country by Country • the city changes. From the View menu.Beget Software Solutions – www. Delete the List object. 8. see "The Page Structure View". click Page Design. by specifying no spanning Spanning one grouped column by another column is helpful if the second column contains many items. or repeater. 7. 9. How do you remove sections from the report? To remove sections and reinsert the data item used to create the sections to the data container. click the data items tab. 6. 3. From the View menu. Expand Page Body until you see the data container in which you added the section. The data container appears as a node of Page Body. 2. you can choose how often to show column names by changing the group spanning. Drag the data item that was used as a section header back into the data container. The data container is nested in the List Column Body object of the List object that is created when you add a section. by spanning Country by City • there is a new record. such as Order year by Revenue. For example. click Page Structure.

. Use Conditional Blocks when presenting the same data in different formats based on user preference. or percentile • A percentage along the axis 11. you can choose to show the country name each time  the country changes. Select ok. 14. it is not in the report. It is basically used for conditional display. What is a base line? Baselines are horizontal or vertical lines which cut through the chart to indicate major divisions in the data.What is the use of conditional block? a. What is the use of render variable? a. Below are the steps to display selected value from a value prompt in report viewer. you can choose how often to show column names by changing the level spanning. when country and city are both grouped. If an object is not rendered. by spanning Country by Country  the city changes. iii. For instance. the object exists but is transparent. iv. mean. Render variables are used to specify which objects are rendered when a report is run. by spanning Country by City  there is a new record. For example.begetsoft. some data can be presented in a crosstab format and a graph. What is the use of level span in cognos8? a. by specifying no spanning Spanning one grouped column by another column is helpful if the second column contains many items. select the page on which the value has to be displayed.com 10. you can add a baseline to show a sales quota or break-even point. A block which gets displayed based on condition defined in the variable associated with it. Conditional rendering is not the same as showing or hiding objects.If a user selects a value in a prompt how can we display in report viewer? a. By using Conditional Blocks a single report can meet both presentation needs. and drag the required parameter into the expression definition. 12. drag layout calculation into the report. i. Go to page explorer. maximum. You can add baselines based on • A numeric value • A query calculation or layout calculation • A data minimum. In the expression definition. When columns are grouped. From tool box. A user may wish to use a different representation of the data in different situations. select parameters. ii.Beget Software Solutions – www. For example. This is useful when your report contains sensitive data. When you hide an object. 13.

What is the use of layout component reference? a.Beget Software Solutions – www. Go to file menu. In the Properties pane. How can we do the union in report studio? a. Crosstab is used for comparative and trends analysis. Select the list column to be rendered conditionally. What is the major diff between list and crosstab reports? a. Lists are used to show detail information in the form of a table. In cognos8. The intersection of rows and columns gives summarized data. You must select the list column. not list column body or list column title. Steps: i. 3. Click Variable and click the variable that will be used to determine if the column is to be rendered. It will not improve the performance as the data in the group is hidden from the user and not removed. b. 18. 2. Union query is used to combine two or more queries into one result set. How can we remove the duplicate records in Report studio? Can it improve the performance or not a. Open the report.com b. 5. For example. 19. 16. as indicated in the Properties pane. Open the report that you want. Steps 1. double-click the Render Variable property. We can change the report’s package. iii. layout objects can be reused across the reports by using layout component reference. Duplicate records can be eliminated by using grouping. use the select ancestor button to select the list column. Select the required package from list of packages available and select ok. 17.begetsoft. Select report package. . if we have a multiple-page report and want to show the company logo in the page header of each page. 15. Can you change the report’s package from one package to another? a. ii. c. 4. Crosstabs show summarized information in the form of a two dimensional grid. We can Insert the logo once and reuse it on all other pages. If the body or title is selected. In the Render for box. select the values you want the condition to support and click OK. By using layout component reference we can save time by reusing layout objects that are added to a report instead of re-creating them. b.

Slicers are used to create dimensional filters that reduce the data included in measure rollups. Intersect. For example. . You cannot create multiple slicer member sets against the same dimension. char. • Drag Union. Two drop zones appear to the right of the operator. A slicer is a filter that is applied to the cells but not the rows or columns in a crosstab. You can create multiple slicer member sets if you want to filter across two or more dimensions.com We can combine queries that use different data sources. You can add a child member of a report item as a slicer. b. • The data types of the data items must be compatible and the data items must appear in the same order. and longVarChar are compatible. Steps: 1. Year as columns.Open the report that you want. In the Insertable Objects pane. and Revenue as the measure. A slicer member set is an expression that returns a set of members from the same dimension.Beget Software Solutions – www. or Except to the right of the query. Date data types must match perfectly. Two queries are created in the work area and a shortcut to each query appears in the drop zones. integer. • Drag a Query object to each drop zone. You drag Sleeping Bags to the Slicer pane.begetsoft. Double-click each query that makes up the union query and add the data items that you want. 4. but a value appears only for the Camping Equipment row because Sleeping Bags is a child of Camping Equipment. 2. double. do the following: • Drag Query to the work area. For numeric data types. 3. For example. c. all product lines appear in the crosstab. you can combine a query that returns data from a dimensional data source with a query that returns data from a relational data source. float. binary and varBinary are compatible. For binary data types. What is the use of slicer? a. you create a crosstab with Product line as rows. To combine two queries. When you run the report. varChar. 20. the following conditions must be met: • The two queries must have the same number of data items. and decimal are compatible. Pause the pointer over the query explorer button and click Queries. For string data types.