The AggregationUsage property of the Dimension interface specifies how aggregations are to be designed for the dimension levels.
Access depends on the value of the ClassType property of the object.
| Class type | Access |
|---|---|
| ClsCubeDimension | R/W |
| ClsPartitionDimension | R |
When aggregations are desig
ned for a dimension, the value of this property determines which levels of a dimension may have aggregations created for them. The following table describes how the value of this property affects the consideration of levels for aggregation.
| Aggregation usage | Description |
|---|---|
| dimAggUsageCustom | Aggregations are created only for those levels whose EnableAggregations property is set to True. |
| dimAggUsageDetailsOnly | Aggregations are created only for the lowest level in the dimension. |
| dimAggUsageStandard | All levels are considered by the aggregation design algorithm. |
| dimAggUsageTopOnly | Aggregations are created only for the top (All) level. |
| dimAggUsageTopAndDetailsOnly | Aggregations are created only for the top (All) and lowest levels in the dimension. |
Note For virtual dimensions, AggregationUsage is read-only and automatically set to dimAggUsageStandard. An error is raised if you attempt to set this property on a virtual dimension.