# NxInlineMeasureDef 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)
    * NxInlineMeasureDef

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

## Syntax

```
[ValueClass]
public class NxInlineMeasureDef : AbstractStructure, IDisposable, INxInlineMeasureDef, IAbstractStructure
```

## Constructors

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

## Properties

| Name | Description |
| --- | --- |
| [Accumulate](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Accumulate.htm#Qlik_Engine_NxInlineMeasureDef_Accumulate) | \* 0 means no accumulation<br><br>\* 1 means full accumulation (each y-value accumulates all previous y-values of the expression)<br><br>\* ≥ 2 means accumulate as many steps as the `qAccumulate` value<br><br>Default value is 0.<br><br>This parameter is optional.<br><br>JSON property name: qAccumulate |
| [ActiveExpression](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.ActiveExpression.htm#Qlik_Engine_NxInlineMeasureDef_ActiveExpression) | Index of the active expression in a cyclic measure. The indexing starts from 0.<br><br>The default value is 0.<br><br>This parameter is optional.<br><br>JSON property name: qActiveExpression |
| [AggrFunc](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.AggrFunc.htm#Qlik_Engine_NxInlineMeasureDef_AggrFunc) | Flag indicating how the measure should be aggregated to create a grand total.<br><br>"None" - No total calculation.<br><br>"Expr" - Calculate total according to the measure expression.<br><br>"" - Empty string is default and has same effect as "Expr".<br><br>This parameter is optional.<br><br>JSON property name: qAggrFunc |
| [BrutalSum](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.BrutalSum.htm#Qlik_Engine_NxInlineMeasureDef_BrutalSum) | If set to true, the sum of rows total should be used rather than real expression total.<br><br>This parameter is optional and applies to straight tables.<br><br>Default value is false.<br><br>If using the Qlik Sense interface, it means that the total mode is set to **Expression Total** .<br><br>JSON property name: qBrutalSum |
| [Def](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Def.htm#Qlik_Engine_NxInlineMeasureDef_Def) | Definition of the expression in the measure.<br><br>Example: `Sum (OrderTotal)`<br><br>This parameter is mandatory.<br><br>JSON property name: qDef |
| [Description](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Description.htm#Qlik_Engine_NxInlineMeasureDef_Description) | Description of the measure.<br><br>An empty string is returned as a default value.<br><br>This parameter is optional.<br><br>JSON property name: qDescription |
| [Expressions](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Expressions.htm#Qlik_Engine_NxInlineMeasureDef_Expressions) | Array of expressions. This parameter is used in case of cyclic measures ( `qGrouping` is C). List of the expressions in the cyclic group.<br><br>JSON property name: qExpressions |
| [Grouping](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Grouping.htm#Qlik_Engine_NxInlineMeasureDef_Grouping) | Default value is no grouping.<br><br>This parameter is optional.<br><br>JSON property name: qGrouping |
| [Label](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Label.htm#Qlik_Engine_NxInlineMeasureDef_Label) | Name of the measure.<br><br>An empty string is returned as a default value.<br><br>This parameter is optional.<br><br>JSON property name: qLabel |
| [LabelExpression](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.LabelExpression.htm#Qlik_Engine_NxInlineMeasureDef_LabelExpression) | Label expression.<br><br>This parameter is optional.<br><br>JSON property name: qLabelExpression |
| [NumFormat](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.NumFormat.htm#Qlik_Engine_NxInlineMeasureDef_NumFormat) | Format of the field.<br><br>This parameter is optional.<br><br>JSON property name: qNumFormat |
| [Relative](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Relative.htm#Qlik_Engine_NxInlineMeasureDef_Relative) | If set to true, percentage values are returned instead of absolute numbers.<br><br>Default value is false.<br><br>This parameter is optional.<br><br>JSON property name: qRelative |
| [ReverseSort](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.ReverseSort.htm#Qlik_Engine_NxInlineMeasureDef_ReverseSort) | If set to true, it inverts the sort criteria in the field.<br><br>JSON property name: qReverseSort |
| [Tags](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxInlineMeasureDef.Tags.htm#Qlik_Engine_NxInlineMeasureDef_Tags) | Name connected to the measure that is used for search purposes.<br><br>A measure can have several tags.<br><br>This parameter is optional.<br><br>JSON property name: qTags |