MeasureInclude Property
The MeasureInclude property sets or returns
whether a measure is included in the specified object.
Syntax
object .MeasureInclude(Measure)
Applies To
Discussion
To include a specific measure, use the name as the parameter and set the property to True. To exclude a measure, set this property to False. To set the inclusion status of several measures, repeat the use of this property with a different measure named in the parameter each time.
When you exclude a measure that is used in an expression for a calculated measure that is itself included in the cube, Transformer includes the measure in the cube for the calculation, but the measure is not visible to PowerPlay® users.
Default: True
Parameter |
Description |
---|---|
Measure |
Required. Specifies the Measure object that is included in or excluded from the specified object. Type: Object |
Type
Boolean
Access
Read/Write
Examples
objCubesByRegion
= objModel.Cubes.Add(xtrObjectType.trCubeGroup)objCubesByRegion
.MeasureInclude(objModel.Measures("Product cost"))
= False