Skip Headers
Oracle® Argus Insight Cognos Administrator's Guide
Release 7.0.1

E28480-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

9 Creating Custom Reports

In addition to the preformatted standard reports, Argus Insight provides the Report Writer tool that you can use to create custom reports for ad hoc/special reporting requirements.

Report Writer is used to create a custom report by directly selecting data mart fields and applying filters on them. The report output can be displayed in various layouts and can be saved in file formats, such as PDF, XLS, or CSV.

This chapter, which explains how to use the custom report tools, includes the following topics:

General Report Writer Information

In this version of Argus Insight, Report Writer uses the features of Cognos 8 Query Studio to let you create custom reports by directly selecting data mart fields and viewing the results (report output) on the fly. The Report Writer interface provides a list of database fields organized in a tree structure. To create a report, expand the trees corresponding to the required database fields and select the fields to be displayed as columns in your report.

Once you have created your report, you can edit the report, change the report layout, run the report in specific formats, and save the report.

Note:

The report author must ensure to not use those enterprise-specific values in the report, which will also be shared with other enterprises.

Creating a New Report

To start Report Writer and create a new report:

  1. Navigate to Case Series Reports, Report Writer, and select New. Query Analysis starts. In the left frame, the Insert Data menu option is selected.

    Surrounding text describes cogsp1.gif.

  2. Select Active Case Series Filter.

    Note:

    Select the active case series filter before selecting data mart fields for your report. This prevents Report Writer from querying the entire data mart and slowing down the report output generation.

    To view the active case series, navigate to Query Results, Case Series, and select Active in Argus Insight.

    To make a different case series active, navigate to Query Results, Case Series, and select Library in Argus Insight. When the CASE SERIES LIBRARY page opens, select the case series you want to make active and click Make Active.

  3. Expand the Report Writer control tree. The various data mart views are displayed.

    Surrounding text describes cogsp2.gif.

  4. Scroll the list of views until the Filters folder is visible.

  5. Expand the Filters folder. The built-in active case series filter is displayed.

    Surrounding text describes cogsp3.gif.

  6. Select Active Case Series Filter.

  7. Click Insert. The system displays the selected filter in the right frame.

    Surrounding text describes cogsp4.gif.

  8. Select the data mart fields to include in your report.

  9. Expand the Report Writer control tree. The various data mart views are displayed.

  10. Expand the data mart view tree, as appropriate. The data mart fields corresponding to the tree are displayed.

  11. Select the data mart fields, as appropriate.

    Tip:

    If your report consists of fields from the Event and Product tables, it will only display data for those cases where event assessment has been done. This is because event assessment is the only way of defining relationship between an event and a product.
  12. Click Insert. The Report Writer queries the data mart, automatically executes the query for every field you selected, and displays the data for the selected fields in the report output area within the right frame. The fields you selected are displayed as columns in the report output.

    Surrounding text describes cogsp5.gif.

    Tip:

    Select multiple fields as follows:
    • Hold down the CTRL key and select the fields.

    • Insert an entire data mart view in your report by selecting the data mart view entity in the left frame and clicking Insert.

    • Drag the field entities to the report output area.

  13. Repeat the previous steps to insert additional fields into the report.

    Tip:

    If you want to delete a column from the report output, select the column and click Delete on the toolbar.

    To revert or repeat any actions you perform in Query Studio, use the Undo or Redo options on the toolbar, respectively.

  14. Enter the report title.

  15. Click Title above the report output. The Edit Title section appears below the report output in the right frame.

    Surrounding text describes cogsp6.gif.

  16. Enter the report title and subtitle in the respective fields.

  17. Click OK. The page refreshes; the titles you entered appear above the report output.

Using Case Series Criteria and Case Series Name in New Report

To generate a report for displaying all the Case Series Criteria and Case Series Name, select the Case Series Criteria and Case Series Name objects from the Case Series class.

The Report Writer queries the data mart to get all the Case Series Criteria and Case Series Name.

Surrounding text describes cogsp7.gif.

Note:

Temporary Case Series Criteria and Case Series names will not be displayed.

Using Case Series Criteria and Name with Other Objects

