# PivotAggregationTotalHeaderContext

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

Context for Pivot Aggregation Totals

```ts title="TypeScript"
export interface PivotAggregationTotalHeaderContext extends BaseColumnHeaderContext 
```

###### Extends

[`BaseColumnHeaderContext`](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [aggregatedColumnId](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#aggregatedcolumnid) | `string` | Id of Aggregated Column |
| [aggregation](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#aggregation) | `string` | Aggregation function of Column |
| [columnType](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#columntype) | `'pivotAggregationTotal'` | Pivot Aggregation Total Column |
| [pivotColumnId](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#pivotcolumnid) | `string` | Id of Pivot Column |
| [pivotKey](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#pivotkey) | `string` | Key (i.e. column value) of Pivot Column |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/pivotaggregationtotalheadercontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### aggregatedColumnId

Id of Aggregated Column

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

###### Property Value

`string`

### aggregation

Aggregation function of Column

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

###### Property Value

`string`

### columnType

Pivot Aggregation Total Column

```ts title="TypeScript"
columnType: 'pivotAggregationTotal';
```

###### Property Value

`'pivotAggregationTotal'`

### pivotColumnId

Id of Pivot Column

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

###### Property Value

`string`

### pivotKey

Key (i.e. column value) of Pivot Column

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

###### Property Value

`string`

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

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

###### Property Value

`any`
