Defining a stand-alone calculation

Define a stand-alone calculation when you want to reuse an expression. You can include the calculation in a package to make it available to the users.

A stand-alone calculation can reference an embedded calculation.

Procedure

  1. Right-click a namespace in Project Explorer, and click New > Calculation.

    The calculation is added to the namespace under a working name New Calculation.

  2. Rename the calculation as required, and double-click it to open the editor.
  3. Define the expression for the calculation. To include a query item or an attribute in the expression, right-click the item in Project Explorer, and click Drop on > Expression Editor.
  4. To validate the calculation and resolve potential issues, right-click the calculation in Project Explorer, and click Validate. For more information, see Validate a project and individual objects.
  5. Click a different object in Project Explorer to exit the calculation editor.