Creating a Calculated Metric

Select option Add Metric from the sidebar menu.

An empty metric's data sheet is displayed in the content area.

Insert a Name for the metric.

The Name field must not be empty.

Allowed characters are:

  • numbers 0-9
  • letters a-z and A-Z
  • special characters .  -  _ and !

Select a process from the drop-down list.

The entry in field Name must be unique. Therefore, your entry is automatically checked.

If the name is already in use, you need to change your entry.

The field content is checked after you select a process, because you can use the same metric name for different processes.

Shows the metric's type. Currently available:

  • Number
  • Duration

Defining the Calculation Rule

In section Calculation Rule you can define the rules that should be applied to your metric.

You have two options:

  • Use the Calculation Rule (UI) to create a new calculation using the available process steps and custom attributes within a simple drag&drop interface.
  • Use Calculation Rule (Editor) to enter your calculation directly in valid JSON format.

Using the Calculation Rule (UI)

If you have selected a process in section Master Data, the Calculation Rule (UI) shows the drop-down menu Select Operator and in the section on the right side you can find corresponding

  • custom attributes and
  • process steps .

Open the selection list to choose your operator:

  • Subtraction
  • Addition
  • Multiplication
  • Division

Now you can drag & drop the attributes you want to work with from the right section to the Calculation Rule UI.

It is also possible to nest calculation rules.

Using the Calculation Rule (Editor)

If you have knowledge of JSON, you can also enter your calculation rule in the Calculation Rule (Editor).

Click on tab Calculation Rule (Editor) to open the JSON editor.

The content in the editor must be valid JSON.

Do not work in the Calculation Rule (Editor) without any knowledge of JSON.

Refer to Creating Calculations for detailed information about available operators and expressions.
If you need further help with the implementation of your calculations, do not hesitate to contact your Scheer PAS consultant.


  • No labels