# FieldInTableProfilingData

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qName | Name of the field. | String |
| qFieldTags | List of tags related to the field. | Array of String |
| qNumberFormat | 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/May2025/Subsystems/EngineJSONAPI/Content/models-fieldattributes.htm) |
| qDistinctValues | Number of distinct values | Integer |
| qDistinctNumericValues | Number of distinct numeric values | Integer |
| qDistinctTextValues | Number of distinct text values | Integer |
| qNumericValues | Number of numeric values | Integer |
| qNullValues | Number of null values | Integer |
| qTextValues | Number of textual values | Integer |
| qNegValues | Number of negative values | Integer |
| qPosValues | Number of positive values | Integer |
| qZeroValues | Number of zero values for numerical values | Integer |
| qSum | Sum of all numerical values. NaN otherwise. | Number (double) |
| qSum2 | Squared sum of all numerical values. NaN otherwise. | Number (double) |
| qAverage | Average of all numerical values. NaN otherwise. | Number (double) |
| qMedian | Median of all numerical values. NaN otherwise. | Number (double) |
| qStd | Standard deviation of numerical values. NaN otherwise. | Number (double) |
| qMin | Minimum value of numerical values. NaN otherwise. | Number (double) |
| qMax | Maximum value of numerical values. NaN otherwise. | Number (double) |
| qSkewness | Skewness of the numerical values. NaN otherwise. | Number (double) |
| qKurtosis | Kurtosis of the numerical values. NaN otherwise. | Number (double) |
| qFractiles | The .01, .05, .1, .25, .5, .75, .9, .95, .99 fractiles. Array of NaN otherwise. | Array of Number |
| qEmptyStrings | Number of empty strings | Integer |
| qMaxStringLen | Maximum string length of textual values. 0 otherwise. | Integer |
| qMinStringLen | Minimum string length of textual values. 0 otherwise. | Integer |
| qSumStringLen | Sum of all characters in strings in the field | Integer |
| qAvgStringLen | Average string length of textual values. 0 otherwise. | Number (double) |
| qFirstSorted | For textual values the first sorted string. | String |
| qLastSorted | For textual values the last sorted string. | String |
| qMostFrequent | Three most frequent values and their frequencies | Array of [SymbolFrequency](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-symbolfrequency.htm) |
| qFrequencyDistribution |  | [FrequencyDistributionData](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-frequencydistributiondata.htm) |