top of page
Writer's pictureBernard Kilonzo

How to create collapsible filters in Tableau

Updated: Jun 17, 2022


how to create collapsible filters in tableau

Filters sometimes can occupy a lot of unnecessary space at the expense of views that can be more useful and insightful to dashboards users. One of the most powerful ways to deal with filters is making them collapsible.

This is what am talking about.

(The first view shows a dashboard with normal filters – which can’t be collapsed and therefore occupy space that can be used to present more data/insights to users)

tableau dashboard with normal filters

(The second view shows a dashboard with collapsible filters, with this dashboard users can expand the filters when filtering data and collapse them when viewing the dashboard).

Dashboard with filters collapsed.

tableau dashboard with collapsible filters

Dashboard with filters expanded.

So, how can one create collapsible filters in Tableau?

The secret to creating collapsible filters is using layout containers.

Let me show you how… first create a dashboard in tiled mode.

(In this case my dashboard contains two worksheets)

Under Layout pane, identify which container contains the filters.

selecting container bearing the filters in tableau

Change the background color of the container containing the filters.

changing the background color of a container

Change the container containing filters from tiled to floating.

change tableau layout container to floating mode

Add Show/Hide button on the now floating container.

adding show/hide button to tableau containers

Now the filters can be expanded and collapsed by clicking on the Show/hide button.

example collapsible filters in tableau

You can now add other customization such as a text button informing users that this is a filter.

I hope this was helpful to you. To receive more of the Tableau tips, kindly join our mailing list by subscribing below.

Thank you for reading.

Blog.png
bottom of page