---
schema_version: "1"
id: 1ab4ecec81f0b4b8833ef796b2067a922bdde96a0e2966bf75f7f5ea85718a8a
title: 运行动作
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/pro/desktop/actions_running.md
canonical_url: https://help.tableau.com/v0.0/pro/desktop/zh-cn/actions_running.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 983fe5d89da6ca86d24915048b8cb9c1fa7bb459d9fc625552d55452db936a48
description: Choose how users trigger actions in Tableau using Hover, Select, or Menu interaction methods.
---
[跳转到主要内容](#main-content)

# 运行动作

根据动作的创建方式，可使用以下三种方法之一运行动作：

- 悬停 - 通过将光标放置在视图的标记上运行动作。此选项适合在仪表板中突出显示和筛选动作。
- 选择 — 通过单击视图中的标记运行动作。此选项适合所有类型的动作。
- 菜单 — 在 Tableau Desktop 上，右键单击（在 Mac 上按住 Control 单击）视图中选定的标记，然后在上下文菜单中选择一个选项。在 Tableau Server 或 Tableau Cloud 上，左键单击（在 Mac 上单击）视图中选定的标记以查看上下文菜单。此选项适合筛选和 URL 动作。

<table class="TableStyle-Basic-NoBorder" style="text-align: left;border-top: none;border-bottom: none;border-left: none;border-right: none;mc-table-style: url('Resources/TableStyles/Basic-NoBorder.css');" cellspacing="0"><colgroup><col title="1" style="width: 26;" class="Column-Column1"><col title="2" style="width: 26;" class="Column-Column1"><col title="3" style="width: 49;" class="Column-Column1"></colgroup><tbody style="vertical-align: top;"><tr class="Body-Body1"><td class="BodyE-Column1-Body1"><span class="uicontrol">悬停</span></td><td class="BodyE-Column1-Body1"><span class="uicontrol">选择</span></td><td class="BodyD-Column1-Body1"><span class="uicontrol">菜单</span></td></tr><tr class="Body-Body1"><td class="BodyB-Column1-Body1"><img src="https://help.tableau.com/v0.0/pro/desktop/zh-cn/Img/actions2.png" style="text-align: center;" alt="具有两个点簇的散点图。"></td><td class="BodyB-Column1-Body1"><img src="https://help.tableau.com/v0.0/pro/desktop/zh-cn/Img/actions4.png" style="text-align: center;" alt="具有两个点簇和选择一个标记的光标的散点图。"></td><td class="BodyA-Column1-Body1"><img src="https://help.tableau.com/v0.0/pro/desktop/zh-cn/Img/actions1.png" style="text-align: center;" alt="包含产品名称、装运模式、利润和质量的工具提示。"></td></tr></tbody></table>

链接不是对每个工作表和标记都始终可见。因为链接映射到数据源中的特定字段，所以链接只在使用这些映射字段的工作表中才可见。例如，如果添加了同时使用“Latitude”和“Longitude”作为链接参数的超链接，则该链接只在视图中使用“Latitude”和“Longitude”的工作表中才可见。另外，链接只在包含相关值的标记和标题中才可用。