How to Hide Card in Tableau

Cody Schneider••9 min read

Hiding a card in Tableau - like a filter or legend - is a simple way to clean up your dashboard and improve the user experience. Whether you're trying to save space or create an interactive "fly-out" menu, controlling when and where a card appears is a fundamental skill. This guide will walk you through exactly how to hide and show cards on both individual worksheets and full dashboards.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

What Are "Cards" in Tableau?

In Tableau, "cards" are the various control panes and informative legends that appear to the right or left of your main visualization on a worksheet. They provide context or interactivity for your view. If you've been working with Tableau for even a few minutes, you've already used them.

Common types of cards include:

  • Filter Cards: These allow users to interactively filter the data in the view. Examples include dropdown lists for categories, sliders for date ranges, or checkboxes for multiple selections.
  • Legend Cards: These explain the visual encodings in your chart. The most common are color legends (what each color represents), size legends (the scale of different circle sizes), and shape legends.
  • Parameter Cards: These provide a control for users to input a value into a parameter, which can then be used in calculations, filters, or reference lines to make the visualization dynamic.
  • Highlighter Cards: These let users quickly highlight specific marks in a viz based on a chosen dimension without filtering anything out.
  • Title, Caption, and Summary Cards: These are panes that show metadata and descriptive text about your worksheet.

All these cards are essential for creating useful worksheets, but on a busy dashboard, they can quickly create clutter. That's why learning to manage their visibility is so important.

Why Would You Want to Hide a Card?

Hiding cards isn't just about deleting something you don't need, it's a strategic design choice. A clean interface is an effective interface. Users can get overwhelmed when faced with a dozen different-looking filters at once, which distracts from the core insights in your data visualization.

Here are the most common reasons to hide a card:

  • Improve Dashboard Aesthetics: Sometimes, a cluttered dashboard is just plain ugly. Hiding less-critical legends or secondary filters can make your final product look more professional and polished. Too many boxes on the screen can feel chaotic and prevent your audience from focusing on the actual data story you're telling.
  • Save Valuable Real Estate: Screen space is a premium resource, especially on dashboards designed for mobile devices or specific screen resolutions. Hiding filters and parameters inside a collapsible container frees up space for more important visualizations.
  • Create an Interactive User Experience: Instead of showing all controls at once, you can place them in a pop-out or "fly-out" menu. A user can click a button (like a hamburger menu icon or a "Show Filters" button) to reveal the card container, make their selections, and then hide it again. This keeps the interface clean while preserving full functionality.
  • Tidy Up Individual Worksheets: Before you even get to a dashboard, you might want to hide cards on a specific worksheet view. This helps keep your workbook organized, especially if a particular worksheet is just one building block of a more complex final dashboard.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Method 1: Hiding Cards on a Worksheet

Let's start with the basics. Hiding a card on a single worksheet is straightforward. If you simply want to remove a legend or filter from your working view, you have a few easy options. This does not delete the filter or disassociate the legend, it just closes the card in the interface.

Imagine you have a bar chart showing Sales by Sub-Category, and you've added Region to the Color mark. Tableau automatically adds a color legend card. Here's how to hide it:

Option A: Use the Card's Dropdown Menu

This is the fastest method. Every card in Tableau has a small downward-pointing arrow (a caret) in its top-right corner.

  1. Hover over the title area of the card you want to hide (e.g., the "Region" color legend).
  2. Click the small dropdown arrow that appears.
  3. Select Hide Card from the menu. The card will instantly disappear.

Option B: Use the Worksheet Menu

If you've already hidden a card and want to bring it back, you can't click on it anymore. Or maybe you want a more centralized way to manage all your cards. The Worksheet menu is your best bet.

  1. Go to the top toolbar in Tableau Desktop.
  2. Click on Worksheet > Show Cards.
  3. You'll see a list of available cards. Those that are currently showing will have a checkmark next to them.
  4. Simply click on a checked item (like Color Legend) to toggle it off and hide the card. Click it again to bring it back.

This method is fantastic for restoring cards you've previously hidden or for turning multiple cards on or off in one go.

Method 2: Dynamically Hiding Cards on a Dashboard

