0% complete

Tableau for Data Analytics · Lesson 1 of 3

Tableau Dimensions, Measures, Shelves, and Chart Choice

Map data fields to visual encodings that answer a specific comparison question.

Lesson

1. Introduction

Tableau builds views by placing fields on shelves and marks. Understanding dimensions, measures, and aggregation helps explain what each mark represents and whether the chart matches the analysis question.

2. Understand the concept

Dimensions define categories or groups; measures are values that are commonly aggregated. Discrete fields create headers and continuous fields create axes. A mark can represent one row or an aggregated group, depending on the fields and level of detail in the view.

3. Syntax and interpretation

Question: How did monthly revenue change by region?\nColumns: MONTH(Order Date)\nRows: SUM(Sales)\nColor: Region\nMark: Line

A line chart suits ordered time and compares trends; verify that the date is continuous or discrete as intended.

4. Apply it to an analysis

Map data fields to visual encodings that answer a specific comparison question. Start with a small, known example and state what each row or value represents. After the transformation, check row counts, types, keys, and units against the original data. If an assumption fails, stop and investigate instead of presenting the output as a valid result.

5. Common mistakes

  • Changing the level of detail and comparing totals that no longer share the same grain.
  • Using a line between unordered categories and implying a continuous trend.

6. Practice task

Choose a chart to compare revenue across eight product categories and explain why.

7. One possible solution

A sorted bar chart supports accurate category comparisons because viewers can compare bar lengths against a common baseline.

8. Summary and next step

Map data fields to visual encodings that answer a specific comparison question. Use the next lesson in this module to extend the idea with another technique and a more realistic analysis case.

Visual guide

Working through Tableau Dimensions, Measures, Shelves, and Chart Choice

  1. Step 01 Define

    State the question, data grain, and expected output.

  2. Step 02 Apply

    Use the method and check its assumptions on a small example.

  3. Step 03 Verify

    Reconcile the result and communicate limitations.

Code examples

Compare category totals
TEXT
Rows: Product Category\nColumns: SUM(Revenue)\nSort: descending by SUM(Revenue)
Expected output
A ranked bar chart comparing category revenue.
Inspect two numeric variables
TEXT
Columns: Discount\nRows: Profit\nDetail: Order ID
Expected output
A scatter plot for exploring discount-profit relationships.

Key points

  • Map data fields to visual encodings that answer a specific comparison question.
  • Check the result against the stated data definition and a representative example.
  • Record assumptions and report data-quality limitations rather than hiding them.

Check your understanding

Practice

Which approach best applies the ideas in Tableau Dimensions, Measures, Shelves, and Chart Choice?

Your learning progress

Finish this lesson