> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Expected shortfall

> Reference for the Expected Shortfall and Weighted ES measures in the VaR-ES Cube, including DtD, previous, scenario names, and Incremental and LEstimated booking, reference level, top, and trades variants

## ES and Weighted ES

| Measure | Description | Relevant context values |
| - | - | - |
| ES | Expected shortfall | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 | Expected shortfall at 97.5% confidence level | |
| ES 99 | Expected shortfall at 99% confidence level | |
| Weighted ES | The Weighted variation of the ES measure. Please refer to the WHS calculations chapter | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 | The Weighted variation of the ES measure at 97.5% confidence level. Please refer to the WHS calculations chapter | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 | The Weighted variation of the ES measure at 99% confidence level. Please refer to the WHS calculations chapter | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## DtD

| Measure | Description | Relevant context values |
| - | - | - |
| ES DtD | Change of ES from one day to another. By default DtD. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 DtD | Change of ES 97.5 from one day to another. By default DtD. | |
| ES 99 DtD | Change of ES 99 from one day to another. By default DtD. | |
| Weighted ES DtD | Change of Weighted ES from one day to another. By default DtD. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 DtD | Change of Weighted ES from one day to another at 97.5% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 DtD | Change of Weighted ES from one day to another at 99% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

$\text{ES DtD}=\text{ES}-\text{ES Previous}$

## DtD % difference

| Measure | Description | Relevant context values |
| - | - | - |
| ES DtD % Difference | Percentage change of ES from one day to another. By default DtD. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 DtD % Difference | Percentage change of ES 97.5 from one day to another. By default DtD. | |
| ES 99 DtD % Difference | Percentage change of ES 99 from one day to another. By default DtD. | |
| Weighted ES DtD % Difference | Percentage change of Weighted ES from one day to another. By default DtD. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 DtD % Difference | Percentage change of Weighted ES from one day to another at 97.5% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 DtD % Difference | Percentage change of Weighted ES from one day to another at 99% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

$\text{ES DtD \% Difference}=\frac{\text{ES}-\text{ES Previous}}{\text{ES Previous}}$

## Previous

| Measure | Description | Relevant context values |
| - | - | - |
| ES Previous | The Expected Shortfall of the previous day | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 Previous | The Expected Shortfall of the previous day at 97.5% confidence level | |
| ES 99 Previous | The Expected Shortfall of the previous day at 99% confidence level | |
| Weighted ES Previous | The Weighted ES of the previous day | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 Previous | The Weighted ES of the previous day at 97.5% confidence level | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 Previous | The Weighted ES of the previous day at 99% confidence level | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

The selected date is specified by the alternate date hierarchy DayToDay.

## Scenario name(s)

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ES Scenario Name(s) | List of scenarios contributing to the ES. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 Scenario Name(s) | List of scenario names contributing to the ES 97.5 calculation | |
| ES 99 Scenario Name(s) | List of scenario names contributing to the ES 99 calculation | |
| Weighted ES Scenario Name(s) | Scenarios that contribute to the weighted ES. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 Scenario Name(s) | Scenarios that contribute to the weighted ES at 97.5% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 Scenario Name(s) | Scenarios that contribute to the weighted ES at 99% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## Values

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ES Values | PnL values that contribute to the ES. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES Values | PnL values that contribute to the weighted ES. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## With % difference

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ES with % Difference | ES with percentage difference in brackets. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 with % Difference | ES 97.5 with percentage difference in brackets. | |
| ES 99 with % Difference | ES 99 with percentage difference in brackets. | |
| Weighted ES with % Difference | Weighted ES with percentage difference in brackets. | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 with % Difference | Weighted ES with percentage difference in brackets at 97.5% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 with % Difference | Weighted ES with percentage difference in brackets at 99% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

Format: `[ES] + " (" + [ES DtD % Difference] + "%)"`

## Booking

### Incremental booking

| Measure | Description | Related methodologies | Relevant context values | Required hierarchies |
| - | - | - | - | - |
| ES Incremental Booking | Incremental variation of the Expected shortfall that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | |
| ES 97.5 Incremental Booking | Incremental variation of the ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | |
| ES 99 Incremental Booking | Incremental variation of the ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | |
| Weighted ES Incremental Booking | Incremental variation of the Weighted ES that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |
| Weighted ES 97.5 Incremental Booking | Incremental variation of the Weighted ES 97.5 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |
| Weighted ES 99 Incremental Booking | Incremental variation of the Weighted ES 99 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |

