OrdinalPosition

The OrdinalPosition property of the Measure interface contains the ordinal position of the measure in the parent object’s Measures collection.

Applies To
clsAggregationMeasure clsPartitionMeasure
clsCubeMeasure  

The following table shows an example of measure ordinal positions.

Measure Ordinal Position
Price 1
Quantity 2
Total_Amount 3

Data Type

Integer

Access

Read-only

Remarks

The first measure is the default measure for the cube.

Example

Use the following code to return the ordinal position of a measure object:

Dim OrdPos As Integer

OrdPos = MeasureObject.OrdinalPosition

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.