Bird
Raised Fist0
Tableaubi_tool~10 mins

First Tableau visualization - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a bar chart by dragging the correct shelf name.

Tableau
Drag the [1] shelf to the Columns area to create a bar chart.
Drag options to blanks, or click blank then click option'
AFilters
BColumns
CRows
DPages
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Rows and Columns shelves.
Dragging to Filters instead of Columns.
2fill in blank
medium

Complete the code to add a measure to the Rows shelf for visualization.

Tableau
Drag the [1] measure to the Rows shelf to display values vertically.
Drag options to blanks, or click blank then click option'
AMeasure
BParameter
CFilter
DDimension
Attempts:
3 left
💡 Hint
Common Mistakes
Dragging a Dimension instead of a Measure to Rows.
Using Filters or Parameters incorrectly.
3fill in blank
hard

Fix the error in the visualization by choosing the correct mark type.

Tableau
Change the mark type to [1] to create a bar chart instead of a line chart.
Drag options to blanks, or click blank then click option'
ALine
BCircle
CShape
DBar
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving the mark type as Line.
Choosing Circle or Shape which do not create bars.
4fill in blank
hard

Fill both blanks to filter the data to only show sales greater than 1000.

Tableau
Create a filter where Sales [1] 1000 to include only higher sales, then drag Sales to [2] shelf.
Drag options to blanks, or click blank then click option'
A>
B<
CRows
DColumns
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '>' in the filter.
Dragging Sales to Columns instead of Rows.
5fill in blank
hard

Fill all three blanks to create a calculated field that shows profit ratio and use it in the view.

Tableau
Create a calculated field named [1] with formula [Profit] [2] [Sales], then drag it to the [3] shelf.
Drag options to blanks, or click blank then click option'
AProfit Ratio
B/
CColumns
D*
Attempts:
3 left
💡 Hint
Common Mistakes
Using '*' instead of '/' in the formula.
Dragging the calculated field to Rows instead of Columns.

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