Using Formulae

Use formulae to change the way numeric data is aggregated or calculated for a defined summary level.

Available functions are:

  • SUM(). The total value.
  • AVG(). The arithmetic mean.
  • WAVG(). Weighted average.

Example: Working with formulae

Use the Equipment Measures report to look at the average and the total tonnes moved by the hauling and the loading equipment:

  1. Select Movements and Measures | Equipment Measures report type.
  2. Select the following:
    ObjectAttributeSelected Value
    Site SiteA
    PeriodShiftProduction Day Shift Thursday, September 16, 2010
    EquipmentFunctionHauling, Loading
    MaterialCategoryOre
    MeasureMeasureTonne
  3. Select the following Summary Levels:
    Summary LevelValue
    EquipmentFunction
  4. Click Run Job. The report is displayed in Report View. Note that total tonnes = 26400.
  5. Select Data Browser.
  6. Note the values for the following columns:
    ColumnValue
    EquipmentAll
    Other_Measure_Value26400

    Total tonnes moved by all the hauling and loading equipment = 26400.

  1. Click Formulas. The Other_Measure_Value is the only numeric column in the report. Therefore, it is the only column listed in the dialog. By default the Formula = SUM().
  2. Select the following:
    Other_Measure_ValueValue

    Formula

    AVG()
  3. Click Apply to exit the dialog and apply the setting.
  4. In the Data Browser, note the values for the following columns:
    ColumnValue
    EquipmentAll
    Other_Measure_Value

    13200

    Average tonnes moved by the hauling and the loading equipment = 13200 .

  5. Click the Formulas icon again and select Formula = SUM().

  6. Click Apply. The Data Browser displays the following:
    ColumnValue
    EquipmentAll
    Other_Measure_Value26400
  7. Change the displayed summary level of Equipment by clicking on the Equipment plus sign +. All changes to Hauling and Loading summary level.
  8. Other_Measure_Value displays the total tonnes moved by Hauling and by Loading:
    EquipmentOther_Measure_Value

    Hauling

    13200
    Loading13200
  1. Click Close.