# FormulaTraceInfo

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

Session state describing an active Excel-style formula trace for a calculated cell.
Stored in Internal Redux (not persisted).

```ts title="TypeScript"
export interface FormulaTraceInfo 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [calculatedColumnFriendlyName](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#calculatedcolumnfriendlyname) | `string` | Friendly name (or Column Id fallback) shown in the popup header |
| [calculatedColumnId](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#calculatedcolumnid) | `string` | Column Id of the calculated column being inspected |
| [entries](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#entries) | [`FormulaTraceEntry`](https://www.adaptabletools.com/docs/reference/formulatraceentry.md)`[]` | Direct COL(...) references, ordered by first appearance in the expression |
| [expression](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#expression) | `string` | Raw AdaptableQL expression text for the calculated column |
| [isAggregated](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#isaggregated) | `boolean` | True when the formula is an AggregatedExpression (whole-column highlight) |
| [primaryKeyValue](https://www.adaptabletools.com/docs/reference/formulatraceinfo.md#primarykeyvalue) | `any` | Primary key of the row that was inspected (also used to anchor the popup).<br/>For aggregated expressions highlights are column-wide, but the PK is still<br/>kept so the popup can attach to the clicked cell. |

## Property Details

### calculatedColumnFriendlyName

Friendly name (or Column Id fallback) shown in the popup header

```ts title="TypeScript"
calculatedColumnFriendlyName: string;
```

###### Property Value

`string`

### calculatedColumnId

Column Id of the calculated column being inspected

```ts title="TypeScript"
calculatedColumnId: string;
```

###### Property Value

`string`

### entries

Direct COL(...) references, ordered by first appearance in the expression

```ts title="TypeScript"
entries: FormulaTraceEntry[];
```

###### Property Value

[`FormulaTraceEntry`](https://www.adaptabletools.com/docs/reference/formulatraceentry.md)`[]`

### expression

Raw AdaptableQL expression text for the calculated column

```ts title="TypeScript"
expression: string;
```

###### Property Value

`string`

### isAggregated

True when the formula is an AggregatedExpression (whole-column highlight)

```ts title="TypeScript"
isAggregated: boolean;
```

###### Property Value

`boolean`

### primaryKeyValue

Primary key of the row that was inspected (also used to anchor the popup).
For aggregated expressions highlights are column-wide, but the PK is still
kept so the popup can attach to the clicked cell.

```ts title="TypeScript"
primaryKeyValue: any;
```

###### Property Value

`any`
