An object of the ClassType clsCubeMeasure provides a specific implementation of the Decision Support Objects (DSO) Measure interface. This object provides collections and properties through the Measure interface. There are no methods associated with an object of ClassType clsCubeMeasure.
A cube measure corresponds to a numerically-valued column in a cube’s fact table. When a cube is processed, its measures can be aggregated across its dimensions. For example, the number of items sold is a measure that can be aggregated across the dimensions of product, time, and geography.
For more information about the object model hierarchy, see About Decision Support Objects.
Use the following code to create an object of ClassType clsCubeMeasure.
'Assume an object (dsoCube) of ClassType clsCube exists
Dim dsoMeasure As DSO.Measure
Set dsoMeasure = dsoCube.Measures.AddNew("MyCubeMeasure")