# CalculatedColumnState

Canonical page: https://www.adaptabletools.com/docs/reference/calculatedcolumnstate

Calculated Column section of Adaptable State, including Initial State.

Each entry adds a column whose cells are the result of an AdapTableQL expression. The column is not in the grid data source. `ColumnId` is the id of the column AdapTable creates. `CalculatedColumnSettings.DataType` is required. `Type` can be omitted; it is inferred from the expression.

```ts title="TypeScript"
export interface CalculatedColumnState extends BaseState 
```

###### Extends

[`BaseState`](https://www.adaptabletools.com/docs/reference/basestate.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [CalculatedColumns](https://www.adaptabletools.com/docs/reference/calculatedcolumnstate.md#calculatedcolumns) | [`CalculatedColumn`](https://www.adaptabletools.com/docs/reference/calculatedcolumn.md)`[]` | Calculated Columns to add. `ColumnId` is the id of the column AdapTable creates. |

## Property Details

### CalculatedColumns

Calculated Columns to add. `ColumnId` is the id of the column AdapTable creates.

```ts title="TypeScript"
CalculatedColumns?: CalculatedColumn[];
```

###### Property Value

[`CalculatedColumn`](https://www.adaptabletools.com/docs/reference/calculatedcolumn.md)`[]`
