NxMeasure

Either qDef or qLibraryId must be set, but not both.
If the measure is set in the hypercube and not in the library, this measure cannot be shared with other objects.
A measure that is set in the library can be used by many objects.
expressions are complementary expressions associated to a measure. For example, you can decide to change the background color of a visualization depending on the values of the measure. Attribute expressions do not affect the layout of an object. The sorting order is unchanged.



Properties

Name Description Type
qLibraryId

Refers to a measure stored in the library.

String
qDef

Refers to a measure stored in the hypercube.

NxInlineMeasureDef
qSortBy

Defines the sort criteria. The default value is sort by ascending alphabetic order. This property is optional.

SortCriteria
qAttributeExpressions

List of attribute expressions.

Array of NxAttrExprDef
qAttributeDimensions

List of attribute dimensions.

Array of NxAttrDimDef
qCalcCond

Specifies a calculation condition, which must be fulfilled for the measure to be calculated. If the calculation condition is not met, the measure is excluded from the calculation. By default, there is no calculation condition. This property is optional.

ValueExpr
qCalcCondition

Specifies a calculation condition object. If CalcCondition.Cond is not fulfilled, the measure is excluded from the calculation and CalcCondition.Msg is evaluated. By default, there is no calculation condition. This property is optional.

NxCalcCond