Tableau Drop Down Filter: How to Create and Configure
In this article
To create a drop down filter in Tableau, drag a dimension to the Filters shelf, right-click the filter in the view, and select Single Value (drop down) or Multiple Values (drop down) from the menu. This converts a standard list of checkboxes into a compact menu, which is essential for cleaning up dashboard layouts and improving the user experience by hiding long lists of options.
What You'll Need
- Tableau Desktop or Tableau Public installed on your computer.
- A connected data source with at least one categorical dimension (e.g., Region, Category, or Year) to use as the filter.
- A worksheet with existing visualizations (charts or tables) that you want to filter.
Step-by-Step
- Identify your filter dimension: Locate the field in the Data pane (on the left side of the screen) that you want users to filter by. This must be a dimension (usually blue) rather than a measure (usually green).
- Add the field to the Filters shelf: Click and drag the chosen dimension from the Data pane and drop it directly onto the Filters shelf.
- Select initial values: A dialog box will appear. Select the values you want to be visible by default (e.g., "All" or a specific selection) and click OK.
- Show the filter in the view: Right-click the field you just placed on the Filters shelf and select Show Filter. This will place a filter control on the right side of your worksheet.
- Change the filter type to a drop down: By default, Tableau often shows a list of checkboxes. Click the small downward-facing arrow (the menu icon) in the top right corner of the filter card.
- Choose your drop down style: From the menu, select one of the following based on your needs:
- Single Value (drop down): Use this if the user should only be able to select one item at a time.
- Multiple Values (drop down): Use this if the user should be able to select several items, but you want the list collapsed by default.
- Apply to multiple worksheets: If you are building a dashboard, you likely want this filter to affect more than one chart. Right-click the filter pill on the Filters shelf again, hover over Apply to Worksheets, and choose "All Using This Data Source" or "Selected Worksheets" to sync the filter across your project.
- Position on the Dashboard: If you are using a Dashboard view, drag the filter container to your desired location. Note that labels and menu options may vary slightly depending on your version of Tableau.
Common Mistakes
- Filtering Measures instead of Dimensions: Trying to create a drop down for a measure (like Profit or Sales) will result in a range slider (minimum/maximum) rather than a drop down list. To get a drop down for numbers, you must first convert the measure to a dimension or create a bin.
- Forgetting to "Apply to Worksheets": A common frustration is seeing the filter change one chart on a dashboard but not the others. This happens because filters are worksheet-specific by default.
- Overloading the Filter: Adding a dimension with thousands of unique values (like Customer ID) to a drop down filter can slow down dashboard performance and make the list difficult for users to navigate.
- Confusing Single Value with Multiple Values: Choosing "Single Value" when the user needs to compare two regions will prevent them from selecting more than one, leading to a perceived "bug" in the report.
Tips
- Use "All" for better UX: When using Multiple Values (drop down), ensure the "All" option is enabled so users can quickly reset the view without manually checking every box.
- Rename for Clarity: The filter title defaults to the field name in your data source (e.g., "cust_region_final"). Right-click the filter title in the view and select Edit Title to change it to something user-friendly like "Select Region."
- Combine with Parameters: If you need a drop down that switches between different measures (e.g., switching a chart from showing "Sales" to "Profit"), use a Parameter instead of a Filter.
- Floating vs. Tiled: In the dashboard view, set the filter to "Floating" if you want to place it in a specific corner without shifting the alignment of your charts.
Troubleshooting
If the filter is not appearing or not behaving as expected, try these steps in order:
- Check the Filter Shelf: Ensure the field is actually present on the Filters shelf. If it is not there, the "Show Filter" option will not work.
- Verify Data Types: If you cannot see the "Single Value (drop down)" option, check if the field is a dimension. If it is a measure, the drop down options will not be available.
- Refresh the Data Source: If new values have been added to your data but aren't appearing in the drop down, right-click your data source and select Refresh.
- Check Dashboard Layout: If the filter disappeared after you added a new object to your dashboard, check the "Layout" pane to see if it was pushed off-screen or hidden behind another container.
Frequently Asked Questions
Can I make a drop down filter that depends on another filter?
Yes. This is called a "Cascading Filter." To do this, add both filters to the view, click the menu arrow on the second filter, and select "Only Relevant Values." This ensures the second drop down only shows options that are valid based on the first selection.
Why is my drop down filter showing "None" or empty values?
This usually happens when your data contains null values. You can either filter out the nulls on the Filters shelf or use a calculated field to replace nulls with a label like "Unknown" before adding it to the filter.
How do I change the default selection of a drop down filter?
Go back to the worksheet, right-click the filter pill on the Filters shelf, select Edit Filter, and check the boxes for the values you want to be selected by default when the dashboard first opens.
Can I use a drop down filter for dates?
Yes, but date filters often default to a range slider. To get a drop down, you may need to change the date part (e.g., change "Exact Date" to "Year" or "Month") via the right-click menu on the filter pill.
Is there a limit to how many items can be in a drop down?
There is no hard technical limit, but performance degrades as the list grows. For lists with hundreds of items, consider using a "Wildcard Match" filter instead of a drop down to allow users to type their search.