Previous Topic: Create the Attribute

Next Topic: Create a Date Attribute

Build an Expression for the Attribute

Build an expression to calculate a value for the new attribute. You can use one of the following methods:

Follow these steps:

  1. With the calculated attribute open, click the Build Calculated Attribute link located in the Calculation field.
  2. Select the appropriate function in the Function field.
  3. Select the number of arguments in the Argument Number field.

    If the selected function has a specific number of arguments, the field is read-only. If you can vary the number of arguments in the function, make a selection from the drop-down list.

  4. Create the arguments for the function expression by selecting one of the following options for each argument listed:
  5. Click Generate

    The function expression in the Expression text box is generated.

  6. If you selected the Sub-expression argument option, complete the following steps:
    1. In the Generate Expression for field, select the name of the sub-expression.
    2. In the Function field, select the function that defines the purpose of the sub-expression.
    3. Select and define the arguments for the sub-expression.
    4. Click Generate.

      The defined arguments for the sub-expression in the whole expression is included.

  7. After all sub-expressions are defined for the whole expression, click Validate to verify that the expression syntax is correct and make any necessary adjustments.
  8. Save your changes.

Back to Top