Type Alias NxTreeDimensionDef

type NxTreeDimensionDef = {
    qAttributeDimensions?: NxAttrDimDef[];
    qAttributeExpressions?: NxAttrExprDef[];
    qCalcCondition?: NxCalcCond;
    qDef?: NxInlineDimensionDef;
    qLibraryId?: string;
    qNullSuppression?: boolean;
    qOtherLabel?: StringExpr;
    qOtherTotalSpec?: OtherTotalSpecProp;
    qShowAll?: boolean;
    qTotalLabel?: StringExpr;
    qValueExprs?: NxMeasure[];
}
Index

Properties

qAttributeDimensions?: NxAttrDimDef[]

List of attribute dimensions.

qAttributeExpressions?: NxAttrExprDef[]

List of attribute expressions.

qCalcCondition?: NxCalcCond

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

Refers to a dimension.

qLibraryId?: string

Refers to a dimension stored in the library.

qNullSuppression?: boolean

If set to true, no null values are returned.

qOtherLabel?: StringExpr

This property is used when some dimension limits are set. Label of the Others group. The default label is Others . Example: "qOtherLabel":"= <label>" or "qOtherLabel":{"qExpr":"= <label>"} Where:

  • < label > is the label of the Others group.
qOtherTotalSpec?: OtherTotalSpecProp

Sets the dimension limits. Each dimension of a hypercube is configured separately. Defines if some values (grouped as Others ) should be grouped together in the visualization. For example in a pie chart all values lower than 200 could be grouped together.

qShowAll?: boolean

If set to true, all dimension values are shown.

qTotalLabel?: StringExpr

If this property is set, the total of the calculated values is returned. The default label is Total . Example: "qTotalLabel":"= <label>" or "qTotalLabel":{"qExpr":"= <label>"} Where:

  • < label > is the label of the Total group.
qValueExprs?: NxMeasure[]

List of measures.