Bird
Raised Fist0
Tableaubi_tool~20 mins

Parameter actions in Tableau - Practice Problems & Coding Challenges

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
Challenge - 5 Problems
🎖️
Parameter Actions Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Parameter Actions Behavior

In Tableau, what happens when you use a parameter action to select a value on a dashboard?

Choose the correct description of the effect.

AThe parameter action changes the data source connection to a different database.
BThe parameter action filters the data source directly, removing unselected data from the dashboard.
CThe parameter action creates a new calculated field that replaces the original data source.
DThe parameter value updates dynamically based on the selected mark, affecting all views using that parameter.
Attempts:
2 left
💡 Hint

Think about what parameters do in Tableau and how parameter actions update their values.

❓ dax_lod_result
intermediate
2:00remaining
Parameter Action Impact on Calculated Field

Given a Tableau parameter named SelectedCategory with values: 'Furniture', 'Office Supplies', 'Technology'. A calculated field uses this parameter as:

IF [Category] = [SelectedCategory] THEN [Sales] ELSE 0 END

If the parameter action sets SelectedCategory to 'Technology', what is the sum of this calculated field for the data below?

Category       Sales
Furniture     100
Office Supplies 200
Technology    300
Technology    150
A450
B300
C250
D0
Attempts:
2 left
💡 Hint

Sum sales only where Category matches the parameter value.

❓ visualization
advanced
2:00remaining
Designing a Dashboard with Parameter Actions

You want to create a dashboard where clicking on a bar chart updates a map to show sales for the selected region using a parameter action. Which setup is correct?

ACreate a filter action on the bar chart that filters the map directly by Region, no parameter needed.
BCreate a parameter for Region, set a parameter action on the bar chart to update this parameter, then use the parameter in a filter on the map view.
CCreate a calculated field that hardcodes the region, then use a parameter action to update the map data source connection.
DUse a parameter action to change the color palette of the map based on the selected bar.
Attempts:
2 left
💡 Hint

Parameter actions update parameters, which can be used in calculations or filters.

🔧 Formula Fix
advanced
2:00remaining
Troubleshooting Parameter Action Not Updating

You created a parameter action to update a parameter when clicking a mark, but the parameter value does not change. Which is the most likely cause?

AThe parameter is set to allow multiple values instead of a single value.
BThe data source is missing a join between tables.
CThe parameter action is not assigned to the correct source sheet or target parameter.
DThe dashboard filter is set to exclude the selected value.
Attempts:
2 left
💡 Hint

Check the parameter action configuration carefully.

🎯 Scenario
expert
3:00remaining
Complex Parameter Action Scenario

You have a dashboard with a parameter SelectedYear and two views: a line chart showing sales over months and a table showing detailed sales data. You want the user to click on a month in the line chart to update SelectedYear and filter the table to show sales only for that year. However, clicking the month does not update the table. What is the best approach to fix this?

AEnsure the parameter action updates <strong>SelectedYear</strong> from the month field, and the table uses a calculated field referencing <strong>SelectedYear</strong> to filter data.
BReplace the parameter action with a filter action directly filtering the table by month.
CCreate a new parameter for month and link it to the table filter instead of <strong>SelectedYear</strong>.
DUse a dashboard action to refresh the data source after clicking the month.
Attempts:
2 left
💡 Hint

Parameters do not filter data directly; they must be used in calculations or filters.

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