Create a Variable Field with Variable Values
When defining a metric, if a field to be used in a metric definition is unknown, then a variable field can be created. When an analysis is run, the user is prompted for the actual field to be assigned.
To create a variable field with variable values, complete the following steps:
- Select the Metrics tab.
- Select the Variables view.
- Click New Field Variable. Field Variable x is added to the Variables list.
- In the Name field, rename the field variable.
- Click the Add button. Variable 1 is added to the Variable Field editor.
- Optional. In the Variable Name field, rename the variable.
- In the Value column, enter a value for the variable.
After you have created the variable field with variable values, you can define the metric.