# AnalyticsField Interface

> AnalyticsField interface in the TX Sheet Control TypeScript API for Node.js: A profiled column. Table field IDs survive reordering.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > AnalyticsField Interface
- **819 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/llms-full.txt

---

A profiled column. Table field IDs survive reordering; explicit ranges use unique header names.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [cardinality](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/cardinality-property/llms-full.txt) | The cardinality value of AnalyticsField. |
| [format](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/format-property/llms-full.txt) | The format value of AnalyticsField. |
| [id](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/id-property/llms-full.txt) | The id value of AnalyticsField. |
| [isMonotonic](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/ismonotonic-property/llms-full.txt) | The isMonotonic value of AnalyticsField. |
| [missing](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/missing-property/llms-full.txt) | The missing value of AnalyticsField. |
| [name](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/name-property/llms-full.txt) | The name value of AnalyticsField. |
| [numberFormatCode](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/numberformatcode-property/llms-full.txt) | Effective source-cell Excel date/number code; used to inherit date filter presentation. |
| [numberLocale](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/numberlocale-property/llms-full.txt) | Source-cell BCP 47 number/date locale, when explicitly set. |
| [role](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/role-property/llms-full.txt) | The role value of AnalyticsField. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/type-property/llms-full.txt) | The type value of AnalyticsField. |

### Examples

Create sample data and obtain this detached result from the owning document. Return the selected data to the report or application UI.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function createAnalyticsFieldReport(control: ServerSheetControl) {
    const book = control.workbook;
    const sheet = book.sheets.at(0);
    sheet.range('A1:B5').setValues([
        ['Region', 'Revenue'],
        ['North', 42000],
        ['South', 38500],
        ['East', 31200],
        ['West', 44900],
    ]);

    book.analytics.setSource({
        id: 'sales',
        name: 'Regional sales',
        sheetId: sheet.id,
        range: 'A1:B5',
        hasHeaderRow: true,
    });

    const result = book.analytics.profile('sales').fields[0];
    return result;
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Creating Dashboards](https://docs.textcontrol.com/tx-sheet-control/dashboards/creating/llms-full.txt)

---

## In This Section

- [AnalyticsField.cardinality Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/cardinality-property/llms-full.txt): AnalyticsField.cardinality property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [AnalyticsField.format Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/format-property/llms-full.txt): AnalyticsField.format property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [AnalyticsField.id Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/id-property/llms-full.txt): AnalyticsField.id property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [AnalyticsField.isMonotonic Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/ismonotonic-property/llms-full.txt): AnalyticsField.isMonotonic property in the TX Sheet Control TypeScript API for Node.js, with its type boolean and a TypeScript example.
- [AnalyticsField.missing Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/missing-property/llms-full.txt): AnalyticsField.missing property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [AnalyticsField.name Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/name-property/llms-full.txt): AnalyticsField.name property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [AnalyticsField.numberFormatCode Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/numberformatcode-property/llms-full.txt): AnalyticsField.numberFormatCode property in the TX Sheet Control TypeScript API for Node.js: Effective source-cell Excel date/number code.
- [AnalyticsField.numberLocale Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/numberlocale-property/llms-full.txt): AnalyticsField.numberLocale property in the TX Sheet Control TypeScript API for Node.js: Source-cell BCP 47 number/date locale, when explicitly set.
- [AnalyticsField.role Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/role-property/llms-full.txt): AnalyticsField.role property in the TX Sheet Control TypeScript API for Node.js, with its type "identifier" | "dimension" | "measure" and a TypeScript example.
- [AnalyticsField.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/type-property/llms-full.txt): AnalyticsField.type property in the Node.js TypeScript API, with its type "number" | "boolean" | "date" | "category" | "mixed" and a TypeScript example.

---

## Nearby

- **Previous:** [AnalyticsData.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/rows-property/llms-full.txt)
- **Next:** [AnalyticsField.cardinality Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsfield/cardinality-property/llms-full.txt)
