Bird
Raised Fist0
Tableaubi_tool~15 mins

First Tableau visualization - 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 to see total sales by product category for the last quarter to understand which categories perform best.
📊 Data: You have sales data including Order Date, Product Category, Sales Amount, and Region for the last quarter.
🎯 Deliverable: Create a simple bar chart in Tableau showing total sales by product category for the last quarter.
Progress0 / 5 steps
Sample Data
Order DateProduct CategorySales AmountRegion
2024-03-05Electronics1200North
2024-03-12Furniture850South
2024-04-01Office Supplies400East
2024-04-15Electronics1500West
2024-05-03Furniture700North
2024-05-20Office Supplies300South
2024-06-10Electronics1800East
2024-06-18Furniture950West
1
Step 1: Connect Tableau to the sales data source containing Order Date, Product Category, Sales Amount, and Region.
Open Tableau Desktop, click 'Connect to Data', select the file or database with the sales data.
Expected Result
Tableau shows the data fields in the Data pane.
2
Step 2: Create a filter to include only sales from the last quarter (March to June 2024).
Drag 'Order Date' to Filters, select 'Range of Dates', set start date to 2024-03-01 and end date to 2024-06-30.
Expected Result
Only sales records from March 1, 2024 to June 30, 2024 are included.
3
Step 3: Create a bar chart showing total sales by product category.
Drag 'Product Category' to Rows, drag 'Sales Amount' to Columns, ensure aggregation is SUM.
Expected Result
A horizontal bar chart appears with product categories on the left and bars representing total sales amounts.
4
Step 4: Add labels to show the exact sales amount on each bar.
Click on the 'Label' button in the Marks card and check 'Show mark labels'.
Expected Result
Each bar displays the total sales amount as a number.
5
Step 5: Format the chart for clarity: add a title and adjust colors for good contrast.
Double-click the title area and enter 'Total Sales by Product Category - Last Quarter'. Use color palette with distinct colors for bars.
Expected Result
Chart has a clear title and visually distinct bars for each category.
Final Result
Total Sales by Product Category - Last Quarter

Electronics     | ██████████████████ 4500
Furniture       | ████████████ 2500
Office Supplies | ██████ 700

(Bar lengths represent total sales amounts)
✓Electronics is the top-selling category with total sales of 4500.
✓Furniture is the second highest with 2500 in sales.
✓Office Supplies has the lowest sales at 700.
Bonus Challenge

Add a filter to allow the manager to select different regions and see sales by product category for the selected region.

Show Hint
Use the 'Region' field as a filter on the dashboard and set it to 'Show Filter' so the manager can choose.

Practice

(1/5)
1. In Tableau, what is the main purpose of dragging a Dimension field to the Rows or Columns shelf?
easy
A. To perform calculations on numerical data
B. To filter out unwanted data from the view
C. To group or categorize data in the visualization
D. To change the color of the chart elements

Solution

  1. Step 1: Understand Dimensions in Tableau

    Dimensions are fields that contain categorical data used to group or segment data.
  2. Step 2: Role of Rows and Columns shelves

    Dragging a Dimension to Rows or Columns organizes data into groups along those axes.
  3. Final Answer:

    To group or categorize data in the visualization -> Option C
  4. Quick Check:

    Dimensions group data [OK]
Hint: Dimensions group data on axes, measures show numbers [OK]
Common Mistakes:
  • Confusing dimensions with measures
  • Thinking dimensions perform calculations
  • Using dimensions to filter instead of group
2. Which of the following is the correct way to create a simple bar chart in Tableau?
easy
A. Drag a Measure to Filters and a Dimension to Tooltip
B. Drag a Measure to Rows and a Dimension to Columns
C. Drag a Dimension to Filters and a Measure to Color
D. Drag a Dimension to Pages and a Measure to Detail

Solution

  1. Step 1: Identify bar chart basics

    A bar chart shows measure values grouped by dimension categories.
  2. Step 2: Correct shelf placement

    Placing a Measure on Rows and a Dimension on Columns creates bars grouped by dimension.
  3. Final Answer:

    Drag a Measure to Rows and a Dimension to Columns -> Option B
  4. Quick Check:

    Measure on Rows + Dimension on Columns = Bar chart [OK]
Hint: Bar charts need measure on Rows and dimension on Columns [OK]
Common Mistakes:
  • Putting measures on Filters instead of Rows or Columns
  • Using Dimensions in Filters instead of Rows/Columns
  • Confusing Color or Tooltip with main chart axes
3. Given a dataset with Category as a Dimension and Sales as a Measure, what will Tableau display if you drag Category to Columns and SUM(Sales) to Rows?
medium
A. A bar chart showing total sales for each category
B. A pie chart showing sales distribution by category
C. A table listing categories and sales values
D. A scatter plot with categories on X and sales on Y

Solution

  1. Step 1: Understand shelf placement effect

    Category on Columns creates groups along horizontal axis; SUM(Sales) on Rows creates vertical bars.
  2. Step 2: Default chart type for this setup

    Tableau defaults to bar chart when a dimension and aggregated measure are placed on Columns and Rows.
  3. Final Answer:

    A bar chart showing total sales for each category -> Option A
  4. Quick Check:

    Dimension + SUM(Measure) = Bar chart [OK]
Hint: Dimension on Columns + SUM(Measure) on Rows = bar chart [OK]
Common Mistakes:
  • Expecting pie chart without selecting it
  • Thinking Tableau shows table by default
  • Confusing scatter plot with bar chart
4. You tried to create a bar chart by dragging Sales to Columns and Category to Rows, but Tableau shows a single bar instead of multiple bars. What is the likely issue?
medium
A. You dragged the Measure to Columns instead of Rows
B. The data source has no categories
C. You forgot to aggregate the Sales field
D. The Category field is treated as a Measure, not a Dimension

Solution

  1. Step 1: Check field data types

    If Category is treated as a Measure, Tableau aggregates it, losing grouping.
  2. Step 2: Effect on visualization

    Without Category as Dimension, Tableau shows one aggregated bar instead of multiple.
  3. Final Answer:

    The Category field is treated as a Measure, not a Dimension -> Option D
  4. Quick Check:

    Category must be Dimension for multiple bars [OK]
Hint: Ensure categories are Dimensions, not Measures [OK]
Common Mistakes:
  • Assuming measure placement causes single bar
  • Not checking field data type
  • Ignoring data source structure
5. You want to create a stacked bar chart in Tableau showing Sales by Category and colored by Region. Which steps should you follow?
hard
A. Drag Category to Columns, SUM(Sales) to Rows, and Region to Color
B. Drag Region to Columns, Category to Rows, and Sales to Filters
C. Drag Sales to Columns, Region to Rows, and Category to Tooltip
D. Drag Category to Filters, Region to Color, and Sales to Detail

Solution

  1. Step 1: Place Category and Sales for bar chart

    Category on Columns groups bars; SUM(Sales) on Rows sets bar height.
  2. Step 2: Add Region to Color for stacking

    Dragging Region to Color splits bars by region colors, creating stacked bars.
  3. Final Answer:

    Drag Category to Columns, SUM(Sales) to Rows, and Region to Color -> Option A
  4. Quick Check:

    Category + SUM(Sales) + Region on Color = Stacked bar [OK]
Hint: Use Color shelf to stack bars by category [OK]
Common Mistakes:
  • Putting Region on Rows or Filters instead of Color
  • Not aggregating Sales
  • Using Tooltip or Detail instead of Color for stacking
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