To use the Case Series Criteria and Case Series Name with other objects:

  1. Expand the class folders under Report Writer. The dimensions for the class category are displayed.

  2. Scroll the list of views until the Filters folder is visible.

  3. Expand the Filters folder.

  4. Surrounding text describes cogsp4.gif.

  5. Select Active Case Series Filter.

  6. Click Insert. The system displays the selected filter in the right frame.

  7. Expand the Report Writer control tree. The various data mart views are displayed.

  8. Surrounding text describes cogsp2.gif.

  9. Expand the data mart view tree, as appropriate.

  10. Select the data mart fields, as appropriate along with Case Series Criteria and Case Series Name from Case Series class.

    Tip:

    If your report consists of fields from the Event and Product tables, it will only display data for those cases where event assessment has been done. This is because event assessment is the only way of defining relationship between an event and a product.
  11. Click Insert.

    The Report Writer queries the data mart, automatically executes the query for every field you selected, and displays the data for the selected fields in the report output area within the right frame. The fields you selected are displayed as columns in the report output along with Case Series Criteria and Case Series Name.

    Surrounding text describes cogsp8.gif.

    Tip:

    To select multiple fields, hold down the CTRL key and select the fields. To insert an entire data mart view in your report, select the data mart view entity in the left frame and click Insert.

    You can also drag the field entities to the report output area.

  12. Select Case Series Criteria and click Create Sections icon.

    Surrounding text describes cogsp9.gif.

  13. The Case Series Criteria displays as header.

    Surrounding text describes cogsp10.gif.

  14. Display the Case Series Name as header.

    Surrounding text describes cogsp11.gif.

    Note:

    Always use Active Case Series Filter while using Case Series Criteria and Case Series Name with other objects. Otherwise, you may receive undesirable results.

    To view the active case series, navigate to Query Results, Case Series, and select Active in Argus Insight.

    To make a different case series active, navigate to Query Results, Case Series, and select Library in Argus Insight. When the CASE SERIES LIBRARY page opens, select the case series you want to make active and click Make Active.

After you have selected the required data mart fields and generated the output, you can use the various Query Studio options to edit the report, change the report layout, run the report in specific formats, and save the report.

Editing Reports

To access Query Studio's report editing options, select the Edit Data menu option. The report editing options let you control what data appears in your report as well as how it is formatted, calculated, and sorted. None of the edit operations you perform are stored in the database.

Surrounding text describes cogsp12.gif.

This topic only explains the basic report editing operations in Query Studio. For detailed information, see the documentation supplied with the Cognos8 products.

Filtering Data

Use the filtering option to reduce data in your report.

To filter your report:

  1. In the report output area, click within the header of the column you want to use to filter the report output. The selected column is highlighted.

    Surrounding text describes cogsp13.gif.

  2. Select Filter from the Edit Data menu options in the left frame. The Filter section appears below the report output in the right frame. The Show only the following list displays all the values in the column you selected.

    Surrounding text describes cogsp14.gif.

  3. In the Show only the following list, check the values by which you want to filter the report output.

    Note:

    The Show only the following list may not display all the values if the list of values is very large. If you cannot find the desired values to filter on, click the Search for values link and search for the value by typing the value you are looking for.
  4. If you want the system to prompt you to select the filter values each time you run the report, select the Prompt every time the report runs check box.

  5. If you want the report output to include those records which have a null value (no value) in the selected filter column, select the Show missing values check box.

  6. Click OK. The system refreshes the report and displays the filtered output. The filter information is displayed above the report output.

Sorting Data

To change the sort order in your report:

  1. In the report output area, click within the header of the column that contains the values by which you want sort the report output. The selected column is highlighted.

  2. Select Sort from the Edit Data menu options in the left frame. The Sort section appears below the report output in the right frame.

    Surrounding text describes cogsp15.gif.

  3. Select the required sorting option by using the Sort Order option.

  4. Click OK. The system refreshes the report and displays the sorted output.

Summarizing Data

