Академический Документы
Профессиональный Документы
Культура Документы
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.
• 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
Steps
1. Create a new report or open an existing report.
2. Add the objects you want to the work area.
3. From the File menu, click Convert To Template.
Any query-related information in the original report, such as data items, calculations, and
Filters, is removed from the template.
4. From the File menu, click Save As to save the template as a new file and keep the
original
Report intact.
Steps
1. From the File menu, click New.
2. Click Query Studio Template and click OK.
3. Pause the pointer over the page explorer button and click the report
page or prompt page you want to format.
4. In the Insertable Objects pane, click the toolbox tab.
5. Add the objects you want to the work area.
If you add objects that are not supported by Query Studio, the objects will
be ignored when you apply the template.
6. Save the template.
• crosstab
crosstab reports are reports that show data in rows and columns. However,
the values at the intersection points of rows and columns show summarized
information rather than detailed information.
• chart
Use to show data in graphical representation. Used for comparative and
trends analysis.
• map
use to represent tabular data in a spatial context.
Maps are most often used to show geographical areas, but they can be
used to show other spatial information, such as a floor plan in a building, seats in
an airplane, or parts of the human body.
• repeater
Use repeaters to repeat items when you run the report. For example, you
can use repeaters to create mailing labels, including customer names and
addresses. You can also combine one or more of these in a single report.
Create sections in a report to show a data item as the heading of a section. When you run
the report, separate sections appear for each value. Creating sections is similar to creating
headers by grouping on a data item. The difference is that section headers appear outside
the list, crosstab, chart, or repeater. In addition, you can group data items only in lists.
b. Steps
1. Open the report that you want.
2. Select the list column to be rendered conditionally.
You must select the list column, not list column body or list column title.
If the body or title is selected, as indicated in the Properties pane, use the
select ancestor button to select the list column.
3. In the Properties pane, double-click the Render Variable property.
4. Click Variable and click the variable that will be used to determine if
the column is to be rendered.
5. In the Render for box, select the values you want the condition to
support and click OK.
15. What is the major diff between list and crosstab reports?
a. Lists are used to show detail information in the form of a table.
b. Crosstabs show summarized information in the form of a two dimensional
grid. The intersection of rows and columns gives summarized data.
Crosstab is used for comparative and trends analysis.
16. Can you change the report’s package from one package to another?
a. We can change the report’s package.
b. Steps:
i. Open the report.
ii. Go to file menu. Select report package.
iii. Select the required package from list of packages available and
select ok.
17. How can we remove the duplicate records in Report studio? Can it
improve the performance or not
a. Duplicate records can be eliminated by using grouping. It will not improve
the performance as the data in the group is hidden from the user and not
removed.
We can combine queries that use different data sources. For example, you
can combine a query that returns data from a dimensional data source with
a query that returns data from a relational data source.
To combine two queries, the following conditions must be met:
• The two queries must have the same number of data items.
• The data types of the data items must be compatible and the data
items must appear in the same order.
For numeric data types, integer, float, double, and decimal are
compatible. For string data types, char, varChar, and longVarChar
are compatible. For binary data types, binary and varBinary are
compatible. Date data types must match perfectly.
Steps:
1.Open the report that you want.
2. Pause the pointer over the query explorer button and click
Queries.
3. In the Insertable Objects pane, do the following:
• Drag Query to the work area.
• Drag Union, Intersect, or Except to the right of the
query.
Two drop zones appear to the right of the operator.
• Drag a Query object to each drop zone.
Two queries are created in the work area and a shortcut to
each query appears in the drop zones.
4. Double-click each query that makes up the union query and add
the data items that you want.