Calculate Data in the Grid
System / Add-In Manager / Reports Central
Foundations / Background Data & Reports / Reports Central
Numeric Fields
To calculate data, the report must have visible fields that are a number (integer or with decimals) and is defined with these properties in the Archibus Fields (afm_flds) schema table. This also applies to adding charts to a report. Additionally, you can add virtual calculations.
Calculated Fields
You can have your report calculate numeric fields and these calculations display after the last record in the grid. The available calculations are:
- sum
- average
- minimum - this lists the lowest value
- maximum - this lists the highest value
To set up a calculated field, complete the following:
- From the Reports Central, click Select Fields and the dialog displays.
- Click the Display Settings tab and this displays the numerical fields (decimals or integers) that are found in your report.
- For the field you want to calculate, click the Edit icon and the calculate dialog displays.

- From Show Totals drop-down, select either: Sum, Average, Minimum, or Maximum. Note that COUNT is not available for the grid, although it is available when working with charts.
- Click the Save button.
- Click the Done button and the calculation displays at the end of the report's grid.
For example, if you choose to calculate more than one field and choose different calculations for each column; the two calculations will display on different lines marked as Average and Total.

Virtual Calculations
You can create calculated fields and flexible filters directly in reports so reporting analysts can answer complex questions without exporting data or writing custom queries.
Notes
-
-
Separators - All numeric values in formula fields display with locale-aware thousand and decimal separators.
-
Currency format prefixes the value with the project's budget currency symbol e.g. $, €.
-
Area format appends the user's configured area unit label e.g. sq ft, m².
-
Length format appends the user's configured length unit label e.g. ft, m.
-
Limitations: Formula validation does not support exponential notation e.g. 1e5 or locale-specific numeric input e.g. 1.000,50.
-
To set up a virtual calculated field, complete the following:
- From the Reports Central, click Select Fields and the dialog displays.

- Click the Add Calculations button and the dialog displays.

- In the Field Title field, enter the name of the field.
- In the Formula field, enter the formula and click the Validate button to check the formula.
- From the Display Type drop-down, select either Number or Percentage.
- From the Number Format drop-down, select either Plain, Currency, Area, or Length.
- From the Max Decimals drop-down, select either 0, 1, 2, 3, 4, 5, or 6.
- When you are ready, click the Calculate button and the virtual calculation is added to the Visible fields.
- Click the Close to close the dialog.
- Click the Done button and the calculation displays in the grid.
Below are examples of virtual calculations
|
Virtual Calculation |
Formula |
Display Type |
Number Format |
|---|---|---|---|
|
Depreciation |
|
Number |
Currency |
|
Depreciation Rate |
|
Percentage |
Plain |
|
Net Recoverable Value |
|
Number |
Currency |
|
Annual Depreciation |
|
Number |
Currency |
|
Replacement Cost Gap |
|
Number |
Currency |
|
Floor Area Per Unit |
|
Number |
Area |
