The OrdinalPosition property of the Measure interface contains the ordinal position of the measure in the parent object’s Measures collection.
clsAggregationMeasure | clsPartitionMeasure |
clsCubeMeasure |
The following table shows an example of measure ordinal positions.
Measure | Ordinal Position |
---|---|
Price | 1 |
Quantity | 2 |
Total_Amount | 3 |
Integer
Read-only
The first measure is the default measure for the cube.
Use the following code to return the ordinal position of a measure object:
Dim OrdPos As Integer
OrdPos = MeasureObject.OrdinalPosition
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |