The Model Overview
Click a model's name in the models panel to open its overview. Everything that belongs to the model as a whole lives here; each dataset has a page of its own (see Datasets).
What the overview shows
- The model's details: ID (a short name used in links, such as
travel), Name and an optional Description. Each edit is saved when you leave the field. - Structure — the model's datasets drawn as boxes, with an arrow for each reference between them (see below).
- Variables — named numbers you can use as measures (see below). Between the structure and the variables sits the Connections card when your workspace offers connections.
A model with no dataset yet shows No datasets yet. Use "Add Dataset" in the toolbar to create one. under the variables.
Structure
The Structure card draws every dataset of the model as a box labelled with its name, and an arrow from each dataset to every dataset it references — from the events to the things they describe, so a booking points at its customer and the customer at its company. The datasets that nothing else references sit on the right; a long chain of references reads from left to right. A global dataset the model adds or references is drawn with a dashed border.
Click a box — or move to it with Tab and press Enter — to open that dataset, exactly as if you had picked it in the models panel. On a narrow screen, or for a model with many datasets, scroll the card sideways.
Variables
A variable is a named numeric constant you can use like a measure — a revenue target, a threshold, a conversion rate. In Explore the Add Measure picker lists the model's variables under Variables, and a computed measure can use them in its formula — so you change a target in one place instead of in every visualization.
Add a variable
- Open the model overview.
- Click + Add variable under the Variables table. A row named New variable appears.
- Fill in its ID (how expressions refer to it, such as
targetRevenue), its Name, an optional Min and Max, and the Workspace value everyone gets. - Tick Custom for Users to let each person set their own value within Min and Max. The User value column then shows your own value; the reset button beside it takes you back to the workspace value.
A Workspace value outside Min and Max is moved to the nearest limit as you type. The trash can at the end of a row removes the variable.
The model's ⋯ menu
Open the ⋯ (Actions) button at the right of the toolbar while the model overview is open:
| Item | What it does |
|---|---|
| Duplicate | Copies the whole model under a new ID ending in -copy and opens the copy (Tab + D). Offered once the model has a dataset. |
| Import Templates | SQL queries for your database engine, an example CSV and an offline importer that produce files shaped for this model — see Import templates. |
| History | Who changed the model and when — see Change History. |
| Copy Link | Copies a link to this model, for a colleague who may open it — the same as Tab + L. |
| Wipe All Data | Removes every row of every dataset and keeps the model — see Wipe a model's data. |
| Delete | Deletes the model and all its data. |
Import Templates, History and Copy Link appear once the model has been saved; Duplicate, Wipe All Data and Delete need permission to edit the model.
Duplicate or delete a model
- Duplicate leaves the original untouched. The copy is called Name (copy); rename it on its overview.
- Delete asks Delete model "…" and all its data? This cannot be undone. Dashboards built on the model stop working. To keep the model and only empty it, use Wipe All Data instead.