The most powerful and common use case for hiding cards is on a dashboard. Here, you're not just hiding a card permanently - you're giving the end-user a button to show and hide a collection of cards on demand. This is often used to create a collapsible filter pane.

Tableau makes this incredibly easy with its "Show/Hide Button" feature for dashboard containers. The key is to place all the cards you want to hide into a single layout container first.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Step-by-Step Guide to Creating a Show/Hide Filter Pane

Follow these steps to create a clean, collapsible filter menu for your users. For this to work best, we'll use a floating container, which allows us to place it over other dashboard elements.

Step 1: Add a Floating Container to Your Dashboard

First, make sure you're on your dashboard tab. In the Dashboard pane on the left, you'll see a collection of objects you can add. We need a layout container.

  • Near the bottom of the Dashboard pane, change the Tiled/Floating toggle to Floating.
  • Drag a Vertical container from the Objects list onto your dashboard canvas. A gray, translucent box will appear. You can move it and resize it to where you want your filter pane to live (e.g., the top-right corner).

Step 2: Add Your Filters and Legends to the Container

Now, start adding all the cards you want to be part of your collapsible menu into this new container. You can add them from any of the worksheets you've already placed on the dashboard.

  • Select a worksheet on your dashboard that has the filter you need.
  • Click the worksheet's dropdown arrow and go to Filters or Legends.
  • Choose the filter or card you want to add. It will appear on the dashboard, likely as a tiled object.
  • Now, click the header of the filter card, hold, and drag it inside the floating vertical container you created. You'll know it's in the right place when the container's interior turns a shaded blue.
  • Repeat this for all the filters, parameters, and legends you want to group together. They will neatly stack up within your vertical container.

Step 3: Add the Show/Hide Button

This is where the magic happens. Once your container is populated with cards, Tableau can link a "button" directly to it.

  • Click on the new container so that it's selected (you'll see a blue border around it).
  • Click the dropdown arrow at the top of the selected container.
  • From the menu, select Add Show/Hide Button.

A new, small box with an 'X' icon will appear on your dashboard. This is your button! It is automatically linked to the container. The container itself and all the cards inside it will simultaneously disappear, leaving only the button.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 4: Configure and Test the Button

Now you can customize the button to look just right and test its functionality.

  • To Test It: In Tableau Desktop, you must hold the Alt key (or Option key on Mac) and click the button to see it in action. Doing this will toggle the container's visibility. It will appear and disappear as you click.
  • To Format It: Right-click the button and select Edit Button. A new dialogue box opens up, giving you fantastic control:

By configuring both the "Item Shown" and "Item Hidden" states, you can create a really intuitive experience. For example, show a "hamburger menu" icon to open the pane, and an "X" icon to close it. Once you publish the dashboard to Tableau Server or Public, users can just click the button normally - no Alt/Option key needed.

Tips for Better Card Management

  • Name Your Containers: In the Layout pane of your dashboard, you can double-click any object, including containers, to rename them. Naming your filter pane "Collapsible Filter Menu" makes it much easier to find and manage in a complex dashboard.
  • Mind Your Padding: Use the Outer Padding and Inner Padding settings in the Layout pane to give your cards some breathing room within the container. It makes the menu look much cleaner.
  • Consider Tiled Alternatives: While a floating container is best for an overlay menu, you can also use this feature on a tiled container. When hidden, the surrounding visuals will expand to fill the empty space. This is great if you want to dedicate a permanent section on the side of your dashboard to the menu.

Final Thoughts

Mastering card visibility is a key step in elevating your dashboards from functional to exceptional. Hiding cards on a worksheet helps keep your workspace tidy, while using a show/hide button on a layout container provides a clean, interactive experience for your users. It brings your design closer to what users expect from modern web applications - powerful functionality without a cluttered screen.

While skills like this are vital for building dashboards manually, the goal is always to get answers from data with less friction. This is exactly why we created Graphed. Instead of configuring containers and buttons, you can simply ask for what you need in plain English, like "Show me a dashboard of website conversions by U.S. state for the last quarter." We automate the entire visualization and reporting process by connecting directly to sources like Google Analytics, Shopify, and Salesforce, turning hours of building into a few seconds of asking.

Related Articles