01 / 20

Row-Level vs.
Aggregated Data

Understand the difference between individual records and summarized values in Tableau: the foundation for every chart, calculation, and insight you build.

Tableau

What Is Data in Tableau?

Every data source you connect to in Tableau is stored as a table: a grid of rows and columns. Each row represents a single record, and each column holds a specific attribute about that record.

Order ID Product Region Sales 1001 Laptop East $1,200 1002 Monitor West $450 1003 Keyboard East $75 1004 Laptop West $1,350 ROWS

Defining Row-Level Data

Row-level data is the raw, unaggregated detail of your data source. Each mark or data point corresponds to exactly one row in the underlying table.

One Row = One Record
Each row is a unique transaction, student, game, or event: the smallest unit of observation.
No Math Applied
Values appear exactly as they exist in the data source: no summing, no averaging, no counting.
Full Detail
You see every individual value: useful for spotting outliers, verifying records, or building calculated fields.

What Is Aggregation?

Aggregation is the process of combining multiple rows into a single summary value using a mathematical function. It collapses detail into higher-level insight.

\(\text{SUM}\)
Adds all values together. Example: total sales for a region.
\(\text{AVG}\)
Calculates the mean. Example: average order value.
\(\text{COUNT}\)
Counts the number of rows. Example: number of orders per customer.
\(\text{MIN / MAX}\)
Returns the smallest or largest value. Example: highest sale amount.

The Core Rule

ROW-LEVEL Order 1001 : $1,200 Order 1002 : $450 Order 1003 : $75 Order 1004 : $1,350 4 individual rows 4 marks in the view
\(\text{SUM}\)
AGGREGATED $3,075 1 summary value 1 mark in the view

Granularity and Level of Detail

Granularity is the level of detail at which data is recorded. The dimensions in your view determine the granularity, and that controls how aggregation groups the rows.

1
No dimensions in view: all rows aggregate into one single number (grand total).
2
One dimension (e.g., Region): rows are grouped per region, giving one aggregated value per region.
3
Two dimensions (e.g., Region + Product): rows are grouped per combination, producing finer detail.
4
All unique identifiers: each row is its own group: effectively row-level data again.

Dimensions vs. Measures

Dimensions Measures
Role Categorical: they split the view Quantitative: they get aggregated
Examples Region, Product, Date Sales, Profit, Quantity
Default behavior Creates groups (partitions) \(\text{SUM}\), \(\text{AVG}\), \(\text{COUNT}\), etc.
Effect on marks Adds more marks (detail) Values within each mark
Pill color in Tableau Blue Green

Seeing the Difference Visually

Row-Level (Scatter) Orders Sales ($) 8 marks = 8 rows Aggregated (Bar)

\(\text{SUM(Sales)}\)

Region $1,275 East $1,800 West 2 marks = 2 regions

How to Identify the View Level

1
Check the measure pills: do they show \(\text{SUM(Sales)}\) or just \(\text{Sales}\)? A prefix like \(\text{SUM}\), \(\text{AVG}\), or \(\text{COUNT}\) means aggregation is active.
2
Count the marks: if you see fewer marks than rows in your data, the view is aggregated. If marks equal rows, it is row-level.
3
Look at the dimensions: every blue pill on Rows, Columns, or the Marks card creates a partition. More dimensions = higher granularity.
4
Use Analysis > Aggregate Measures: uncheck this to force Tableau to display raw row-level values with no aggregation.

Example 1: Grand Total

You drag \(\text{Sales}\) onto the Text shelf with no dimensions in the view. Tableau shows:

\(\text{SUM(Sales)}\)
$3,075 All 4 rows collapsed into 1 number

Example 2: Grouped by Region

Now add the Region dimension to Rows. Tableau creates one group per region and sums Sales within each.

East Order 1001: $1,200 Order 1003: $75
\(\text{SUM} = \$1,275\)
2 rows → 1 mark West Order 1002: $450 Order 1004: $1,350
\(\text{SUM} = \$1,800\)
2 rows → 1 mark

Example 3: Two Dimensions

Now add Product alongside Region. Each unique Region + Product combination becomes its own group.

Region Product \(\text{SUM(Sales)}\) Rows
East Keyboard $75 1
East Laptop $1,200 1
West Laptop $1,350 1
West Monitor $450 1

The Aggregation Spectrum

Most Aggregated Grand Total 1 mark Grouped By Region, Category Few marks Row-Level Every unique ID Max marks ← Fewer dimensions More dimensions → Adding dimensions moves you to the right

When to Use Row-Level vs. Aggregated

Row-Level
Use when you need to see individual records: finding outliers, building row-level calculated fields, or verifying data quality.
Aggregated
Use for summaries and comparisons: total sales by region, average score by class, trend lines over time. Most dashboards use aggregated views.

Common Mistakes

✕ Mixing Levels in a Calculation
Writing a calculation that compares a row-level value to an aggregated value (e.g., \(\text{[Sales]} > \text{AVG}([Sales])\)) without using LOD expressions. Tableau will throw an error.
✕ Assuming SUM = Row Value
Forgetting that \(\text{SUM(Sales)}\) changes when you add or remove dimensions. What looks like a single order's value may actually be the sum of many rows.
✕ Ignoring Duplicate Rows
If your data has duplicate rows, aggregation silently inflates totals. Always check \(\text{COUNT}\) vs. \(\text{COUNTD}\) to detect duplicates.

Summary Comparison

Row-Level Aggregated
Data shown Individual records Summary values
Number of marks = number of rows < number of rows
Function applied None \(\text{SUM}\), \(\text{AVG}\), \(\text{COUNT}\), etc.
Pill label \(\text{Sales}\) \(\text{SUM(Sales)}\)
Use case Detail inspection, LOD calcs Dashboards, trend analysis
Dimensions needed Unique identifier in view Categorical grouping fields

Question 1 of 5

You have a dataset with 500 sales records. You drag \(\text{SUM(Sales)}\) to the Text shelf with no dimensions in the view. How many marks will Tableau display?

Question 2 of 5

What does adding a dimension to a view do to the level of aggregation?

Question 3 of 5

A green pill labeled \(\text{SUM(Profit)}\) sits on the Columns shelf. Which statement is true?

Question 4 of 5

You want to see every individual transaction in your dataset as a separate point on a scatter plot. What should you ensure?

Question 5 of 5

Your bar chart shows \(\text{SUM(Sales)}\) by Region with 4 bars. You then also add Category to the Columns shelf. What happens?