Tableau Lesson 26 – Highlight Table | Dataplexa
Section III — Lesson 26

Highlight Tables

A highlight table is a crosstab where every cell contains an exact number and the cell's background colour encodes the same value — giving readers both the precision of a table and the pattern-recognition power of colour in a single view.

Highlight Tables — Numbers and Colour Together

A plain text table is precise but slow to read — your eye has to scan every number to find the highs and lows. A heat map is fast to scan but sacrifices exact values — you see the pattern but not the number. A highlight table resolves this trade-off by combining both: the number sits in the centre of each cell, and the cell's background shading encodes that same number as colour intensity. The result serves analysts who need precision and executives who need pattern recognition in the same single view.

Building a Highlight Table — Step by Step

1
Drag Region to Columns and Sub-Category to Rows. Drag Sales to the Text channel on the Marks card. Tableau builds a plain text table — one Sales value per cell.
2
Change the mark type from Text to Square on the Marks card. The text disappears temporarily — the cells become filled squares. Drag Sales to the Color channel. The cells are now shaded by Sales intensity.
3
Drag Sales to the Label channel as well. Click the Label channel and format the number as currency with no decimals. Each cell now shows its exact Sales value centred on its coloured background — this is the highlight table.
4
Click the Color channel → Edit Colors. Choose Blue as a sequential palette — light blue for low Sales, deep blue for high Sales. Click Advanced and set the start at 0 to anchor the scale. The highest-Sales cells are now the darkest and most visually prominent.

Highlight Table — Labelled Mockup

SUM(Sales) by Sub-Category × Region — Sequential blue · Numbers + colour
Sub-Category Central East South West
Phones $75.3K $98.4K $52.1K $104.2K
Chairs $68.2K $84.1K $44.7K $131.8K
Storage $44.3K $66.8K $34.2K $78.1K
Tables $46.7K $62.4K $29.8K $67.4K
Binders $38.9K $71.2K $26.1K $67.3K
Paper $18.4K $28.6K $13.2K $18.1K
Colour scale:
Low Sales
High Sales
Numbers and colour encode the same measure

Adjusting Label Colour for Readability

Dark cells need white labels. Light cells need dark labels. Tableau does not do this automatically — by default all labels share one colour setting. To fix this, click the Label channel on the Marks card → Font → set to white. Then right-click any dark cell → Format → adjust the font colour for the specific pane. A more reliable technique is to use a calculated field for the label colour: if the Sales value is above a midpoint threshold, set the label to white; below the midpoint, set it to a dark navy. This ensures every label is legible regardless of the cell's shade.

Adding a Grand Total Row and Column

A highlight table becomes more useful when totals are added. Go to Analysis menu → Totals → Show Row Grand Totals and Show Column Grand Totals. Tableau adds a totals row at the bottom and a totals column on the right. The total cells are shaded by the same colour scale — the overall column totals immediately reveal which Region drives the most Sales, and the row totals reveal which Sub-Category is the largest overall.

Table Calculations Inside Highlight Tables

The most powerful version of a highlight table uses a table calculation for the colour — such as Percent of Total — while showing the raw number as the label. This lets the reader see both the absolute value and how each cell compares to its row, column, or overall total simultaneously.

Percent of Row
Colour shows each Region's share of that Sub-Category's total Sales. Useful for spotting which Region dominates each product line.
Percent of Column
Colour shows each Sub-Category's share within a Region. Useful for understanding each Region's product mix.
Percent of Total
Colour shows each cell's share of the grand total across all Regions and Sub-Categories. Useful for overall portfolio concentration analysis.

To apply this, right-click the Measure on the Color channel → Add Table Calculation → select Percent of Total and set the compute direction (Table Across, Table Down, or Table). The label still shows the raw Sales number while the colour shading now reflects relative share.

Highlight Table vs Heat Map — The Key Distinction

Aspect Highlight Table Heat Map
Primary signal The number — colour is a guide The colour — numbers are optional
Audience Analysts who need exact values with pattern guidance Executives who need instant pattern recognition
Label Always present — the number is essential Optional — colour carries the message alone
Best palette Sequential (one colour, light to dark) for a single measure Diverging (two colours, centred at zero) for positive/negative measures
📌 Teacher's Note

The highlight table is the most dashboard-friendly chart in Tableau because it replaces the plain number table that most business users default to — while making the same numbers dramatically faster to read. If a stakeholder asks you to "just show me a table of the numbers," build a highlight table instead of a text table. The numbers are identical. The colour takes ten seconds to configure. And the result is a table that communicates in two modes simultaneously — precise for the analyst who wants to export the data, scannable for the executive who has thirty seconds. The Percent of Total table calculation on the colour channel is worth learning early: it turns a table of raw Sales figures into a market share matrix where the dominant cells darken automatically, even as the underlying numbers change with filters.

Practice Questions

1. After setting the mark type to Square on a Region × Sub-Category grid, which two channels on the Marks card need Sales to complete a highlight table?

2. A highlight table needs a grand total row at the bottom and a grand total column on the right. How do you add both?

3. A highlight table shows raw Sales as labels. You want the colour to reflect each cell's share of the grand total instead of the raw value. What do you do?

Quiz

1. An analyst needs a view showing exact Sales figures by Sub-Category and Region but also wants to spot the highest and lowest cells at a glance without scanning every number. Which chart type is the best fit?


2. A highlight table encodes Sales — a measure that is always positive — on the Color channel. Which palette type is most appropriate?


3. A colleague built a heat map but says the numbers are hard to read without labels. A highlight table is suggested instead. What is the fundamental difference between the two chart types that makes the highlight table better suited here?


Next up — Lesson 27: Dual axis charts — combining two chart types on a shared view to tell a richer story with two measures at once.