# AggregatedExpressionPrepareRowValueContext

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

Context used by prepareRowValue property in Aggregated Expressions

```ts title="TypeScript"
export interface AggregatedExpressionPrepareRowValueContext extends BaseContext 
```

###### Extends

[`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [aggColumnId](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#aggcolumnid) | `string` | Column Id of the column being aggregated |
| [aggregatedValue](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#aggregatedvalue) | `any` | Result of the reducer (for `CUMULATIVE` calls: the running value<br/>recorded for this row) |
| [args](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#args) | `any[]` | Arguments passed to the function |
| [getValueForColId](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#getvalueforcolid) | `(colId: string) => any` | Helper function to get the value of a column |
| [groupByColumnIds](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#groupbycolumnids) | `string[]` | Column Id(s) of the column(s) being grouped by |
| [rowNode](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#rownode) | `IRowNode` | Current Row Node |
| [weightValue](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#weightvalue) | `any` | Resolved `WEIGHT([column])` value for the current row (see `weight`). |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/aggregatedexpressionpreparerowvaluecontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### aggColumnId

Column Id of the column being aggregated

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

###### Property Value

`string`

### aggregatedValue

Result of the reducer (for `CUMULATIVE` calls: the running value
recorded for this row)

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

###### Property Value

`any`

### args

Arguments passed to the function

```ts title="TypeScript"
args: any[];
```

###### Property Value

`any[]`

### getValueForColId

Helper function to get the value of a column

```ts title="TypeScript"
getValueForColId: (colId: string) => any;
```

###### Property Value

`(colId: string) => any`

### groupByColumnIds

Column Id(s) of the column(s) being grouped by

```ts title="TypeScript"
groupByColumnIds?: string[];
```

###### Property Value

`string[]`

### rowNode

Current Row Node

```ts title="TypeScript"
rowNode: IRowNode;
```

###### Property Value

`IRowNode`

### weightValue

Resolved `WEIGHT([column])` value for the current row (see `weight`).

```ts title="TypeScript"
weightValue?: any;
```

###### Property Value

`any`

### 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`
