# NxDimension

Information note

The fields or expressions in the dimension are either defined in **qDef** or in the master dimension referred to by **qLibraryId**. If **qLibraryId** is set then the qFieldDefs, qFieldLabels, qGrouping, qLabelExpression and qAlias of the master dimension will be used.

Information note

If the dimension is set in the hypercube and not in the library, this dimension cannot be shared with other objects.

Information note

A dimension that is set in the library can be used by many objects.

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qLibraryId | Refers to a dimension stored in the library. | String |
| qDef |  | [NxInlineDimensionDef](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-nxinlinedimensiondef.htm) |
| qNullSuppression | If set to true, no null values are returned. | Boolean |
| qIncludeElemValue |  | Boolean |
| qOtherTotalSpec |  | [OtherTotalSpecProp](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-othertotalspecprop.htm) |
| qShowTotal |  | Boolean |
| qShowAll | If set to true, all dimension values are shown. | Boolean |
| qOtherLabel |  | [StringExpr](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-stringexpr.htm) |
| qTotalLabel |  | [StringExpr](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-stringexpr.htm) |
| qCalcCond |  | [ValueExpr](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-valueexpr.htm) |
| qAttributeExpressions | List of attribute expressions. | Array of [NxAttrExprDef](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-nxattrexprdef.htm) |
| qAttributeDimensions | List of attribute dimensions. | Array of [NxAttrDimDef](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-nxattrdimdef.htm) |
| qCalcCondition |  | [NxCalcCond](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-nxcalccond.htm) |