KNOWLEDGE BASE

How to show only the color legend for the selected mark on the map


Published: 10 Nov 2022
Last Modified Date: 10 Nov 2022

Question

How to show only the color legend for the selected mark on the map

Environment

  • Tableau Desktop 

Answer

1. Move to the [Map] sheet in the Sample.twbx

2. Right click on [State/Province] and select [Create]>[Set]
User-added image
Select All and click on [OK] to save the change
User-added image

Set created as below
User-added image

3.  On the menu bar, click on [Worksheet] > [Action]

4. On the editing window, click on button [Add Action] > [Change Set Values]
User-added image

Set the set action as below
User-added image

5. Click on [OK] button to save the change
User-added image
User-added image

6. Add the set to filter card
User-added image
7. Select multiple marks on the map and check the color legend
User-added image

8. Click on the blank space to zoom out to the original map view.

 
Did this article resolve the issue?