# NxMeasureInfo

Layout for *NxInlineMeasureDef*.

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qFallbackTitle | Corresponds to the label of the measure.<br>If the label is not defined then the measure name is used. | String |
| qApprMaxGlyphCount | Length of the longest value in the field. | Integer |
| qCardinal | Number of distinct field values. | Integer |
| qSortIndicator | Sort indicator.<br>The default value is no sorting.<br>This parameter is optional.<br><br>One of:<br><br><ul><li>N or NX_SORT_INDICATE_NONE</li><li>A or NX_SORT_INDICATE_ASC</li><li>D or NX_SORT_INDICATE_DESC</li></ul> | String |
| qNumFormat | Sets the formatting of a field.<br>The properties of *qFieldAttributes* and the formatting mechanism are described below.<br><br>Formatting mechanism<br><br>The formatting mechanism depends on the type set in *qType,* as shown below:<br><br>Information note<br><br>In case of inconsistencies between the type and the format pattern, the format pattern takes precedence over the type.<br><br>Type is DATE, TIME, TIMESTAMP or INTERVAL<br><br>The following applies:<br><br><ul><li>If a format pattern is defined in <em>qFmt</em> , the formatting is as defined in <em>qFmt</em> .</li><li>If <em>qFmt</em> is empty, the formatting is defined by the number interpretation variables included at the top of the script ( <em>TimeFormat</em> , <em>DateFormat</em> , <em>TimeStampFormat</em> ).</li><li>The properties <em>qDec</em> , <em>qThou</em> , <em>qnDec</em> , <em>qUseThou</em> are not used.</li></ul><br><br>Type is INTEGER<br><br>The following applies:<br><br><ul><li>If a format pattern is defined in <em>qFmt</em> , the engine looks at the values set in <em>qDec</em> and <em>qThou</em> . If these properties are not defined, the formatting mechanism uses the number interpretation variables included at the top of the script ( <em>DecimalSep</em> and <em>ThousandSep</em> ).</li><li>If no format pattern is defined in <em>qFmt</em> , no formatting is applied. The properties <em>qDec</em> , <em>qThou</em> , <em>qnDec</em> , <em>qUseThou</em> and the number interpretation variables defined in the script are not used .</li></ul><br><br>Type is REAL<br><br>The following applies:<br><br><ul><li>If a format pattern is defined in <em>qFmt</em> , the engine looks at the values set in <em>qDec</em> and <em>qThou</em> . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( <em>DecimalSep</em> and <em>ThousandSep</em> ).</li><li>If no format pattern is defined in <em>qFmt</em> , and if the value is almost an integer value (for example, 14,000012), the value is formatted as an integer. The properties <em>qDec</em> , <em>qThou</em> , <em>qnDec</em> , <em>qUseThou</em> are not used.</li><li>If no format pattern is defined in <em>qFmt</em> , and if <em>qnDec</em> is defined and not 0, the property <em>qDec</em> is used. If <em>qDec</em> is not defined, the variable <em>DecimalSep</em> defined at the top of the script is used.</li><li>If no format pattern is defined in <em>qFmt</em> , and if <em>qnDec</em> is 0, the number of decimals is 14 and the property <em>qDec</em> is used. If <em>qDec</em> is not defined, the variable <em>DecimalSep</em> defined at the top of the script is used.</li></ul><br><br>Type is FIX<br><br>The following applies:<br><br><ul><li>If a format pattern is defined in <em>qFmt</em> , the engine looks at the values set in <em>qDec</em> and <em>qThou</em> . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( <em>DecimalSep</em> and <em>ThousandSep</em> ).</li><li>If no format pattern is defined in <em>qFmt</em> , the properties <em>qDec</em> and <em>qnDec</em> are used. If <em>qDec</em> is not defined, the variable <em>DecimalSep</em> defined at the top of the script is used.</li></ul><br><br>Type is MONEY<br><br>The following applies:<br><br><ul><li>If a format pattern is defined in <em>qFmt</em> , the engine looks at the values set in <em>qDec</em> and <em>qThou</em> . If these properties are not defined, the engine uses the number interpretation variables included at the top of any script ( <em>MoneyDecimalSep</em> and <em>MoneyThousandSep</em> ).</li><li>If no format pattern is defined in <em>qFmt</em> , the engine uses the number interpretation variables included at the top of the script ( <em>MoneyDecimalSep</em> and <em>MoneyThousandSep</em> ).</li></ul><br><br>Type is ASCII<br><br>No formatting, *qFmt* is ignored. | [FieldAttributes](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-fieldattributes.htm) |
| qMin | Lowest value in the range. | Number (double) |
| qMax | Highest value in the range. | Number (double) |
| qError |  | [NxValidationError](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxvalidationerror.htm) |
| qReverseSort | If set to true, it inverts the sort criteria in the field. | Boolean |
| qIsAutoFormat | This parameter is set to true if *qNumFormat* is set to *U* (unknown). The engine guesses the type of the field based on the field's expression. | Boolean |
| qAttrExprInfo | List of attribute expressions. | Array of [NxAttrExprInfo](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxattrexprinfo.htm) |
| qAttrDimInfo | List of attribute dimensions. | Array of [NxAttrDimInfo](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxattrdiminfo.htm) |
| qCalcCondMsg | The message displayed if calculation condition is not fulfilled. | String |
| qLibraryId | Refers to a dimension stored in the library. | String |
| qTrendLines | Calculated trendlines | Array of [NxTrendline](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxtrendline.htm) |
| qMiniChart |  | [NxMiniChart](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxminichart.htm) |