Bird
Raised Fist0
Tableaubi_tool~15 mins

Parameter actions in Tableau - Real Business Scenario

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants an interactive sales dashboard where users can select a product category and see sales details update instantly.
📊 Data: You have sales data with columns: Order Date, Product Category, Product Name, Sales Amount, and Region.
🎯 Deliverable: Create a Tableau dashboard with a parameter action that lets users click on a product category to update sales details dynamically.
Progress0 / 7 steps
Sample Data
Order DateProduct CategoryProduct NameSales AmountRegion
2024-01-05ElectronicsSmartphone500North
2024-01-10ElectronicsLaptop1200South
2024-01-15FurnitureDesk300East
2024-01-20FurnitureChair150West
2024-01-25ClothingT-Shirt50North
2024-01-30ClothingJacket200South
2024-02-05ElectronicsTablet400East
2024-02-10FurnitureSofa800West
2024-02-15ClothingJeans100North
2024-02-20ElectronicsHeadphones150South
1
Step 1: Connect your sales data to Tableau and create a worksheet showing total sales by Product Category.
Rows: Product Category; Columns: SUM(Sales Amount)
Expected Result
A bar chart with three bars: Electronics (2250), Furniture (1250), Clothing (350)
2
Step 2: Create a parameter named 'Selected Category' with data type String and allowable values from the list of Product Categories.
Parameter: Name='Selected Category', Data type=String, List: Electronics, Furniture, Clothing
Expected Result
A parameter that can hold one product category value at a time.
3
Step 3: Create a calculated field named 'Filter by Selected Category' that returns TRUE if Product Category equals the parameter value.
[Product Category] = [Selected Category]
Expected Result
Calculated field that filters data to only the selected category.
4
Step 4: Create a new worksheet showing detailed sales by Product Name and Region, filtered by the calculated field 'Filter by Selected Category'.
Filters: 'Filter by Selected Category' = TRUE; Rows: Product Name; Columns: Region; Text: SUM(Sales Amount)
Expected Result
Table showing sales details only for the selected product category.
5
Step 5: Add both worksheets to a dashboard.
Drag bar chart and detail table onto dashboard canvas.
Expected Result
Dashboard with sales by category bar chart and detailed sales table.
6
Step 6: Create a parameter action on the bar chart: when a user clicks a bar, update the 'Selected Category' parameter with that bar's Product Category.
Dashboard > Actions > Add Action > Change Parameter; Source Sheet: bar chart; Target Parameter: Selected Category; Field: Product Category
Expected Result
Clicking a bar updates the parameter and filters the detail table accordingly.
7
Step 7: Test the dashboard by clicking different product category bars and observe the detail table update instantly.
Interact with dashboard by clicking bars.
Expected Result
Detail table updates to show sales for the clicked product category.
Final Result
Electronics
↓
Clothing
✓Electronics is the highest sales category with $2250 total sales.
✓Furniture has strong sales mainly in West and East regions.
✓Clothing sales are lower but spread across multiple regions.
✓Parameter actions let users click categories to instantly filter details.
Bonus Challenge

Add a parameter action that lets users click on a region in the detail table to filter the bar chart to show sales only for that region.

Show Hint
Create a new parameter for Region and set up a parameter action on the detail table to update it. Then modify the bar chart to filter by the selected region parameter.

Practice

(1/5)
1. What is the main purpose of parameter actions in Tableau dashboards?
easy
A. To schedule data refreshes
B. To let users change parameter values by clicking or hovering on dashboard elements
C. To export dashboards as PDF files
D. To create new data sources automatically

Solution

  1. Step 1: Understand parameter actions concept

    Parameter actions allow users to interact with dashboard elements to change parameter values dynamically.
  2. Step 2: Compare options with concept

    Only To let users change parameter values by clicking or hovering on dashboard elements describes this interactive behavior; others are unrelated to parameter actions.
  3. Final Answer:

    To let users change parameter values by clicking or hovering on dashboard elements -> Option B
  4. Quick Check:

    Parameter actions = interactive parameter change [OK]
Hint: Parameter actions let users change parameters by interacting [OK]
Common Mistakes:
  • Confusing parameter actions with data source creation
  • Thinking parameter actions export dashboards
  • Mixing parameter actions with scheduling tasks
