# NxMeasure Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * NxMeasure

      [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.htm)
      #### Derived Classes
      * [HyperCubeMeasure](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.HyperCubeMeasure.htm)
      * [HyperCubeMeasureDef](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.HyperCubeMeasureDef.htm)

## Syntax

```
[ValueClass]
public class NxMeasure : AbstractStructure, IDisposable, INxMeasure, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [NxMeasure()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.-ctor.htm#Qlik_Engine_NxMeasure__ctor) | Creates an instance of the NxMeasure class |

## Properties

| Name | Description |
| --- | --- |
| [AttributeDimensions](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.AttributeDimensions.htm#Qlik_Engine_NxMeasure_AttributeDimensions) | List of attribute dimensions.<br><br>JSON property name: qAttributeDimensions |
| [AttributeExpressions](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.AttributeExpressions.htm#Qlik_Engine_NxMeasure_AttributeExpressions) | List of attribute expressions.<br><br>JSON property name: qAttributeExpressions |
| [CalcCond](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.CalcCond.htm#Qlik_Engine_NxMeasure_CalcCond) | Specifies a calculation condition, which must be fulfilled for the measure to be calculated.<br><br>If the calculation condition is not met, the measure is excluded from the calculation.<br><br>By default, there is no calculation condition.<br><br>This property is optional.<br><br>JSON property name: qCalcCond |
| [CalcCondition](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.CalcCondition.htm#Qlik_Engine_NxMeasure_CalcCondition) | Specifies a calculation condition object.<br><br>If CalcCondition.Cond is not fulfilled, the measure is excluded from the calculation and CalcCondition.Msg is evaluated.<br><br>By default, there is no calculation condition.<br><br>This property is optional.<br><br>JSON property name: qCalcCondition |
| [Def](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.Def.htm#Qlik_Engine_NxMeasure_Def) | Refers to a measure stored in the hypercube.<br><br>JSON property name: qDef |
| [LibraryId](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.LibraryId.htm#Qlik_Engine_NxMeasure_LibraryId) | Refers to a measure stored in the library.<br><br>JSON property name: qLibraryId |
| [MiniChartDef](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.MiniChartDef.htm#Qlik_Engine_NxMeasure_MiniChartDef) | JSON property name: qMiniChartDef |
| [SortBy](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.SortBy.htm#Qlik_Engine_NxMeasure_SortBy) | Defines the sort criteria.<br><br>The default value is sort by ascending alphabetic order.<br><br>This property is optional.<br><br>JSON property name: qSortBy |
| [TrendLines](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxMeasure.TrendLines.htm#Qlik_Engine_NxMeasure_TrendLines) | Specifies trendlines for this measure.<br><br>JSON property name: qTrendLines |