# CalculatedColumnProperty

A calculated column for a dataset.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const calculatedColumnProperty: quicksight.CfnDataSet.CalculatedColumnProperty = {
  columnId: 'columnId',
  columnName: 'columnName',
  expression: 'expression',
};
```

## Properties

- `columnId`: string (required) — A unique ID to identify a calculated column.

  During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Quick Sight preserves the existing calculated column.

- `columnName`: string (required) — Column name.

- `expression`: string (required) — An expression that defines the calculated column.
