Having been at the data school for a few weeks now, something really interesting that I’ve learnt is how to use containers to control the layout of your Tableau dashboard. That said, it is quite a learning curve. This blog post is to help those that want to get their objects to sit right on the page but are struggling to figure these containers out.
When using Tableau, containers can help you organize the objects on your dashboard by grouping them together and positioning them carefully. There are horizontal containers (group objects side by side) and vertical containers (stack objects on top of each other). You can use both to ensure your objects are arranged exactly how you want them to be.
Here are three tips that help me when I’m working with containers:
1. Sketch a plan for your containers first
Before even attempting to build the actual dashboard in Tableau, it’s always a good idea to draw a sketch. In this sketch however, you’re only going to sketch a skeleton of where your containers will go on your page. Use 2 colors (one to represent vertical containers and one to represent horizontal containers). Make sure you draw all containers in this plan, even those within other containers. You can refer back to this plan as you build your dashboard and simply follow the exact placement of the containers.
2. Refer back to the Item Hierarchy
The Item Hierarchy on the left-hand side of the Layout pane is really useful when it comes to using containers, especially if you get a little lost in the containers. It shows the order and nesting of objects on your dashboard. This allows you to identify which containers are within another, and which aren’t. If you’ve lost track of a container, this is a good place to check.
3. Use blank objects to control your layout
One trick we’ve been taught at the data school that I’ve found very helpful is using blank objects to control your containers. Use blank objects in your containers to force them to either be horizontal or vertical, and control them before you’ve put any of your objects in them yet.
Basically, just plan ahead and take it slow. It can be confusing to wrap your head around, but once it makes sense, using containers will make your Tableau dashboard building experience so much better.

