KNOWLEDGE BASE

Zooming-in on Map Selection


Published: 07 Jun 2017
Last Modified Date: 31 Oct 2017

Question

How to zoom-in on the area selected in a map.

Environment

Tableau Desktop

Answer

A Tableau map can automatically zoom-in on the user selection by setting up a Filter Action where the Target Sheet is the Source Sheet selected from the dropdown menu.
The attached example workbook uses the sample data set Superstore to demonstrate the following directions:
  1. Double-click "State" in the data pane.
  2. On the marks card, select Map in the dropdown menu.
    1. (Optional: Drag "State" to the Label Card)
  3. Navigate to Worksheet > Actions…
  4. In the Actions dialog, click Add Action > Filter…
  5. In the Edit Filter Action dialog, do the following:
    1. For "Source Sheets", check only Sheet 1.
    2. For "Run Action on", select Select.
    3. For "Target Sheets", select Sheet 1 in the dropdown menu.
    4. For "Clearing the selection will", select Show all values.
    5. Optional: For "Target Filters", select Selected Fields.
    6. Optional: Click Add Filter…
    7. Optional: In the "Add Filter" dialog, select State in both dropdown and click OK.
  6. Click OK to close all dialogs.

Additional Information

To view the above steps in action, see the video below: 
Did this article resolve the issue?