Use the predefined summary options to calculate the total, count, maximum, minimum, or average of the values in columns of your reports. The summary options available to you depend on the type of data in the column you want to summarize. For example, you can only use the Count option if your column contains text data whereas you can use total, maximum, minimum, or average options if the column contains numeric data.

  1. In the report output area, click the column that you want to summarize. The selected column is highlighted.

  2. Select the column to be grouped and click on the Group icon placed in the grouping menu in the top panel. The selected column is grouped.

    Surrounding text describes cogsp16.gif.

  3. Select Summarize from the Edit Data menu options in the left frame. The Summarize section appears below the report output in the right frame.

  4. Click the Summary for footers drop-down list and select the required summary option. The options available depend on the type of values the select column contains.

  5. Click OK. The report output displays the column summary at the bottom of the report. Click the Bottom link to view the footer. If your report is grouped, the summary values are displayed for each group.

    Surrounding text describes cogsp17.gif.

  6. To remove summary information, select the relevant column and click Summarize. Select None from the list and click OK.

Formatting Data in Reports

You can use predefined formats to change the appearance of text, numbers, currency, dates, and times in your report. Formatting does not change the underlying data. Table 9-1 describes the available formatting options.

Table 9-1 Formatting Options for Data in Reports

Format Description

Default

The default format is the format of the report item before any formatting is applied in Query Studio. Use default to remove formatting.

Text

Use the text format to specify the number of characters that must be visible in the text string.

Number

Use the number format to change the number of decimal places, to specify whether to use a thousands separator, to choose different symbols to represent negative numbers, and to scale large numbers.

Currency

You can choose from many world currencies. Use either the currency symbol or the international code. For example, the currency symbol for the euro is € and the international code is EUR.

In addition, you can change the number of decimal places, specify whether to use a thousands separator, choose different symbols to represent negative numbers, and to scale large numbers.

Percentage

This format shows a number multiplied by 100, using two decimal places and a percent sign. For example, 0.7356 appears as 73.56%.

Scientific

This format shows a number in exponential notation. For example, the number 224,110 is 2.24110E+05 in scientific notation.

Date and Time

You can choose from a list of date and time formats, including the 12 or 24 hour clock.


To change the format of the data in a report:

  1. Display the report output.

  2. Click within the header of the column that you want to format. The selected column is highlighted.

  3. Select Format from the Edit Data menu options in the left frame. The Format section appears below the report output in the right frame.

  4. Select the data format from the Category drop-down list, as appropriate. The options for setting the format appear.

  5. Set the formatting options, as appropriate.

  6. Click OK. The report output is refreshed and displays the formatted data.

Performing Calculations

While the Summary option lets you display calculation results in report footers, the Calculate option lets you create a new column that displays the calculation results for one or more columns. For example, you can perform the following types of calculations:

  • An arithmetic calculation between several columns in a report

  • Analytic operations, such as maximum, minimum, average, or percentile, in grouped reports

  • Percentage operations, such as percentage of total or percentage of difference

  • Operations on text, such as concatenating text in two columns or abbreviating text in a column

The type of calculations or operations available to you depend on the type of information in a column.

  1. In the report output area, select the columns on which you want to perform calculations. The selected columns are highlighted.

  2. Select Calculate from the Edit Data menu options in the left frame. The Calculate section appears below the report output in the right frame.

    Surrounding text describes cogsp18.gif.

  3. Click the Operation Type drop-down list and select the type of operation you want to perform. The operation types available depend on the type of information the selected columns contain, such as text or numeric.

  4. Click the Operations drop-down list and select the operator. The operators available depend on the type of operation you specified.

    Depending on the operator you selected, additional options may appear in the Calculate section. Specify those options.

  5. Use the New item name options to specify whether you want the result column to have a new header title.

  6. Click Insert. The system refreshes the report output and displays the calculation result.

Changing the Report Layout

To access Query Studio's report layout options, select the Change Layout menu option. The layout options let you change the appearance of your reports without changing the underlying data. For example, you can convert your report into a chart or group the report into crosstab column headers. You can also group your report by a specific column, swap rows and columns, or create sections within your report.

Surrounding text describes cogsp19.gif.

The sections explain how to use the various report layout options.

Note:

This topic only describes the basic layout operations in Query Studio. For detailed information, see the documentation supplied with the Cognos 8 products.

Creating a Chart

Use the Chart option to graphically see patterns and trends in data. Charts can only be created for reports that contain measures (numeric values).

