Creating a virtual data rule
System administrators create virtual data rules to define how source data populates measures in a virtual data account.
About this task
A virtual data rule includes the following parts:
A formula preview is available to validate that the formula does not use special characters
and that if follows a proper order of operations. It provides a clear way to visualize the rule
before you save it. The formula is also validated by the Rule Editor as you
build it. If errors exist in the formula, you cannot save the rule.- Measures
- Measures are the individual components or fields of data types that contain data that is accumulated monthly. Most consumption data types contain at least a consumption measure and a cost measure. The list of available measures depends on the account styles that are enabled for your organization. When you select a data rule for a measure, your selection is filtered to the associated data rules. The first measure under each data type in the Rule Editor is the primary measure.
- Aggregation method
- If the variable in the target account is populated by multiple accounts or meters, you can set the aggregation method. Depending on your selection, the monthly data from several sources can be summed, averaged, or use the maximum or minimum value of those values that are supplied. Typically, for accumulative data types, a sum is selected, whereas for instantaneous data types, such as floor space, an average is selected.
- Operators
- The basic math operators that help you define the formula. They include operators such as plus, minus, multiply, and divide.
- Attributes
- Attributes for various entities can be used in your formula if the attribute is numeric. Attribute exists at various levels of the organization hierarchy. For example, you might use an organization level attribute or meter level attribute in your formula.
- Value
- You can use the value field to insert a number into your formula.Tip: Rename each value variable to the number that is captured by it in the formula. The user can understand the formula from the formula summary and does not need to interrogate individual variables. For example, if the value you are using in your formula is 0.1 or 10%, rename the value variable '10 percent'.Note: Special characters such as +,-,*,/,%,#,$,@ and others are not allowed in variable names. If you need to include any of these for clarity, write out the word such as 'percent' instead of the % symbol.
You can edit a virtual data rule after you create it. If the virtual data rule is in use by a virtual account, you can only edit the name and behavior of existing variables. You cannot add new variables or delete variables. You can create a new virtual data rule if you need to add or remove new variables.
Procedure
General Info tab
Rule Formula tab