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.
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.
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.
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.
The Core Rule
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.
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
How to Identify the View Level
Example 1: Grand Total
You drag \(\text{Sales}\) onto the Text shelf with no dimensions in the view. Tableau shows:
Example 2: Grouped by Region
Now add the Region dimension to Rows. Tableau creates one group per region and sums Sales within each.
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
When to Use Row-Level vs. Aggregated
Common Mistakes
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?