Creating a report from a predefined layout
Use IBM® Cognos® Report Studio to create a simple report based on a predefined layout.
About this task
- The Measure is the quantity; the example report shows the total number of times that an event occurred (EVENT_COUNT).
- The Dimensions are the qualifiers that describe what is being
counted, for example, the applications where events occurred.
The Categories are subsets of a dimension; for example, the SOURCE dimension contains categories for all applications.
- The Data Series is the measure that is being tracked; the example report tracks "update events" across multiple applications so that you can compare the totals.
For more information about dimensions in the Metrics PowerCube, see the PowerCube dimensions topic. For more information about working with Cognos® Report Studio, see the Report Studio User Guide.
Procedure
- Choose a unique name for the report:
A unique name is required for community metrics, so before you create a report, check the list of existing community reports to make sure that your new report has a unique name.
- Open a browser and go to the Cognos® dashboard by using the following address: http://cognosserver.example.com:9083/cognos/servlet/dispatch/ext
- Log in to Cognos® as the Cognos® administrator.
- Click . If this folder does not exist, you can stop checking.
- Review the list of reports. If you see a name that matches the planned report, choose a different name for the new report.
- Open Cognos® Report
Studio:
- Return to the Cognos® dashboard.
- Click .
- When prompted to select a data package, select to create a report that queries the PowerCube containing Metrics data.
- In the Welcome window, click Create a new report or template.
- Select a report type:
- Select a Measure for the chart to track along the Y-axis:
The Y-axis displays measures of quantitative data, such as sales figures or quantities.
- Click the Source tab.
- In the packages list, expand the METRICS_TRX_CUBE datasource.
- Select EVENT_COUNT and drag it to the Default measure (y-axis) area of the chart.
- Select the specific categories (applications, in this example)
to be tracked along the X-axis:
The X-axis displays categories (groups of related data) that are plotted on the X-axis so you can compare them. Categories are qualitative because they represent things rather than quantities. For this example, events (on the Y-axis) are tracked for activities within Connections applications. Each application is s category and is plotted along the X-axis. The "source" of the categories includes all Connections applications. There are two ways to select the categories; use the method that is simplest for your report:
Begin with all categories and exclude the categories that you do not want in the report:
Begin with no categories and include only the categories you want in the report:
- Return to the METRICS_TRX_CUBE datasource.
- Expand SOURCE and select the SOURCE hierarchy.
- Expand Members and select SOURCE.
- Click a category to include in the report; Ctrl+click each additional category to add it to the selection; then drag the selection to the Categories (x-axis) area of the chart.
- Click OK.
- Select the data series:
A data series is a group of related data points that are plotted in a chart. This example reports on updated items, which use the UPDATE type of the EVENT measure as the data series. Because this report tracks the total number of updates for each application, the data series contains only one measure (UPDATE). A more complex report might chart the total number of updates for each application over a series of months or years. In that case, the data series includes each month or year that is reported.
- Expand the measure.
- Expand .
- Select UPDATE and drag it to the Series area of the chart.
- Click Save and store the report
in .
All custom reports should be stored in this location to make them available to the Metrics application.
- Click Cognos® Viewer; then close the viewer when ready to proceed. to test the report by viewing it in the
- Determine the URL for the new report so you can add it
to the Metrics user interface:
- Return to the Cognos® dashboard.
- Go to the location where you saved the report, and select the new report.
- Click Set properties.
- In the Set properties window, click the General tab.
- On the General tab, click View the search path, ID and URL.
- In the View the search path, ID and URL window, copy the entire URL from the Default action url field.
- Click Close.
- Leave the Cognos® dashboard open so that you can return to it in step 11.
- Modify the report URL and add it to the Metrics user interface:
- (Community metrics) If the new report is for use in community
metrics, add it to the job list so it can be updated from the Community
Metrics user interface: