0
0
Tableaubi_tool~20 mins

Parameter controls in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Parameter Control Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Parameter Control Usage

In Tableau, what is the primary purpose of using a parameter control?

ATo automatically refresh data sources without user input
BTo allow users to dynamically change a value that can be used in calculations or filters
CTo create a fixed filter that cannot be changed by users
DTo display static text labels on dashboards
Attempts:
2 left
💡 Hint

Think about how users can interact with dashboards to change values.

dax_lod_result
intermediate
2:00remaining
Parameter Control Impact on Calculation

Given a parameter control named SelectedYear with values 2021, 2022, and 2023, which calculated field will correctly return sales only for the selected year?

Tableau
IF [Order Year] = [SelectedYear] THEN [Sales] ELSE 0 END
AIF [Order Year] = [SelectedYear] THEN [Sales] ELSE 0 END
BIF [Order Year] == [SelectedYear] THEN [Sales] ELSE NULL END
CIF [Order Year] = SelectedYear THEN SUM([Sales]) END
DIF [Order Year] = [SelectedYear] THEN SUM([Sales]) ELSE 0 END
Attempts:
2 left
💡 Hint

Remember Tableau uses single equals for comparison and aggregation functions must be outside row-level IF statements.

visualization
advanced
2:30remaining
Best Visualization for Parameter-Driven Top N Filter

You want to create a dashboard where users select a number N via a parameter control to show the top N products by sales. Which visualization approach is best?

ACreate a fixed filter on products and update it manually for each N value
BUse a parameter control for N but apply it directly as a filter on product names
CCreate a separate worksheet for each N value and swap worksheets based on parameter
DUse a parameter control for N and a calculated field that ranks products by sales, then filter to rank <= N
Attempts:
2 left
💡 Hint

Think about how to dynamically filter top items based on user input.

🔧 Formula Fix
advanced
2:00remaining
Troubleshooting Parameter Control Not Affecting Filter

You created a parameter control to select a region, but changing the parameter does not update the sales chart filtered by region. What is the most likely cause?

AThe parameter values do not match any region names exactly
BThe parameter control is not visible on the dashboard
CThe filter is set directly on the region field, not using the parameter in a calculated field
DThe data source is not refreshed after changing the parameter
Attempts:
2 left
💡 Hint

Parameters do not automatically filter data unless used in calculations or filters.

🎯 Scenario
expert
3:00remaining
Designing a Parameter Control for Dynamic Measure Selection

You want to let users choose between viewing Sales, Profit, or Quantity on a single chart using a parameter control. Which approach correctly implements this?

ACreate a string parameter with values 'Sales', 'Profit', 'Quantity' and a calculated field using CASE to return the selected measure
BCreate three separate charts and show/hide them based on the parameter value
CUse a filter on measure names and link it to the parameter control
DCreate a numeric parameter and multiply sales by it to switch measures
Attempts:
2 left
💡 Hint

Think about how to switch measures dynamically in one calculation.