Type Alias NxLibraryMeasureDef

type NxLibraryMeasureDef = {
    qActiveExpression?: number;
    qDef?: string;
    qExpressions?: string[];
    qGrouping?: NxGrpType;
    qLabel?: string;
    qLabelExpression?: string;
    qNumFormat?: FieldAttributes;
    qOrigin?: NxOrigin;
    qScriptGenerated?: boolean;
}
Index
qActiveExpression?: number

Index to the active expression in a measure.

qDef?: string

Definition of the measure.

qExpressions?: string[]

Array of expressions.

qGrouping?: NxGrpType

Used to define a cyclic group or drill-down group. Default value is no grouping. This parameter is optional.

One of:

  • N or GRP_NX_NONE
  • H or GRP_NX_HIEARCHY
  • C or GRP_NX_COLLECTION
qLabel?: string

Label of the measure.

qLabelExpression?: string

Optional expression used for dynamic label.

qNumFormat?: FieldAttributes

Format of the field. This parameter is optional.

qOrigin?: NxOrigin

With the introduction of Data Products, there will be a need to describe the origin of objects other than just being generated by a loading script or not.

This enum contains:

  • PROGRAM: Object is created via ui or api call
  • SCRIPT: Object is created from load script
  • DATA_PRODUCT: Object is created from a data product One of:
  • PROGRAM
  • SCRIPT
  • DATA_PRODUCT

Stability: experimental

qScriptGenerated?: boolean