Creating and Modifying Derived Fields
Derived fields are created and modified using the Derived Field Editor.
To create or modify a derived field:
Access the Derived Field Editor in any of the ways described in Derived Field Editor.
Enter a name for the derived field in the space labeled Untitled Derived Field.
If you are using non-Latin characters in your functions, the name for your derived field should start with a letter or an underscore (_) symbol followed by one or more letters, numbers, underscore, or period characters. Symbols other than the underscore (_) or period (.) are not allowed.
Select a derived field type from the Type drop-down menu. Options are Attribute, Time, or Number.
Enter the expression for the derived field in the editing space. Expressions should follow standard mathematical and logical syntax and are resolved using the standard order of operations. You can manually key in expressions or you can select the elements of your expressions from the menus at the left. The expression should not be assigned to a variable because the resolved value of the expression is assigned to the custom metric, which serves as the 'variable' to which the value is assigned. That is, enter
a / brather than
x = a / b.
Row-level expressions can be used in derived fields.
To test your derived field, click Run Calculation.
The editor attempts to run your calculation. Any errors are reported. Any results are shown in the Preview area of the Derived Field Editor.
When you are finished with your derived field definition, click Save.
Was this topic helpful?