# Introduction to Dimensions

## Overview

Dimensions allow you to work with a collection of items without having to repeat calculations.

> A Dimension might be:
>
> * **Widget Model** | Model A, Model B, and Model C
>
> or
>
> * **Sales Region** | North, East, West, and South

Dimensions are extremely powerful, time-saving, and improve the quality of your Models.

In the example screenshot below, the `Revenues by membership type` Variable has the `Membership Tier` Dimension applied. The `Membership Tier` has 3 children: `Basic`, `Premium`, `Platinum`.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FwhZ6OuX4GPKvsBXkEGQY%2Fimage.png?alt=media&#x26;token=5f7c2b30-8ec9-4da9-9d2c-768c05d00c31" alt=""><figcaption><p>Variable with a Dimension applied</p></figcaption></figure>

The Variable has a single formula, `Gym members * Revenue per member`. The `[Auto]` suffixes in the formula imply that the Calculation is able to automatically reference the appropriate line of the referenced Variables, which both also have the `Membership Tier` Dimension applied.

Using Dimensions, you can replace multiple sets of calculations with a single one, without worrying about copy/paste errors.

## Multiple Dimensions

You can apply as many Dimensions as you like to a Variable.&#x20;

In the example screenshot below, the `Revenues by region and membership type` Variable has two Dimensions applied: `Membership Tier` and `Region`. Models calculates a value for each combination of the children of the two Dimensions, in this case 6 lines in total.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2Fj8fclJGHfACXpfT7VKij%2Fimage.png?alt=media&#x26;token=47049bbb-a537-43bb-92ca-84282c4406f9" alt=""><figcaption><p>Variable with 2 Dimensions applied</p></figcaption></figure>

## Summarising Dimensions

Models can create summaries of Dimensions easily - you don't need to worry about referencing the correct lines in a Calculation.

In the example screenshot below, we want to show the total Revenues across the `North` and `South` regions from the `Revenues by region and membership type` Variable (see above [**Multiple Dimensions**](#multiple-dimensions) example).

To do this we simply create a new Variable with the `Region` Dimension applied, and reference the `Revenues by region and membership type` Variable. Models does the rest for us automatically.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FVGWEdRtmgOf49V7MJX2i%2Fimage.png?alt=media&#x26;token=1df3fa33-3d3f-4c26-9cb1-49c51c3e25cf" alt=""><figcaption><p>Variable summarising a Dimension</p></figcaption></figure>
