1The visual analysis cycle
Start from the task, not from the data. "Build an executive dashboard" or "show the underlying trends" sets everything downstream. Understand the data structure before choosing a visual, and expect to loop back from insight to mapping repeatedly.
Relationships between sheets
Tableau detects common fields and proposes a relationship, which you can edit, and hovering the connector, the "noodle", shows which field links the tables.
Exploring: the moves that matter
| Move | What it does | Why |
|---|---|---|
| Drag a dimension to Rows, a measure to Columns | Builds the base view | The core Tableau gesture |
| Swap rows and columns | One button flips the orientation | Fixes truncated labels instantly |
| Sort | Orders bars by value | Chapter 4: ordering enables assembly and estimation |
| Move a field to Filters | Narrows to one segment | Answers "what about just consumers?" |
| Put Category before Subcategory | Adds the parent level | Restores the hierarchy the reader needs |
| Drag a field to Colour | Encodes a category | Chapter 3's pre-attentive attributes |
| Show mark labels | Prints values on the marks | Removes the need to read off an axis |
Aggregate before you go granular
Maps in Tableau
Building a dashboard
One sheet is one visualisation. Build each separately, then assemble.
Define the audience question
The worked example is an executive managing stores nationally who wants to know where sales come from, what discounts are being given, and whether discount drives sales. Every sheet then exists to answer part of that. This is Chapter 2's context questions applied before any dragging.
Name your sheets as you go
Rename every sheet descriptively, bold and centred. At assembly time the sheet name becomes the panel title on the dashboard, so naming early saves rework and gives the reader a heading for free.
| Format | Applies to |
|---|---|
| Currency, zero decimals | Sales and profit values |
| Percentage, zero or one decimal | Discount and profit ratios |
Set decimals to zero on anything going into a dashboard. Chapter 5 listed excessive precision as one of the thirteen mistakes, and a map squeezed into a panel has no room for it.
Aggregation: the trap worth knowing
SUM. This is Chapter 4's measurement scales biting in practice: the tool will happily apply arithmetic the data does not support, and it will not warn you. The question is "what is the average discount", not "what is the total discount".Calculated fields
COUNTD and not COUNTCOUNTD is a distinct count. Use it for customers, otherwise repeat buyers are counted several times and the per-customer figure is wrong. Tableau autocompletes field names and reports "the calculation is valid" as you type, so syntax errors surface immediately and logic errors like this one do not. Rename every calculated field, because left alone they are called Calculation1, which is unusable later.| Metric | Formula |
|---|---|
| Profit percentage | SUM([Profit]) / SUM([Sales]) |
| Sales per customer | SUM([Sales]) / COUNTD([Customer ID]) |
| Profit per customer | SUM([Profit]) / COUNTD([Customer ID]) |
Layering dimensions on one chart
- High sales does not mean high profitability. One state can carry large sales at a negative margin while a smaller one is more profitable.
- Higher discount does not lead to higher profit. Regions with the largest average discount showed the lowest profit ratios.
- Neither finding is visible in the raw table. Both come from putting two measures in one view.
Dashboard layout
| Sizing option | Behaviour |
|---|---|
| Fixed size | Exact dimensions, customised per device |
| Automatic | Expands to the largest size available |
| Range | Flexes between a minimum and maximum |
Live linkage: edit a source sheet and the dashboard updates automatically. Add a measure to a worksheet and it appears in the dashboard panel without rebuilding, so refine in the sheet and check the effect in the dashboard.
Key points
- The six steps of the visual analysis cycle.
- How Tableau relationships work, and how two unrelated tables connect through a third.
- Why aggregating to a higher hierarchy level makes patterns visible.
- Why sorting is the highest-value single move.
- Choosing a filled map against a dot map, and picking a colour-blind safe palette.
- That one sheet equals one visualisation, and dashboards assemble sheets.
- Why you name and format sheets before assembling.
- Why summing a percentage is wrong and averaging is right.
- The three calculated fields, and why
COUNTDis needed for per-customer metrics. - Which shelves and cards carry which variables, and how one chart holds five.
- Why extra detail belongs in a tooltip.
- The two findings: high sales is not high profit, and higher discount is not higher profit.
- Horizontal and vertical containers, and the three sizing options.
- Entire View, and swapping rows and columns to fix truncated labels.