Tableau: Add a Filter to a Container (How-To)
In this article
You cannot drop a filter card directly into a dashboard container in Tableau Desktop, but you can achieve the same result by placing the filter on the worksheet, showing it on the dashboard, and then moving it into the container layout. The short version: build the filter on the sheet, click the filter card's drop-down and choose Apply to Worksheets > All Using This Data Source (or the specific sheet), then on the dashboard drag the filter card into the container's layout zone until the container highlights, and release. The filter card then sits inside the container and moves and resizes with it. This works in Tableau Desktop; Tableau Cloud and Server editing is more limited, and the exact menu labels can differ slightly by version and platform, so check the wording in your build.
What You'll Need
- Tableau Desktop (any current version) with a workbook open and at least one worksheet that has a filter applied.
- A dashboard containing a container (horizontal or vertical) or a plan to add one.
- The filter must already exist on the worksheet — you cannot create a brand-new filter from the dashboard layout pane.
- Basic familiarity with the dashboard layout pane on the left side of the screen, where containers and items are listed as a tree.
Step-by-Step
- Create or confirm the filter on the worksheet. Open the sheet that feeds the dashboard. Drag the field you want to filter by onto the Filters shelf. In the dialog that appears, choose the members to keep and click OK. If the filter already exists, just confirm it is on the Filters shelf.
- Show the filter card. Right-click the field pill on the Filters shelf and choose Show Filter. The filter card appears on the right side of the worksheet. Choose the card style you want (single value list, multiple values list, dropdown, slider, etc.) from the small drop-down at the top of the card.
- Apply the filter to the right worksheets. Right-click the filter card and open Apply to Worksheets. Pick All Using This Data Source if every sheet on the dashboard should share the filter, Selected Worksheets to choose specific sheets, or leave it on the default (only the current sheet). Getting this wrong is the most common reason a filter appears to do nothing on the dashboard.
- Go to the dashboard. Click the dashboard tab that contains the container. If you have not added a container yet, drag a Vertical or Horizontal container from the Objects list in the bottom-left of the dashboard pane onto the canvas.
- Show the filter on the dashboard. In the dashboard menu, open Dashboard > Show Dashboard Items (or use the drop-down on the filter card if it is already visible) and make sure the filter is shown. The filter card should now appear somewhere on the dashboard canvas.
- Drag the filter card into the container. Click and hold the filter card's title bar or grab handle, drag it over the container you want, and watch for the container to highlight with a blue or grey outline. Release the mouse button. The filter card is now a child of that container.
- Verify placement in the layout pane. Look at the layout tree on the left. The filter should now appear nested under the container, not as a floating item. If it shows as a separate top-level item, drag it again more precisely onto the container's edge or centre.
- Adjust sizing. Use the container's grip handles or the Size settings to give the filter card enough room. In a vertical container, the filter typically stacks above or below the chart; in a horizontal container, it sits beside it. Set the filter card to Fit > Entire View if it is being cut off.
- Test the interaction. Change a value in the filter card and confirm that every worksheet you applied it to updates. If one sheet does not respond, revisit step 3 and re-apply the filter to that sheet.
- Save the workbook. Save, then reopen to confirm the layout persists. Containers and their children are saved with the dashboard, so the filter should stay nested.
Common Mistakes
- Leaving the filter scoped to one sheet. By default a filter applies only to the sheet it was created on. On a multi-sheet dashboard this looks like a broken filter. Use Apply to Worksheets deliberately.
- Dropping the filter as a floating item. If you drag it onto empty canvas rather than onto the container, it becomes a floating object that does not move with the container. Check the layout tree to confirm nesting.
- Using a parameter instead of a filter. Parameters and filters behave differently; a parameter does not filter data unless a calculated field or filter action uses it. Do not expect a parameter control to filter rows by itself.
- Forgetting that filter actions and filter cards are different. A filter action is triggered by clicking marks; a filter card is a control the viewer changes directly. Adding a filter action does not put a card in the container.
- Overlapping containers. If two containers overlap on the canvas, the drop target can be ambiguous. Tidy the layout before dragging the filter in.
Tips
- Name your containers in the layout pane so you can tell them apart when dragging items in.
- Use a vertical container for a stack of filter cards above a chart, and a horizontal container for a filter sidebar beside a chart.
- Set the filter card style to Dropdown or Multiple Values (Custom List) when space is tight; sliders and long lists eat container width.
- If you need the same filter on several dashboards, apply it to all worksheets using the data source rather than recreating it per dashboard.
- Keep the number of filter cards per container small. Too many cards in one container squeezes the charts and makes the dashboard hard to read.
Troubleshooting
The filter card will not drop into the container. Make sure you are dragging by the card's title bar, not by its values, and hover directly over the container until it highlights. If it still refuses, remove any overlapping floating objects, then try again. As a fallback, delete the filter card and re-show it from Dashboard > Show Dashboard Items after the container is in place.
The filter is in the container but does nothing. Re-check Apply to Worksheets. Also confirm the worksheets in the container use the same data source — a filter cannot cross data sources.
The filter card is cut off. Select the card and set it to Fit > Entire View, or enlarge the container. In a fixed-size dashboard, switch to automatic sizing so the container can grow.
The layout looks wrong after reopening. Floating objects and fixed dashboard sizes are the usual culprits. Convert the dashboard to automatic sizing, re-nest the filter in the layout tree, and save again.
Editing in Tableau Cloud or Server. Web editing is more limited than Desktop; if the drag-and-drop behaves differently or an option is missing, make the layout change in Tableau Desktop and publish the finished dashboard.
Frequently Asked Questions
Can I create a new filter directly inside a dashboard container?
No. Filters are created on worksheets via the Filters shelf. The dashboard only displays and positions existing filter cards, so build the filter on the sheet first.
What is the difference between a filter card and a filter action?
A filter card is a control the viewer changes directly (dropdown, list, slider). A filter action fires when the viewer clicks or hovers over marks in a worksheet. They are configured in different places and serve different purposes.
Why does my filter only affect one chart on the dashboard?
The filter's scope is still set to the original worksheet. Right-click the filter card, open Apply to Worksheets, and choose all sheets using the data source or select the specific sheets you need.
Can a filter card be shared across multiple dashboards?
Yes, if the filter is applied to all worksheets using the same data source. Each dashboard that shows those worksheets can display the same filter card.
Does this work in Tableau Public?
Tableau Public uses the same Desktop authoring model for dashboards, so the container and filter card behaviour is the same. Publishing limits apply to data volume, not to layout features.
Can I put a parameter control in a container the same way?
Yes. Parameter controls are dashboard items like filter cards and can be dragged into a container using the same method, provided the parameter is shown on the dashboard first.