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.
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
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.
The Shelf System
The Core Drag-and-Drop Rule
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.
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
Example 1: Bar Chart
Goal: Show total Sales for each product Category.
Example 2: Adding Color
Goal: Break down Sales by Category and Region using color encoding.
Example 3: Line Chart with Filters
Goal: Show Profit trend over time, filtered to only the "Technology" category.
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.
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.
Common Mistakes
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?