Adding elements to a hierarchy
With the Weight property, you can determine how child elements contribute to the aggregation of their parent element.
If no weight is specified, the weight is defaulted to 1 when you publish the model to OLAP. That is, the child's value is fully included in the parent’s aggregation.
You can assign these weights to modify how a child’s value affects its parent:
- 1: Full contribution. We recommend that you use 1 weight for standard aggregations.
- 0: No contribution. We recommend that you use 0 weight for statistical accounts to prevent inclusion.
- -1: Subtraction, for example, Cost of Sales in the Gross Profit. We recommend that you use -1 weight for subtractive elements such as expenses.
- 0.5: Partial contribution.
Assigning the weight is useful in financial hierarchies in which certain accounts, such as expenses require subtraction from totals, or statistical accounts require exclusion from aggregations.