Customizing a Gauge Report Template
How to Create and Customize a Gauge Report Template
You can create a gauge Report Template, where the gauge displays:
• an occurrence count
In this case occurrences are retrieved through a query, and the Report Template is based on a Report Value View.

Using queries to create gauge Report Templates does not imply time consuming computation as with Report DataSets.
• a computed numeric value
In this case the computed numeric value is retrieved from a Report DataSet, and the Report Template is based on a Report Table View.
- in its Characteristics page, set Display: "Graphic" and Chart Type: "Gauge Chart".

Note that, from a Report DataSet, end-users can create Instant Reports showing a set of gauges.
You can customize the gauge Report Template via its Report Data View properties.
Example: applications in deployment
You can create a gauge showing the number of applications in deployment. At creation the gauge range is 0-<number of applications in the repository>.
You can still display the number of applications in deployment and customize the gauge, i.e. modifying its minimum and maximum values, for example:
• In the minimum value you can display the number of applications in production.
So that you can see the number of applications that you can shortly put in deployment.
• In the maximum value you can display the number of applications with a cost line.
So that you can check if you have applications costing money (i.e. applications with cost line but not in production).
To create and customize a gauge Report Template displaying applications in deployment:
1. In HOPEX Report Studio navigation menus, click Report Definitions and in Data Sources, select Queries.
2. In the Queries without mandatory parameters list, right-click the "ITPM - Get Applications with Deployment" query and select Documentation > New gauge report.
3. In the Name field, enter a name for your report.
E.g.: Use case 1.
4. Click OK.
The gauge report is displayed.
Its Report Template and associated Report Value View are also automatically created.
In this example, 58 applications (out of 200) are in deployment.
5. Access the Report Value View properties to customize the gauge: from its Report Template: Report Definitions: Report Templates > My report Templates folder.
6. In its Chart page, customize the gauge as follows:
• in the Min value field, select the "Application in production" query.
• in the Max value field, select the "ITPM - Application with cost Line" query.
• in the Drill-down field, select "Yes".
• in the Specific Drill-down, select the "ITPM - Application with cost Line" query.
The _Settings pane automatically displays the customization.
7. Refresh the report to see your modifications.
For example:
- the minimum is now 50 and represents the number of applications in production, which means that 8 applications are on their way to deployment.
- the maximum is now 129 and represents the number of applications with a cost line, which means that 71 applications are costing money.
In that case, when you click the gauge, the list of the 53 applications with cost line is detailed in the Results window.