01 / 20

Drag-and-Drop
Workflow

Learn how to build visualizations in Tableau by dragging fields onto shelves: the core interaction model that powers every chart you create.

Tableau

What Is Drag-and-Drop?

In Tableau, drag-and-drop is the primary way you build every visualization. Instead of writing code, you click a field from the Data pane on the left, drag it across the screen, and drop it onto a target area called a shelf. Tableau instantly generates a chart based on where you place each field.

The Tableau Workspace

DATA PANE Dimensions Category Region Sub-Category Measures Sales Profit Quantity Columns Drop here Rows Drop here View Canvas Your chart renders here MARKS Color Size Label Detail Tooltip

Dimensions vs. Measures

Every field in your data source is classified as either a dimension or a measure. This classification determines how Tableau treats the field when you drag it onto a shelf.

Dimensions
Categorical fields that describe what something is: names, dates, categories, regions. They slice and group your data.
Measures
Numeric fields that describe how much: sales, profit, quantity. Tableau aggregates them (SUM, AVG, etc.) by default.

The Shelf System

Columns Shelf → controls the X-axis (horizontal) Rows Shelf → controls the Y-axis (vertical) Filters Shelf → limits which data rows appear Marks Card → controls Color, Size, Shape, Label, Detail Pages Shelf → animates through field values

The Core Drag-and-Drop Rule

Sales On Columns Becomes X-axis values (horizontal bar chart) On Rows Becomes Y-axis values (vertical bar chart) On Color (Marks) Becomes color gradient (heatmap effect) Same field, 3 different visual roles The shelf decides the behavior

Automatic Aggregation

When you drop a measure onto a shelf, Tableau automatically aggregates it. By default, numeric fields are summed: SUM(Sales). You can change the aggregation by right-clicking the pill.

SUM
Adds all values together. Default for most measures.
AVG
Calculates the mean. Useful for per-unit analysis.
COUNT
Counts rows. Works on any field type.

Discrete vs. Continuous

Beyond dimension/measure, every field in Tableau is also either discrete or continuous. This determines whether the field creates headers (labels) or an axis (a scale).

Discrete (Blue) Continuous (Green)
Pill color Blue pill Green pill
Creates Headers / labels Axis / scale
Visual effect Separate bars or columns Connected line or gradient
Example Category, Region Sales, Date (continuous)

Building a View: Step by Step

1
Connect to data. Open Tableau and connect to your data source (Excel, CSV, database, etc.).
2
Identify your question. Decide what you want to see: "Sales by Category" or "Profit over Time."
3
Drag a dimension to Columns (for horizontal grouping) or Rows (for vertical grouping).
4
Drag a measure to the opposite shelf. Tableau auto-aggregates and renders the chart.
5
Refine with Marks. Add fields to Color, Size, or Label on the Marks card for richer visuals.
6
Filter if needed. Drag fields to the Filters shelf to narrow the data shown.

Example 1: Bar Chart

Goal: Show total Sales for each product Category.

Columns: Category Rows: SUM(Sales) $800K $600K $400K $200K $0 $742K Furniture $836K Office Supplies $906K Technology

Example 2: Adding Color

Goal: Break down Sales by Category and Region using color encoding.

Columns: Category Rows: SUM(Sales) Color: Region Furniture Office Sup. Technology Region Central East South West

Example 3: Line Chart with Filters

Goal: Show Profit trend over time, filtered to only the "Technology" category.

Columns: Order Date Rows: SUM(Profit) Filter: Category $60K $40K $20K $0 -$10K 2020 2021 2022 2023 Technology only

The Marks Card

The Marks card is the visual encoding engine. Each property on the Marks card controls a different visual channel of your chart.

Color
Encodes a field as hue or gradient. Dimensions create discrete colors; measures create gradients.
Size
Varies mark size. Useful for bubble charts: drag a measure to Size and marks scale proportionally.
Label
Displays text on marks. Drag SUM(Sales) here to show exact values on each bar.
Detail
Adds granularity without changing appearance. Increases the number of marks drawn.

The Show Me Panel

Tableau's Show Me panel (top-right corner) suggests chart types based on the fields you have selected. It is a shortcut that auto-places fields onto the correct shelves for you.

1
Select fields in the Data pane by Ctrl-clicking (or Cmd-clicking) multiple fields.
2
Click Show Me. Tableau highlights which chart types work with your selection.
3
Pick a chart type. Tableau auto-places your fields onto Rows, Columns, and Marks.

Common Mistakes

✕ Dropping on Wrong Shelf
Placing a measure on Columns when you wanted it on Rows flips your chart orientation. Always check which axis you intend.
✕ Ignoring Aggregation
Assuming "Sales" shows raw values. By default Tableau shows SUM(Sales). Right-click the pill to change it to AVG, MIN, or MAX.
✕ Too Many Dimensions
Dragging 4+ dimensions onto shelves creates an unreadable view with hundreds of tiny marks. Start simple: one dimension, one measure.

Workflow Summary

Action What You Do What Tableau Does
Dimension → Columns Drag "Category" to Columns Creates column headers
Measure → Rows Drag "Sales" to Rows Creates Y-axis with SUM
Dimension → Color Drag "Region" to Color Assigns discrete colors
Measure → Size Drag "Profit" to Size Scales marks by value
Dimension → Filters Drag "Category" to Filters Shows filter dialog

Question 1 of 5

In Tableau's drag-and-drop workflow, what does the Columns shelf control?

Question 2 of 5

You drag the "Sales" field onto the Rows shelf. What does Tableau do with it by default?

Question 3 of 5

What is the difference between a dimension and a measure in Tableau?

Question 4 of 5

You want to show bars colored by Region. Which part of the workspace should you drag the "Region" field to?

Question 5 of 5

A student builds a bar chart but the bars run horizontally instead of vertically. What most likely happened?