Creating and Modifying Custom Metrics
Custom metrics are created and modified using the Custom Metrics Editor.
To create or modify a custom metric:
Access the Custom Metrics Editor in any of the ways described in Custom Metrics Editor.
Enter a name for the custom metric in the space labeled Untitled Custom Metric.
If you are using non-Latin characters in your functions, the name for your custom metric 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.
Enter the expression for the custom metric 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.
To test your custom metric, click Run Custom Metric.
The editor attempts to calculate your custom metric. Any errors are reported. Any results are shown in the Preview area of the Custom Metrics Editor.
When you are finished with your custom metric definition, click Save.