Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Controlling Specific Tableau Map Marks Layers and Keeping Other Layers Visible

게시 일자: Aug 20, 2026
전제 조건
A Tableau workbook with a map containing multiple marks layers.
과업

How to control the visibility of specific Marks layers while keeping other layers permanently visible when adding multiple layers of geographic data to a map.

A Tableau View area displaying the Layer Control panel. The Layer 1 check box and its Lock icon under Marks are highlighted in a red box, with a red text note reading "Check box cannot be cleared."

단계

The ability to keep specific layers permanently visible is not currently built into the product, including the default Marks Layer control. 
To control the visibility of specific layers while fixing others, create parameters and calculated fields to construct a custom layer control on the dashboard.

For example, the steps to control the display of Layer2 while keeping Layer1 always visible are as follows:

  1. For each marks layer whose visibility you want to control, create a parameter named Layer 2 Visibility or similar.
    1. Select Boolean for the Data type.
    2. Set the Aliases to Show for True and Hide for False.
      A screenshot of the Tableau Desktop "Edit Parameter" dialog. Parameter Name: "!Layer 2 Visibility", Data type: "Boolean", and Current value: "True". Aliases are configured as "Show" for True and "Hide" for False.    
  2. Create calculated fields for each field placed on the original marks layer.
    1. Each calculated field should display the original value only when the parameter is set to True (Show).
    2. Replace [Field] with each individual field used in the layer (e.g., fields on Color, Detail, etc. on the Marks card).
      IF [Layer 2 Visibility] = True THEN [Field] END
  3. Add a new marks layer using the created calculated field. Place the calculated field on the Marks card in the same way as the original layer.
    1. Drag a geographic field into the view. Notice the Add a Marks Layer control becomes available in the top left corner of the view.
    2. Drop the geographic field on the Add a Marks Layer control. 
    3. Add fields other than geographic fields to the Marks card in the same way as the original layer.
  4. Hide the original marks layer after enabling Add to Zoom Extent, so that the map extent does not change based on the layer visibility settings.
    A screenshot of a Tableau worksheet showing the Marks card for a map visualization. The dropdown menu for "Layer 2 for size adjustment" is open, highlighting the checked option Add to Zoom Extent in blue.   
  5. Select Map > Map Options > Clear Layer Control.
  6. Right-click (Control-click) the parameter Layer 2 Visibility in the Data pane and select Show Parameter.
Knowledge 기사 번호

005388601

 
로드 중
Salesforce Help | Article