|
Creating a Join Path Type Variable
• Note: To create join path variables, you should have some familiarity with the APM object model. To learn more about the object model, see Object Model Overview.To Create a Join Path Type to an Attribute
1.
3. Click New. The Calculation Variable dialog appears.
6.
7.
8. On the Attribute tab, enter the following information:
9.
10. If the attribute selected in step 8 is numeric (for example, an integer, duration, or currency), you can select the Factor Table tab and complete the factor table information. For more information, see Defining a Factor Table for a Variable.
11. If the attribute selected in step 8 is numeric (for example, an integer, duration, or currency), you can select the Limits and Weighting tab and complete the limits and weighting information. For more information, see Assigning Calculation Variable Limits and Weighting.
12. On the Null Value tab, select the behavior when the value for the variable returns a null value. For more information, see Assigning a Calculation Variable Null Value Behavior.
13. On the Notes tab, you can enter any additional information about this calculation variable.
14. When you are finished, click OK to save and close the Calculation Variable dialog.To Create a Join Path Type to a Collection
1.
3. Click New. The Calculation Variable dialog appears.
6.
7.
8. Select the Collection tab and enter the following information:
9.
On the Aggregation tab, select the following:
• Sum: The total value is calculated for the selected items.
• Average: The average value is calculated for the selected items.
• Median: The median value is calculated for the selected items.
• Maximum: The largest value is calculated for the selected items.
• Minimum: The minimum value is calculated for the selected items.
• Array: A list of values is provided. You can also specify a maximum value for this list.
• First: The first value is selected from the list.
• Last: The last value is selected from the list.Note: If Array, First, or Last is selected, you must select the join path that relates to an asset, the attribute to use to order the selected items, and a sort direction.
11. On the Selection Criteria tab, select OR within a group, AND between groups, or AND within a group, OR between groups from the list.
12. On the Selection Criteria tab, click New to create a new selection criteria. The Calculation Filtering Criterion dialog appears.
13.
15. Select an Attribute to use for filtering from the list.
16.
17. If you selected Is not and is not a child of or is not and is not a parent of Condition, you must select a Hierarchy to use from the list.
18. Enter a Logical group.
19. Click OK to save and close the Calculation Filtering Criterion dialog.
20.
21. Select the Factor Table tab to convert the derived value using a factor table. For more information, see Defining a Factor Table for a Variable.
22. On the Limits and Weighting tab, enter any maximum or minimum values applied to this variable, and weighting factors, if needed. For more information, see Assigning Calculation Variable Limits and Weighting.
23. On the Null Value tab, select the behavior when the value for the variable returns a null value. For more information, see Assigning a Calculation Variable Null Value Behavior.
24. On the Notes tab, you can enter any additional information about this calculation variable.
25. When you are finished, click OK to save and close the Calculation Variable dialog.