To create a chart from a report:

  1. While your report is displayed, select the Chart from the Change Layout menu options. The Chart section appears below the report output in the right frame.

    Surrounding text describes cogsp20.gif.

  2. Use the Chart type drop-down list to select the type of chart you want to create. For example, column, pie, radar, and so on.

  3. Check the Show the values on the chart check box if you want to display the measure value in the chart.

  4. Use the Show the following in the report options to specify whether you want the output to display only the chart or both chart and table.

  5. Click OK. The system refreshes the report output and displays the chart.

    Surrounding text describes cogsp21.gif.

    Tip:

    The legends are displayed at the bottom of the screen.

Grouping by Row Headings

Use the Group option to reorder the rows of a selected column so that identical values appear together. Grouping also suppresses display of duplicates. You can group only those columns that contain text data or numeric data that is not a measure.

To group a report:

  1. In the report output area, click within the header of the column that contains the values you want to use to group the report. The selected column is highlighted.

    Surrounding text describes cogsp22.gif.

  2. Select Group from the Change Layout menu options in the left frame. The system refreshes the report and displays the grouped output.

    Surrounding text describes cogsp23.gif.

Ungrouping a Report

To ungroup a report, select the grouped column and select Ungroup from the Change Layout menu options.

Creating Crosstab Reports

A crosstab report shows a measure at the intersection of each row and column. This type of report is useful when you need to display a large amount of data in a small area. For example, if a report shows Country as columns, Products as rows, and Case Count as the measure, the value at the intersection of each column and row shows the count of cases for that product and that country.

Note:

You cannot create crosstab reports directly in Query Studio; you cannot define measures in Query Studio. To create sophisticated reports, such as crosstab reports, use the Cognos 8 Report Studio tool. The steps that follow explain how to create a crosstab report by performing the Count operation on each cell of the Case Number column to convert it into a measure. You can use this method to create similar crosstab reports in Query Studio.

To create a crosstab report using the Count operation:

  1. Select the following data mart fields to include in your report.

    • General - General Information, Case Number

    • General - General Information, Country of Incidence

    • Product - Product Information, Product Name

  2. The Report Writer queries the data mart, automatically executes the query for every field you selected, and displays the data for the selected fields in the report output area within the right frame. The fields you selected are displayed as columns in the report output.

    Surrounding text describes cogsp24.gif.

  3. Convert the Case Number column values into counts.

  4. Select the Edit Data menu. The Edit Data menu options are displayed.

  5. Select the Case Number column by clicking within the column. The Case Number column is highlighted.

Summarizing the Sections in the Report

To summarize the sections in a report:

  1. Select the Summarize option from the Edit Data menu. The Summarize section appears below the report output.

  2. Click the Advanced link in the Summarize section. Additional options appear.

    Surrounding text describes cogsp25.gif.

  3. Select Count from the Summary for cells drop-down list.

  4. Select Total from the Summary for footers drop-down list.

  5. Click OK. The report output refreshes. The Case Number column now shows the case count for each row.

    Surrounding text describes cogsp26.gif.

Converting to a Crosstab Report

To convert to a crosstab report:

  1. Select the Change Layout menu. The Change Layout menu options are displayed.

    Surrounding text describes cogsp27.gif.

  2. Select the Country of Incidence column in the report output. The column is highlighted. The values of the selected column will appear as columns in your crosstab report.

  3. Select the Pivot from the Change Layout menu options. The report output refreshes. The crosstab report is displayed.

    Surrounding text describes cogsp28.gif.

Creating Sections in the Report

Use the Create Sections option to group your report into section headings. The section headings are based on the values within a column you select.

  1. In the report output area, select the column you want to use for creating sections. The selected column is highlighted.

    Surrounding text describes cogsp29.gif.

  2. Select Create Sections from the Change Layout menu options. The report output refreshes. The report is grouped into sections.

    Surrounding text describes cogsp30.gif.

Swapping Rows and Columns

The Swap Rows and Columns option in the Change Layout menu lets you interchange rows and columns in a crosstab report or a chart based on a crosstab. However, this option does not let you swap rows and columns in a list report.

Swapping rows and columns is useful in situations where a crosstab report has few rows and many columns.

For example, to make the report shown in the previous section easier to read, select Swap Rows and Columns to interchange rows with columns.

