Creating a Job Activity crosstab report with filters
The following example demonstrates how to create a Job Activity crosstab report that lists the number of job runs for different job types on target operating systems.
Domain | Report name | Features used |
---|---|---|
Job Activity | Number of job runs of different job types on target operating systems |
|
To create a crosstab report
- Launch Report Studio from the BMC Decision Support for Server Automation portal.
- Select a package (for example, BladeLogic) from the list of available packages.
- In the Welcome window, click Create a new report or template.
- Select the Crosstab report type and click OK.
- If the Insertable Objects pane does not display the domain folders, right-click in the pane and select Refresh. The following figure shows the Crosstab report template:
- In the Insertable Objects pane, open the Job Activity folder, and expand the folders to locate, select, and drag data items into the report as follows. Use the following figure as a reference.
- Drag Job Runs/Server/Server Name to the Rows section.
- Drag Job/Job Type to the Columns section.
- Drag Job Run Date/Month Full Name to the Columns section, above the Job Type section.
- Drag Job Run Date/Year to the Columns section, above the Month Full Name section.
- Drag Job Activity Calculations/# Servers Attempted to the Measures cell.
- Add filters to the report for the Year and Month Full Namedata items. When you run the report, you are prompted for the year and month for which you want to create a report.
- On the toolbar, click Filters
to open the Filters dialog box.
- Click the Add button to open the Detail Filter Expression dialog box.
- Drag the Job Activity/Job Run Date/Year query item to Expression Definition.
- Add the following expression: =?promptYear?
- Click OK.
- Click the Add button to open the Detail Filter Expression dialog box.
- Drag the Job Activity/Job Run Date/Month Full Name data item to Expression Definition.
- Add the following expression: =?promptMonth?
- Click OK.
The Filters dialog box shows expression definitions, as shown in the following figure:
- On the toolbar, click Filters
- Change the title of the report as required.
- To run the report, click Run Report on the toolbar.
- Save the report.
The following figure shows a sample report, which is created by using the preceding steps:
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*