**Weighted ES Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 97.5 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 99 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated booking

| Measure | Description | Related methodologies |
| - | - | - |
| ES LEstimated Booking | Contribution of the upper Booking of Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 97.5 LEstimated Booking | Contribution of the upper Booking of ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 99 LEstimated Booking | Contribution of the upper Booking of ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES LEstimated Booking | Contribution of the upper Booking of Weighted Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 97.5 LEstimated Booking | Contribution of the upper Booking of Weighted ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 99 LEstimated Booking | Contribution of the upper Booking of Weighted ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Reference level

### Incremental reference level

| Measure | Description | Related methodologies | Relevant context values |
| - | - | - | - |
| ES Incremental Reference Level | Incremental variation of the Expected Shortfall that computes the contribution of the nodes at the ReferenceLevel context value. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 Incremental Reference Level | Incremental variation of the ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| ES 99 Incremental Reference Level | Incremental variation of the ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| Weighted ES Incremental Reference Level | Incremental variation of the Weighted ES. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 Incremental Reference Level | Incremental variation of the Weighted ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 Incremental Reference Level | Incremental variation of the Weighted ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

**ES Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the expected shortfall with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 97.5 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 99 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated reference level

| Measure | Description | Related methodologies |
| - | - | - |
| ES LEstimated Reference Level | Contribution of the upper Reference Level of Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 97.5 LEstimated Reference Level | Contribution of the upper Reference Level of ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 99 LEstimated Reference Level | Contribution of the upper Reference Level of ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES LEstimated Reference Level | Contribution of the upper Reference Level of Weighted Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 97.5 LEstimated Reference Level | Contribution of the upper Reference Level of Weighted ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 99 LEstimated Reference Level | Contribution of the upper Reference Level of Weighted ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Top

### Incremental top

| Measure | Description | Related methodologies | Relevant context values |
| - | - | - | - |
| ES Incremental Top | Incremental variation of the Expected Shortfall that computes the contribution of the nodes at the grand total location. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ES 97.5 Incremental Top | Incremental variation of the ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| ES 99 Incremental Top | Incremental variation of the ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| Weighted ES Incremental Top | Incremental variation of the Weighted ES. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 97.5 Incremental Top | Incremental variation of the Weighted ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ES 99 Incremental Top | Incremental variation of the Weighted ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

**ES Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the expected shortfall with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 97.5 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 99 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated top

| Measure | Description | Related methodologies |
| - | - | - |
| ES LEstimated Top | Contribution of the upper Top of Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 97.5 LEstimated Top | Contribution of the upper Top of ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 99 LEstimated Top | Contribution of the upper Top of ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES LEstimated Top | Contribution of the upper Top of Weighted Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 97.5 LEstimated Top | Contribution of the upper Top of Weighted ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 99 LEstimated Top | Contribution of the upper Top of Weighted ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Trades

### Incremental trades

| Measure | Description | Related methodologies | Relevant context values | Required hierarchies |
| - | - | - | - | - |
| ES Incremental Trades | Incremental variation of the Expected shortfall that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | |
| ES 97.5 Incremental Trades | Incremental variation of the ES 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | |
| ES 99 Incremental Trades | Incremental variation of the ES 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | |
| Weighted ES Incremental Trades | Incremental variation of the Weighted ES that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |
| Weighted ES 97.5 Incremental Trades | Incremental variation of the Weighted ES 97.5 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |
| Weighted ES 99 Incremental Trades | Incremental variation of the Weighted ES 99 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |

**Weighted ES Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a confidence level defined by the [ESConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 97.5 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ES 99 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted ES with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ES measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated trades

| Measure | Description | Related methodologies |
| - | - | - |
| ES LEstimated Trades | Contribution of the upper Trades of Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 97.5 LEstimated Trades | Contribution of the upper Trades of ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ES 99 LEstimated Trades | Contribution of the upper Trades of ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES LEstimated Trades | Contribution of the upper Trades of Weighted Expected Shortfall | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 97.5 LEstimated Trades | Contribution of the upper Trades of Weighted ES 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ES 99 LEstimated Trades | Contribution of the upper Trades of Weighted ES 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
