Bird
Raised Fist0
Tableaubi_tool~15 mins

Text tables in Tableau - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a clear table showing total sales and total profit by product category and region for the last quarter.
📊 Data: You have sales transaction data including Product Category, Region, Sales Amount, Profit, and Date.
🎯 Deliverable: Create a text table in Tableau that displays Product Category as rows, Region as columns, and shows total Sales and total Profit in the table cells.
Progress0 / 6 steps
Sample Data
Product CategoryRegionSales AmountProfitDate
FurnitureEast12003002024-03-15
FurnitureWest8502002024-04-10
TechnologyEast15004002024-03-20
TechnologyWest13003502024-04-05
Office SuppliesEast7001502024-03-25
Office SuppliesWest6001202024-04-12
FurnitureEast11002802024-04-01
TechnologyEast14003702024-04-15
Office SuppliesWest6501302024-03-30
FurnitureWest9002202024-03-18
1
Step 1: Connect your Tableau workbook to the sales transaction data source.
Use the provided data table with columns: Product Category, Region, Sales Amount, Profit, Date.
Expected Result
Data is loaded and visible in Tableau's Data pane.
2
Step 2: Filter the data to include only transactions from the last quarter (March-April 2024).
Create a filter on the Date field: Date >= '2024-03-01' AND Date <= '2024-04-30'.
Expected Result
Only rows with dates in March and April 2024 remain.
3
Step 3: Create a text table with Product Category as rows and Region as columns.
Drag 'Product Category' to Rows shelf and 'Region' to Columns shelf.
Expected Result
Table layout shows product categories vertically and regions horizontally.
4
Step 4: Add total Sales Amount and total Profit as values in the table cells.
Drag 'Sales Amount' to Text on Marks card and set aggregation to SUM. Then drag 'Profit' to Text as well (they concatenate), or create a calculated field: STR(SUM([Sales Amount])) + CHAR(10) + STR(SUM([Profit])) for line break.
Expected Result
Each cell shows SUM of Sales Amount and SUM of Profit for that Product Category and Region.
5
Step 5: Format the text table for clarity: add headers, adjust font size, and align text.
Use Format pane to set font size to 12pt, align text center, and add bold headers.
Expected Result
Text table is easy to read with clear headers and aligned numbers.
6
Step 6: Add a title to the worksheet: 'Sales and Profit by Product Category and Region - Last Quarter 2024'.
Use Worksheet > Show Title and edit the title text accordingly.
Expected Result
Worksheet has a descriptive title at the top.
Final Result
-------------------------------------------------------------
| Product Category | East Sales | East Profit | West Sales | West Profit |
-------------------------------------------------------------
| Furniture        | 2300       | 580         | 1750       | 420         |
| Technology       | 2900       | 770         | 1300       | 350         |
| Office Supplies  | 700        | 150         | 1250       | 250         |
-------------------------------------------------------------
✓East region has higher sales and profit in Furniture and Technology categories.
✓West region shows moderate sales but lower profit compared to East.
✓Office Supplies sales are lower overall but West region has more sales than East.
Bonus Challenge

Add a calculated field to show Profit Margin (%) for each Product Category and Region in the text table.

Show Hint
Create a calculated field: Profit Margin = SUM(Profit) / SUM([Sales Amount]) * 100, then add it to the text table.

Practice

(1/5)
1. What is the primary purpose of a Text table in Tableau?
easy
A. To visualize data distribution with bars
B. To create interactive maps with geographic data
C. To display exact values in rows and columns for detailed comparison
D. To show trends over time using lines

Solution

  1. Step 1: Understand the function of text tables

    Text tables show data in rows and columns with exact values, making detailed comparisons easy.
  2. Step 2: Compare with other chart types

    Maps, line charts, and bar charts serve different visualization purposes, not exact value display.
  3. Final Answer:

    To display exact values in rows and columns for detailed comparison -> Option C
  4. Quick Check:

    Text tables = exact value display [OK]
Hint: Text tables show exact numbers in rows and columns [OK]
Common Mistakes:
  • Confusing text tables with charts like bar or line graphs
  • Thinking text tables are for geographic data
  • Assuming text tables show trends or distributions
