Add/Modify Calculated Fields Dialog Box

Use this dialog box on the Reporting form to create or modify calculated fields for reports that have columns. Calculated fields that are created or modified are specific to the current report.

These calculated fields can be used in user-generated reports.

Calculations can contain simple expressions, such as [X] - [Y] or conditional statements, such as if org = "CO" then [ytdAmount].

Delete Calculated Field

Click to delete calculated fields.

A confirmation message displays after you click this button.

This field is enabled only if you are editing a calculated field.

Help

Click to display the PM Compass Help screen for this topic.

Description

Enter a description or column name for the calculated field.

Heading 1 and Heading 2

Enter the specific heading name of the report column for the calculated field.

Data Type

Select from the drop-down list the number type to use in the calculated field.

Format

Use this text box to change the format of the number. Click to display the Format Number dialog box where you can specify the number format.

Width

Use this text box to enter the width of the report column for the calculated field. You can use this field to enter a heading that is longer than the default heading.

Field

Select a field to add to the calculation. You can double-click the field to add it or select a field and click the Add Field button.

Add Field

Click to add the selected report field to the calculation.

Calculator

Use the calculator to create simple calculations using numbers, fields, math operators (/, *, -, +), brackets, and parentheses.

When using division in the calculation, you must use parentheses to enclose the operation or the report will not run correctly.

You do not have to use Calculator to select a number or symbol. You can also enter them directly in Calculation. For example, you could use the keyboard to enter the following: [ JTD Amount] - [Compensation]

Use a Condition

Select this to create calculations that are more complex by having conditional calculations. These symbols follow the same properties and usage as the ones in mathematical expressions.

Undo

Click this button to undo the last modification made to the calculation. If the calculation uses a condition then the last field in the Calculation group box that is updated is affected.

Clear

Click this button to clear the calculation.  If the calculation uses a condition then all the fields in the Calculation group box are cleared.

Check Calculation

Click this button to verify if the calculation is valid.

Calculation

Use this group box to view the fields that are used for the calculation. The fields that display depend on whether or not you Use a Condition.

Perform Calculation On

Select a value that will indicate whether PM Compass will perform the calculated field’s calculation on detail, subtotal lines, or total lines.

Sum Up Calculated Amount on Total Lines

Select this checkbox to indicate whether PM Compass adds the calculated detail values to determine the subtotal values and adds subtotals to calculate higher-level totals.

If you clear this checkbox, PM Compass does not display subtotals or totals for the calculated field.

Save

Click this button to save a calculated field and close the Calculated Fields dialog box.

Cancel

Click this button to close the Calculated Fields dialog box without saving any of the changes made to the calculated fields.


View location