2. Which of the following is the correct way to create a parameter action in Tableau?
easy
A. Worksheet > Export > Parameter Action
B. Data > Refresh > Parameter Action
C. Dashboard > Actions > Add Action > Change Parameter
D. Format > Parameter > Create Action

Solution

  1. Step 1: Recall Tableau menu for parameter actions

    Parameter actions are added via Dashboard menu under Actions, then Add Action > Change Parameter.
  2. Step 2: Eliminate incorrect menu paths

    Options A, C, and D do not match Tableau's actual menu structure for parameter actions.
  3. Final Answer:

    Dashboard > Actions > Add Action > Change Parameter -> Option C
  4. Quick Check:

    Correct menu path = Dashboard > Actions > Add Action > Change Parameter [OK]
Hint: Parameter actions are added from Dashboard > Actions menu [OK]
Common Mistakes:
  • Looking for parameter actions under Worksheet or Data menus
  • Confusing parameter actions with export or refresh options
  • Trying to create parameter actions under Format menu
3. Given a parameter action set to update a parameter named Selected Region based on clicking a map, what will happen if a user clicks on the 'West' region on the map?
medium
A. The dashboard will refresh and reset all filters
B. Nothing will happen because parameters cannot be changed by clicking
C. The map will filter to show only the 'West' region but parameter stays unchanged
D. The parameter Selected Region will update to 'West', changing any views using this parameter

Solution

  1. Step 1: Understand parameter action effect on parameter

    Clicking on a map region triggers the parameter action to update the parameter value to that region.
  2. Step 2: Identify impact on dashboard views

    Views using the parameter will update to reflect the new parameter value 'West'.
  3. Final Answer:

    The parameter Selected Region will update to 'West', changing any views using this parameter -> Option D
  4. Quick Check:

    Click updates parameter = The parameter Selected Region will update to 'West', changing any views using this parameter [OK]
Hint: Clicking map updates parameter value used in views [OK]
Common Mistakes:
  • Thinking parameter actions do not change parameters
  • Confusing parameter actions with filters
  • Assuming dashboard refresh resets parameters
4. You created a parameter action but clicking dashboard elements does not update the parameter. What is the most likely cause?
medium
A. The parameter action is not enabled or linked to the correct parameter
B. The data source is disconnected
C. The dashboard is in presentation mode
D. The parameter is set to a fixed value and cannot be changed

Solution

  1. Step 1: Check parameter action setup

    If clicking does not update the parameter, the action might be disabled or linked to the wrong parameter.
  2. Step 2: Evaluate other options

    Data source disconnection or presentation mode usually do not block parameter actions; fixed parameter values are not possible in Tableau.
  3. Final Answer:

    The parameter action is not enabled or linked to the correct parameter -> Option A
  4. Quick Check:

    Parameter action setup error = The parameter action is not enabled or linked to the correct parameter [OK]
Hint: Verify parameter action is enabled and targets correct parameter [OK]
Common Mistakes:
  • Assuming data source issues cause parameter action failure
  • Thinking presentation mode disables parameter actions
  • Believing parameters can be fixed and unchangeable
5. You want to create a dashboard where clicking a category name updates a parameter that controls which sales measure is shown (e.g., Sales, Profit, Quantity). How should you configure the parameter action to achieve this?
hard
A. Set the parameter action source to the category field and target the sales measure parameter, updating on select
B. Create a filter action on the category field to filter sales measures
C. Use a highlight action on the sales measure field triggered by category clicks
D. Manually update the parameter value in the parameter control

Solution

  1. Step 1: Identify source and target for parameter action

    The source should be the category field clicked by users; the target is the parameter controlling sales measure selection.
  2. Step 2: Configure parameter action to update on select

    Set the action to update the parameter value when a category is selected, so the dashboard shows the chosen measure.
  3. Final Answer:

    Set the parameter action source to the category field and target the sales measure parameter, updating on select -> Option A
  4. Quick Check:

    Parameter action source = category, target = measure parameter [OK]
Hint: Source = category field, target = measure parameter, update on select [OK]
Common Mistakes:
  • Using filter or highlight actions instead of parameter actions
  • Trying to update parameter manually instead of via action
  • Setting wrong source or target fields in parameter action