01 / 20

Tables &
Highlight Tables

Master the art of building text tables and highlight tables in Tableau: use color encoding to turn raw numbers into instant visual insights.

Tableau

What is a Text Table?

A text table (also called a crosstab) displays raw data values as text arranged in rows and columns. It is the spreadsheet-style view inside Tableau: every cell shows a measure value at the intersection of one or more dimensions.

Region Q1 Sales Q2 Sales Q3 Sales East $45,200 $52,800 $48,100 West $61,400 $58,300 $67,900 South $38,700 $41,200 $44,600 Central $29,100 $33,500 $36,800 Plain text table: numbers only, no color encoding

What is a Highlight Table?

A highlight table is a text table with a color gradient applied to cells based on their values. Higher values get one color intensity, lower values get another: the result is that patterns pop out without reading every number.

Region Q1 Sales Q2 Sales Q3 Sales East $45,200 $52,800 $48,100 West $61,400 $58,300 $67,900 South $38,700 $41,200 $44,600 Central $29,100 $33,500 $36,800 Highlight table: color intensity encodes value magnitude

Why Tables Matter in Tableau

★ Exact Values
Stakeholders often need precise numbers: revenue, counts, percentages. Tables deliver them directly.
★ Pattern Detection
Highlight tables add a color layer so viewers can instantly spot highs, lows, and trends across many cells.
★ Familiarity
Business users are comfortable with spreadsheet layouts. Tables bridge the gap between raw data and dashboards.

Anatomy of a Tableau Table

Dim Measure A Measure B Measure C Cat 1 Cat 2 Cat 3 Cat 4 123 456 789 234 567 890 345 678 901 456 789 012 Rows (Dimensions) Columns (Measures) Text Mark Color on Marks Card = Highlight Table

Text Table vs Highlight Table

Text Table Highlight Table
Mark Type Text only Text + Color (Square)
Encodes Values Via Numbers you read Numbers + color intensity
Best For Exact lookups Pattern spotting
Color on Marks Card Not used Measure on Color
Show Me Selection "Text Tables" "Highlight Tables"

Building a Text Table

1
Drag dimensions to Rows. For example, drag "Region" and "Category" to create row headers.
2
Drag a dimension to Columns. For example, "Order Date" (set to Quarter or Year) creates column headers.
3
Drag a measure to Text. Drag "Sales" onto the Text mark on the Marks card. Values appear in every cell.
4
Format the numbers. Right-click the measure, choose "Format", set currency or percentage as needed.
5
Adjust alignment. Click the Text mark, choose "Alignment" and center or right-align for readability.

Converting to a Highlight Table

1
Start with a text table. Follow the five steps from the previous slide to build your base table.
2
Change mark type to Square. In the Marks card dropdown, switch from "Automatic" (Text) to Square.
3
Drag the measure to Color. Drag "Sales" (or the same measure) onto the Color shelf. Cells now fill with a gradient.
4
Drag the measure to Label. Drag "Sales" onto Label so the numbers still display on top of the colored squares.
5
Choose a color palette. Click the Color shelf, select "Edit Colors", and pick a sequential palette (e.g., blue or green).

Choosing the Right Color Palette

Sequential
Light to dark in one hue. Best for values that go from low to high (e.g., sales, counts).
Diverging
Two hues meeting at a neutral midpoint. Best for values with a meaningful center (e.g., profit/loss around zero).
Sequential Low High Diverging Neg Zero Pos Pick the palette that matches your data's story

Example: Regional Sales Table

Scenario: You have a dataset with Region, Category, and Sales. Build a text table showing Sales by Region (rows) and Category (columns).

Columns: Category Rows: Region Marks: Text → SUM(Sales) Result Preview Furniture Office Sup. Tech

Example: Adding Color for Highlights

Next step: Convert the text table into a highlight table by adding color encoding to reveal which Region-Category combinations drive the most sales.

Furniture Office Sup. Technology West $87K $65K $121K East $72K $53K $95K Central $35K $28K $48K South $24K $19K $38K Darkest cell = West + Technology = highest sales

Example: Diverging Profit Table

Scenario: Use a diverging palette to highlight profit/loss. Negative values are red, positive values are blue, and near-zero values are neutral.

Furniture Office Sup. Technology West -$3.2K $8.1K $18.4K East $0.4K $12.3K $14.7K Central -$8.6K -$1.2K $5.9K South -$2.1K $0.8K $3.1K

Formatting Best Practices

★ Number Format
Use currency ($), percentage (%), or abbreviations (K, M) to keep cells compact and readable.
★ Font Contrast
For highlight tables, ensure text is white on dark cells and dark on light cells. Tableau handles this if you use "Automatic" font color.
★ Cell Size
Use "Fit: Entire View" or manually resize columns so all data is visible without horizontal scrolling.

Multiple Measures in One Table

To show more than one measure (e.g., Sales and Profit) in the same table, use the Measure Names / Measure Values approach:

1
Drag "Measure Values" to the Text mark (or both Text and Color for a highlight table).
2
Drag "Measure Names" to Columns (or Rows). This creates a separate column (or row) for each measure.
3
Filter "Measure Names" to show only the measures you want. Remove unwanted ones from the filter card.

Common Mistakes to Avoid

✕ Too Many Rows
A table with 500 rows defeats the purpose. If the table needs scrolling, consider a bar chart or filtering instead.
✕ Wrong Mark Type
Forgetting to change the mark type to "Square" for highlight tables. Without it, cells remain plain text with no color fill.
✕ Poor Color Choice
Using a categorical (multi-hue) palette for a continuous measure. This confuses viewers because colors don't imply order.
✕ No Label on Color
Adding color but forgetting to add the measure to Label. Result: colored squares with no visible numbers.

Summary Reference

Concept Key Detail
Text Table Dimensions on Rows/Columns, Measure on Text mark
Highlight Table Same as text table + Measure on Color, Mark = Square
Sequential Palette Low-to-high: one hue, varying intensity
Diverging Palette Two hues with neutral center (e.g., profit/loss)
Multiple Measures Use Measure Names on Columns + Measure Values on Text
Best Practice Keep tables compact, format numbers, use Fit: Entire View

Question 1 of 5

What is the primary difference between a text table and a highlight table in Tableau?

Question 2 of 5

To convert a text table into a highlight table, which two actions are essential?

Question 3 of 5

When should you use a diverging color palette instead of a sequential one?

Question 4 of 5

You built a highlight table but the cells show colored squares without any numbers. What did you most likely forget?

Question 5 of 5

To display Sales and Profit side by side in the same table, which Tableau feature should you use?