|
Creating a Summary Field
•To Create a Summary Field
3. In the Forms Editor Toolbox panel, click the Attributes tab. Locate the attribute that you want to add to the report and drag it onto the layout panel. For example, add the asset’s original purchase cost to the report.
5. Click Create Summary Field. A Summary Editor dialog opens. The attribute field selected appears in Bound field.
6. Select the Summary function type to apply. For a numeric field, choose from the following functions:
• Avg: Calculates the average of all of the values
• Count: Counts the number of values
• Sum: Calculates the total of all values
• Running Sum: Summarizes all the values printed before the current data row with the current data row’s value.
• Percentage: Calculates the percent ratio of the current data row’s value to the total of all values.
• Min: Calculates the minimum of all values
• Max: Calculates the maximum of all values
7. Click the ellipsesin the Format string field to open a FormatString Editor dialog. In the category list, select the category to use and then on the Standard Types tab choose select the appropriate format. For example, if summarizing costs you may choose the category Currency and the format of dollars and cents, as shown below:
8. Click OK. The dialog closes and you are returned to the Summary Editor.
9. Click in the box beside Ignore null values if you want the values to be ignored when a summary is calculated. If they are included they will be treated as zeros. This will impact the calculation if averaging is used.
10. If you want a Running Summary for the calculated field, select one of the radio buttons to indicate the summary level. For example, to have a running summary on each page, select the Page option. To have a running summary to the end of the report, select the Report option. Click None if you do not want a running summary.
11. Click OK to close the Summary Editor dialog. You are returned to the APM Forms Editor window.