2. Which of the following is the correct way to create a text table in Tableau?
easy
A. Drag a measure to Rows and a dimension to Columns
B. Drag dimensions to Rows and Columns, and measures to Text on Marks card
C. Drag measures to Filters and dimensions to Pages
D. Drag dimensions to Filters and measures to Tooltip

Solution

  1. Step 1: Identify how to build text tables

    Text tables require dimensions on Rows and Columns, and measures placed on Text in the Marks card to show values.
  2. Step 2: Eliminate incorrect options

    Dragging measures to Filters or Tooltip does not create text tables; Filters limit data, Tooltip shows hover info.
  3. Final Answer:

    Drag dimensions to Rows and Columns, and measures to Text on Marks card -> Option B
  4. Quick Check:

    Dimensions on Rows/Columns + Measures on Text = Text table [OK]
Hint: Put dimensions on Rows/Columns, measures on Text [OK]
Common Mistakes:
  • Placing measures on Rows or Columns instead of Text
  • Using Filters or Tooltip instead of Text for measures
  • Confusing Pages shelf with Rows or Columns
3. Given a Tableau worksheet with 'Category' on Rows, 'Region' on Columns, and 'Sales' on Text, what will the text table display?
medium
A. Sum of Sales for each Category and Region combination
B. Average Sales for each Region only
C. Total Sales for all Categories combined
D. Count of Categories per Region

Solution

  1. Step 1: Understand the layout of the text table

    Dimensions 'Category' and 'Region' create rows and columns, so each cell corresponds to a Category-Region pair.
  2. Step 2: Interpret the measure on Text

    'Sales' on Text shows the aggregated value (default sum) for each cell's Category and Region combination.
  3. Final Answer:

    Sum of Sales for each Category and Region combination -> Option A
  4. Quick Check:

    Dimensions define cells, measure shows sum per cell [OK]
Hint: Text shows measure aggregated by row and column dimensions [OK]
Common Mistakes:
  • Thinking it shows average instead of sum
  • Assuming total sales without breakdown
  • Confusing count of categories with sales sum
4. You created a text table but see blank cells where you expected sales values. What is the most likely cause?
medium
A. You dragged the measure to Filters instead of Text
B. You used a continuous field on Rows instead of discrete
C. You placed dimensions on the Tooltip shelf
D. There is no data for those Category and Region combinations

Solution

  1. Step 1: Analyze blank cells in text tables

    Blank cells usually mean no data exists for that combination of dimension values.
  2. Step 2: Check other options for errors

    Dragging measure to Filters would filter data, not cause blanks in expected cells; Tooltip does not affect layout; continuous fields change axis but don't cause blanks.
  3. Final Answer:

    There is no data for those Category and Region combinations -> Option D
  4. Quick Check:

    Blank cells = missing data for dimension pairs [OK]
Hint: Blank cells mean no data for those dimension pairs [OK]
Common Mistakes:
  • Assuming syntax error causes blanks
  • Thinking Tooltip shelf affects cell values
  • Confusing continuous vs discrete fields as cause
5. You want to create a text table showing total sales by Category and Region, but also want to highlight sales above $50,000 in red text. How can you achieve this in Tableau?
hard
A. Use a calculated field with IF SUM(Sales) > 50000 THEN 'Red' ELSE 'Black', then place it on Color in Marks card
B. Drag Sales to Filters and set condition sales > 50000
C. Place Category on Tooltip and Region on Detail
D. Use Pages shelf to filter sales above 50000

Solution

  1. Step 1: Create a calculated field for color coding

    Write a calculation like IF SUM(Sales) > 50000 THEN 'Red' ELSE 'Black' to assign colors based on sales.
  2. Step 2: Apply color to text in the text table

    Place this calculated field on Color in the Marks card to change text color conditionally.
  3. Step 3: Verify other options are incorrect

    Filters limit data but don't color text; Tooltip and Pages do not control text color.
  4. Final Answer:

    Use a calculated field with IF SUM(Sales) > 50000 THEN 'Red' ELSE 'Black', then place it on Color in Marks card -> Option A
  5. Quick Check:

    Conditional color via calculated field + Color shelf [OK]
Hint: Use IF condition in calculated field and put on Color shelf [OK]
Common Mistakes:
  • Using Filters instead of color for highlighting
  • Placing dimensions on Tooltip instead of Color
  • Trying to filter with Pages shelf for color
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard