01 / 21

Dimensions vs.
Measures

Master the foundational building blocks of Tableau: understand how dimensions describe your data and measures quantify it, plus the critical role of discrete vs. continuous fields.

Tableau

Every Column Is a Field

When you connect to data in Tableau, each column in your dataset becomes a field in the Data pane. Tableau automatically classifies every field into one of two fundamental roles:

Dimension
Qualitative, categorical fields that describe your data: names, dates, regions, categories.
Measure
Quantitative, numeric fields that can be aggregated: sales, profit, quantity, temperature.

Dimensions: The Labels of Your Data

Dimensions are independent, categorical variables. They slice your data into groups. When you drag a dimension onto a shelf, Tableau creates headers or partitions for each unique value.

Data Pane Category Region Customer Name Order Date Result: Headers Furniture Office Supplies Technology

Measures: The Numbers You Aggregate

Measures are dependent, quantitative variables. When placed on a shelf, Tableau automatically aggregates them: by default it computes \(\text{SUM}\), but you can change this to \(\text{AVG}\), \(\text{COUNT}\), \(\text{MIN}\), \(\text{MAX}\), \(\text{MEDIAN}\), and more.

Raw Sales Data $120 $85 $245 $67 $310 $153 ... many rows
\(\text{SUM}( )\)
Aggregated Result $980
\(\text{SUM}(\text{Sales})\)

The Second Axis: Discrete vs. Continuous

Beyond dimension/measure, Tableau has a second classification that controls how fields appear on the shelf. This is the discrete vs. continuous distinction, and it's indicated by pill color:

Discrete (Blue Pill)
Creates individual headers for each value. Think: distinct buckets. Produces labels on axes.
Continuous (Green Pill)
Creates a continuous axis with a range. Think: an unbroken number line. Produces axes with tick marks.

The 2 x 2 Classification Grid

Most beginners think dimensions are always discrete and measures are always continuous. That's the default, but not a rule. All four combinations are possible:

Dimension Measure Discrete (Blue pill) Continuous (Green pill) Most Common Category, Region ★ Default Less Common
\(\text{SUM}(\text{Sales})\) on
Color shelf
Date Axis Order Date as continuous axis Most Common
\(\text{SUM}(\text{Sales})\),
\(\text{AVG}(\text{Profit})\)
★ Default

How Discrete and Continuous Affect Views

Discrete: Headers East West South Central Continuous: Axis $0 $50K $100K

Role vs. Type: Two Independent Axes

This is the most important distinction to internalize. Dimension/Measure is the field's role: what it does in the visualization. Discrete/Continuous is the field's type: how it's displayed. They are independent choices.

Role (Dimension / Measure) Type (Discrete / Continuous)
What it controls How data is partitioned vs. aggregated How the field is displayed on the view
Visual indicator Position in Data pane (above or below line) Pill color (blue or green)
Can be changed? Yes, right-click: "Convert to..." Yes, right-click: "Discrete" or "Continuous"
Default pairing Dimensions: usually discrete Measures: usually continuous

Dates: The Shape-Shifter

Date fields are the most common example of a dimension that can be either discrete or continuous. This single concept causes more confusion than any other in Tableau.

Discrete Date
YEAR(Order Date) as discrete: creates separate headers for 2020, 2021, 2022, 2023. Each year is a bucket.
Continuous Date
YEAR(Order Date) as continuous: creates a timeline axis with a smooth range from 2020 to 2023. No gaps.

Step-by-Step: Classifying a Field

1
Ask: "Can I sum or average this?" If yes, it's likely a measure. If no, it's likely a dimension.
2
Check the Data pane. Tableau places dimensions above the line and measures below the line. Verify the auto-classification is correct.
3
Ask: "Do I want headers or an axis?" Headers = discrete (blue pill). Axis = continuous (green pill).
4
Right-click the pill on the shelf to convert between discrete and continuous, or drag the field to change its role.
5
Watch for misclassified fields. Zip codes, IDs, and year numbers are often wrongly auto-classified as measures. Convert them to dimensions.

Example 1: Sales by Region

You want a bar chart showing total sales for each region. Identify what goes where:

Columns:
\(\text{SUM}(\text{Sales})\)
Rows: Region Central East South West $120K $192K $88K $160K

Example 2: Sales Trend Over Time

You want a line chart showing how sales change over time. Here is where the discrete vs. continuous choice on a date dimension changes your chart entirely:

Discrete YEAR 2020 2021 2022 2023 Continuous YEAR 2020 2021 2022 2023

Example 3: When Measures Become Discrete

Imagine you drag Profit to the Color shelf. If Profit is continuous, you get a gradient from red to blue. If you switch it to discrete, Tableau bins the values into distinct color buckets.

Continuous Profit -$5K $0 +$5K Smooth gradient Discrete Profit Loss Low Mid High Distinct buckets

Aggregation: The Measure's Superpower

Measures are aggregated at the level of detail defined by the dimensions in the view. Add more dimensions = more granularity = smaller groups:

1
No dimensions: \(\text{SUM}(\text{Sales})\) aggregates all rows into one number.
2
One dimension (Region): \(\text{SUM}(\text{Sales})\) calculates per region: East, West, South, Central.
3
Two dimensions (Region + Category): \(\text{SUM}(\text{Sales})\) calculates for each combination: East-Furniture, East-Tech, etc.

Common Mistakes to Avoid

✕ IDs as Measures
Zip codes, student IDs, and phone numbers are numeric but not measures. \(\text{SUM}(\text{Zip Code})\) is meaningless. Convert these to dimensions.
✕ Discrete = Dimension
Many beginners conflate the two. A field can be a discrete measure or a continuous dimension. They are separate properties.
✕ Wrong Date Type
Using discrete dates when you need a timeline (or vice versa) produces the wrong chart. Always check pill color on date fields.

Summary Comparison Table

Dimension Measure
Role Categorizes / partitions data Quantifies / aggregates data
Data type Strings, dates, booleans (usually) Numbers (usually)
Default behavior Discrete (blue pill) Continuous (green pill)
On shelf produces Headers / labels Axes / aggregated values
Aggregation Groups rows \(\text{SUM}\), \(\text{AVG}\), \(\text{COUNT}\), etc.
Examples Category, Region, Date, Name Sales, Profit, Quantity, Discount
Can switch type? Yes: can become continuous Yes: can become discrete

Question 1 of 5

In Tableau, what does a blue pill on a shelf indicate about the field?

Question 2 of 5

A field labeled "Zip Code" contains numeric values like 10001, 90210, 60614. How should it be classified in Tableau?

Question 3 of 5

You place YEAR(Order Date) on Columns as a continuous field and \(\text{SUM}(\text{Sales})\) on Rows. What type of chart does Tableau produce?

Question 4 of 5

Which statement best describes the relationship between dimension/measure and discrete/continuous?

Question 5 of 5

When you add more dimensions to a Tableau view that already contains a measure, what happens to the aggregation?