Creating Legends that Apply to Multiple Sheets

Published: 07 Jul 2014
Last Modified Date: 12 Feb 2020


How to create a legend that applies to multiple sheets, ignoring filters applied to the individual sheets.


Tableau Desktop


The following instructions can be reviewed in the workbook attached below.

Step 1: Set-up the Views

  1. In Tableau Desktop, connect to Superstore sample data.
  2. On Sheet 1, double-click State.
  3. Drag State to the Colors card.
  4. On the Marks card, select Map.
  5. Right-click Sheet 1, and then select Duplicate Sheet.
  6. On Sheet 1, drag State to Filters, clear Washington, and then click OK.
  7. On Sheet 2, drag State to Filters, click None, select Washington, and then click OK.

Step 2: Create a Legend

  1. Select Worksheet > New Worksheet.
  2. Drag State to the Rows shelf.
  3. Drag State to the Color card.
  4. Verify that the colors on Sheet 3 match the colors on Sheets 1 and 2. If the colors do not match, on Sheet 3, click the drop-down menu on the Colors legend, and then select Edit Colors.
  5. Edit the colors as desired, and then click OK.

Step 3: Combine the Sheets on a Dashboard

  1. Select Dashboard > New Dashboard.
  2. Drag all sheets onto the dashboard.
  3. Open the drop-down menu for the State color legend associated with Sheet 1, and select Remove from Dashboard.
  4. To use Sheet 3 as a filter, on the dashboard, open the Sheet 3 drop-down menu, and select Use as Filter.
Did this article resolve the issue?