If there are multiple rows or columns in a crosstab report, the outermost rows become the outermost columns, and the outermost columns become the outermost rows.

Running the Report in Specific Formats

Query Studio provides you many options to run or preview a report. You can access its various run and preview options by selecting the Run Report menu item. Select the desired option to run the report.

Surrounding text describes cogsp31.gif.

The following table describes the various Run Report options available in Query Studio.

Option Description
Run with All Data Select this option to run the report using the full data mart. Running a report with all data can take a long time. If you plan to make several changes to a report, you may run the report by selecting the Preview with Limited Data option to limit the rows of data that your report retrieves.
Preview with Limited Data Select this option to preview the report by retrieving limited data from the data mart. The report output has a torn border at the top and bottom of your report.
Preview with no Data Select this option to preview your reports with no data. The system displays junk characters in the report and the data mart is not queried at all.
View in PDF Format Select this option to save a snapshot of your report data in PDF format. Select Specify PDF Options to set the display options for the PDF output.
View in Excel Single Sheet Format Select this option to save a snapshot of your report data in a single data sheet in XLS format.
View in Excel Format Select this option to save a snapshot of your report data in XLS format.
View in CSV Format Select this option to save a snapshot of your report data in comma separated values (CSV) format.
View in XML Format Select this option to view list reports in XML format. You cannot view charts or a crosstab reports in XML format.

Saving and Accessing Saved Reports

Use the Manage File menu option to save the reports you create by using Report Writer. You can save your reports in either Personal or Public folders.

The reports you save are not a snapshot of the data displayed in the report output. Instead, the system stores the specific set of instructions (data mart fields you select) for extracting data from the data mart when you run the report. For example, if you run a report that you saved a week ago, the data in the report reflects any changes in the data mart as a result of the ETL process.

Surrounding text describes cogsp32.gif.

Saving Reports

To save a report:

  1. Select the Manage File menu option in the left frame. The options for saving the report appear.

  2. Select the Save from the Manage File menu options. The Save As section appears below the report output in the right frame.

    Surrounding text describes cogsp33.gif.

  3. Enter the report name in the Name field.

  4. Enter the report description in the Description field.

  5. Enter the tip text in the Screen tip field. This text displays on the screen when the user points the cursor at the report in the Report Writer.

  6. Select a Location option to specify where the report needs to be saved.

    • Click Select another location if you want all users to be able access the report.

    • Click Select My Folders if you want to save the report as a personal document.

Saving a Report in a New Folder

To save a report in a new folder:

  1. Click Select another location. The Select a Location section appears.

  2. Select the Public Folders or My Folders tab, and click the New Folder.

  3. Specify the name, description, and screen tip for the new folder and click Finish.

    Surrounding text describes cogsp34.gif.

  4. Click OK to save the report in the location you specified.

Accessing Report Writer Library

You can access the reports that you saved from the Report Writer library.

To open the Report Writer library, navigate to Case Series Reports, Report Writer, and select Library. My Folders is the default location that appears when you open the Report Writer library. All the reports you save as personal documents are listed in the My Folders location.

Surrounding text describes cogsp35.gif.

To view the reports saved as public documents select the Public Folders tab. You can navigate the public folders and display the desired report.

To run the saved report, select the check box next to the report name and click the Run icon. If there are any filtering prompts associated with the report, they are displayed. Specify the prompt values and click OK to view the report output.

To edit a saved report, click the report name. The report opens in Query Studio. After you edit the report, open the Manage Files menu and select Save As to save the report by another name.

Using SMQs in Report Writer

If you select an SMQ, all the cases based on that SMQ are displayed.

To use SMQs in Report Writer:

  1. Navigate to Case Series Reports, Report Writer, and select New. The following window is displayed.

    Surrounding text describes cogsp1.gif.

  2. Expand the Report Writer control tree to display the various data mart views.

    Surrounding text describes cogsp2.gif.

  3. Under Events - Event Information, either double-click Event SMQ (Broad) or drag-and-drop it to the right pane.

    Surrounding text describes cogsp36.gif.

  4. Perform a similar operation as shown in the previous step for Event SMQ (Narrow).

  5. Under Events - Event Information, either double-click Case Number or drag-and-drop it to the right pane. This displays all the case numbers that correspond to the selected SMQ.