# Matrix Variance mode

{% hint style="info" %}
This mode is only available when a matrix is active; it is not available in Summary view.
{% endhint %}

Matrix Variance mode takes an existing matrix and adds additional columns, to show the previous period and variance. It is effectively a combination of Matrix mode and Variance mode. Matrix Variance mode is useful if you want to compare an existing matrix with another period, for example, last year, month or quarter.&#x20;

{% embed url="<https://phocassoftware.wistia.com/medias/tcl3yfczqq>" %}
Matrix Variance and Matrix Share mode
{% endembed %}

The following example uses Matrix Variance mode to identify which customers have bought downlights but not transformers, both this year and last year:

1. Start with an existing a matrix (this example continues with the example in the [Compare data with Matrix mode](/analytics/compare-data-with-matrix-mode.md) page).
2. Select **Mode** > **Matrix Variance**. The grid updates to display additional columns for the previous period and the variance between the current and previous period.

   <figure><img src="/files/g46SHa8f0XlVSL3NTc7M" alt=""><figcaption></figcaption></figure>
3. (Optional) Go back to your regular matrix: click **Mode** > **Matrix**.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.phocassoftware.com/analytics/customize-your-view-analytics/change-the-mode/matrix-variance-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
