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

# ReferenceLevelVisualTotalsMode

|             |                                                                                            |
| ----------- | ------------------------------------------------------------------------------------------ |
| Description | Specifies whether to use visual or non-visual totals for marginal and incremental measures |

This context value affects the interpretation of filters for capital allocation and incremental measures.

When a capital allocation query includes filters, then the filtering is applied as follows:

* With VISUAL TOTALS, filtering is applied to the underlying data before calculating the capital allocation.
  The capital allocations sum to the capital charge of the filtered data.
* With NON-VISUAL TOTALS, the results are as if the filtering was applied to the result set after calculating the capital allocation.
  The capital allocations would sum to the capital charge of the unfiltered data, though some are filtered out of the results.

<Note>
  In each case the capital charge is determined at the reference level.
</Note>

This context value can take three values, each corresponding to a specific mode:

<table><thead><tr><th>Mode</th><th>Description</th></tr></thead><tbody><tr><td>(<strong>default</strong>) <code>COMPATIBILITY</code></td><td>Uses the visual or non-visual totals specified in the MDX. For example<code>WHERE</code>-clause for non-visual totals<code>SUBSELECT</code>-clause for visual totals</td></tr><tr><td><code>VISUAL</code></td><td>Forces the use of visual totals.</td></tr><tr><td><code>NON VISUAL</code></td><td>Forces the use of non-visual totals.</td></tr></tbody></table>
