DimensionLevels Collection

The DimensionLevels collection contains a read-only list of unique levels in the related dimension.

Discussion

Use this collection to select a Level object from a dimension.

In cases where a dimension has alternate drill-down paths, an individual level may be included more than once in the dimension. However, this collection contains just one reference to that level, no matter how often it appears in the dimension.

To return this collection, use the DimensionLevels property.

These tables list related methods and properties.

Method

Description

Item Method

Selects a specific object in the collection.

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of objects in the collection.

Parent Property

Returns the parent object.

Examples

objLevel = objModel.Dimensions("Products").DimensionLevels(1)