---
schema_version: "1"
id: ea64b117dad9d5804d024daf1eb0481d83cbd6e23d43a16a38c79267e08f0d20
title: Tableau 工作区
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/public/desktop/environment_workspace.md
canonical_url: https://help.tableau.com/current/public/desktop/zh-cn/environment_workspace.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 07016545f89b1e3c9895d843586f631ff62493eef431535e29233be15cd3d9f6
description: "Reference of the Tableau workspace: menus, toolbar, Data pane, cards, shelves, and sheets."
---
[跳转到主要内容](#main-content)

# Tableau 工作区

Tableau 工作区包含菜单、工具栏、“数据”窗格、卡和功能区以及一个或多个工作表。表可以是工作表、仪表板或故事。有关仪表板或故事工作区的详细信息，请参见[创建仪表板](https://help.tableau.com/current/public/desktop/zh-cn/dashboards_create.htm)或[故事工作区](https://help.tableau.com/current/public/desktop/zh-cn/story_workspace.htm)。

## 工作区区域

![显示 Tableau 工作区各部分的 Tableau 工作簿。 ](/tableau/current/zh-cn/public/desktop/zh-cn/Img/environ_workspace1.png)

**A.** 工作簿名称。工作簿包含工作表，后者可以是工作表、仪表板或故事。有关详细信息，请参见[工作簿和工作表](https://help.tableau.com/current/public/desktop/zh-cn/environ_workbooksandsheets.htm)。

**B.**[卡和功能区](https://help.tableau.com/current/public/desktop/zh-cn/buildmanual_shelves.htm) - 将字段拖到工作区中的卡和功能区，以将数据添加到您的视图中。

**C.**[工具栏](#ToolbarButtons) - 使用工具栏访问命令以及分析和导航工具。

**D.**[视图](https://help.tableau.com/current/public/desktop/zh-cn/view_parts.htm) - 此区域为工作区中的画布，您可以在其中创建可视化项。

**E.** 单击此图标转到“开始”页面，您可以在其中连接到数据。有关详细信息，请参见[开始页面](https://help.tableau.com/current/public/desktop/zh-cn/environment_startpage.htm)。

**F.**[侧栏](#SideBar) - 在工作表中，侧栏区域包含[“数据”窗格](https://help.tableau.com/current/public/desktop/zh-cn/datafields_understanddatawindow.htm)和[“分析”窗格](https://help.tableau.com/current/public/desktop/zh-cn/environ_workspace_analytics_pane.htm)。

**G.** 单击此选项卡可转到“数据源”页面并查看数据。有关详细信息，请参见[“数据源”页面](https://help.tableau.com/current/public/desktop/zh-cn/environment_datasource_page.htm)。

**H.**[状态栏](#StatusBar) - 显示有关当前视图的信息。

**I.** 工作表标签 - 标签表示工作簿中的每个工作表。这可能包括工作表、仪表板和故事。有关详细信息，请参见[工作簿和工作表](https://help.tableau.com/current/public/desktop/zh-cn/environ_workbooksandsheets.htm)。

若要直观地了解工作区，请观看[在 Tableau Desktop 中导航工作区](https://www.tableau.com/zh-cn/learn/tutorials/on-demand/navigating-workspace-tableau-desktop?playlist=509089)培训视频（3 分钟）。

[返回顶部](#top)

* * *

## Tableau 工具栏按钮参考

创建或编辑视图时，可以使用视图顶部的工具栏执行常见操作。

在 Tableau Desktop 中，您可以通过选择“窗口”\>“显示工具栏”来隐藏或显示 Tableau 工具栏。

下表说明了每个工具栏按钮的功能。某些按钮并非在所有 Tableau 产品中都有。另请参见[Tableau Desktop 中的视觉提示和图标](https://help.tableau.com/current/public/desktop/zh-cn/tips_visualcues.htm)。

<table class="table--plain"><colgroup><col style="width: 20%;"><col style="width: 80%;"></colgroup><thead><tr><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;">工具栏按钮</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;">描述</th></tr></thead><tbody><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/toolbar_startpage.png" alt="Tableau 图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><b>Tableau 图标：</b>导航到开始页面。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/environment_startpage.htm" class="xref">开始页面</a>。</p><p class="note"><b>注意</b>：仅限 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/undo.png" alt="指向左边的箭头。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">撤消</span>：反转工作簿中的最新操作。您可以无限次撤消，返回到您上次打开工作簿时，即使是在保存之后也是如此。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/inspectdata_undo.htm" class="xref">撤消和重做</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/redo.png" alt="重做图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">重做</span>：重复通过<span class="uicontrol">“撤消”</span>按钮撤消的上一次操作。您可以重做无限次。</td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/save.png" alt="“保存”图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">保存到 Tableau Public</span>：保存对工作簿所做的更改。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/publish_workbooks_tableaupublic.htm" class="xref">使用 Tableau Public 保存工作簿</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/connect_datasource.png" alt="“连接数据源”图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">新建数据源</span>：在 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 中，打开<span class="uicontrol">“连接”</span>窗格，您可以在其中创建新连接或打开已保存的连接。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/basicconnectoverview.htm" class="xref">连接到数据</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/runquery.png" style="text-align: center;" alt="“刷新”图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">运行更新</span>：运行手动数据查询，以便在关闭自动更新后用所做的更改对视图进行更新。使用下拉菜单更新整个工作表，或只使用筛选器。</p><p class="note"><b>注意</b>：仅限 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/newsheet.png" alt="“新建工作表”图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">新建工作表</span>：创建新的空白工作表，使用下拉菜单创建新的工作表、仪表板或故事。</p><p>有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/environ_workbooksandsheets.htm#Create" class="xref">创建新工作表、仪表板或故事</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/copysheet.png" style="text-align: center;" alt="“复制工作表”图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">复制</span>：创建一个包含当前工作表中所包含的相同视图的新工作表。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/environ_workbooksandsheets.htm#Duplicate" class="xref">复制工作表</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/clear.png" style="text-align: center;" alt="“清除”图标，显示一个角上带有 x 的条形图小图像。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">清除</span>：清除当前工作表。使用下拉菜单清除视图的特定部分，如筛选器、格式设置、大小调整和轴范围。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/environ_swap.png" style="text-align: center;" alt="“交换轴”按钮。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">交换</span>：交换<span class="uicontrol">“行”</span>功能区和<span class="uicontrol">“列”</span>功能区上的字段。始终使用此按钮来交换<span class="uicontrol">“隐藏空行”</span>和<span class="uicontrol">“隐藏空列”</span>设置。</td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/sort_ascend.png" style="text-align: center;" alt="“升序排序”图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">升序排序</span>：根据视图中的度量，以所选字段的升序来应用排序。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/sortgroup_sorting_computed_howto.htm" target="_blank" class="xref">在可视化项中对数据进行排序</a>。</td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/sort_descend.png" alt="降序排序图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">降序排序</span>：根据视图中的度量，以所选字段的降序来应用排序。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/sortgroup_sorting_computed_howto.htm" target="_blank" class="xref">在可视化项中对数据进行排序</a>。</td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/webauthoring_totals_button.png" alt="合计图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">合计</span>：您可以计算视图中数据的总计和小计。从以下选项中选择：<ul><li><p><span class="uicontrol">显示列总计</span>：添加一行，显示视图中所有列的合计。</p></li><li><p><span class="uicontrol">显示行总计</span>：添加一列，显示视图中所有行的合计。</p></li><li><p><b>行合计移至左侧</b>：将显示合计的行移至交叉表或视图的左侧。</p></li><li><p><b>列合计移至顶部</b>：将显示合计的列移至交叉表或视图的顶部。</p></li><li><p><span class="uicontrol">添加所有小计</span>：如果在一列或一行中有多个维度，则在视图中插入小计行和列。</p></li><li><p><span class="uicontrol">移除所有小计</span>：移除小计行或列。</p></li></ul><p class="note"><b>注意</b>：仅限 Tableau Server 和 Tableau Cloud。在 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 中，单击<span class="uicontrol">“分析”</span>&gt;<span class="uicontrol">“总计”</span>。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/calculations_totals_grandtotal_turnon.htm" class="xref">在可视化项中显示合计</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/highlight.png" alt="荧光笔图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">突出显示</span>：启用所选工作表的突出显示。使用下拉菜单上的选项定义突出显示值的方式。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/actions_highlight_toolbar.htm" class="xref">突出显示工具栏按钮</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/group.png" alt="显示回形针和下拉箭头的组图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">组成员</span>：通过合并所选值来创建组。选择多个维度时，使用下拉菜单指定是对特定维度进行分组，还是对所有维度进行分组。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/sortgroup_groups.htm" class="xref">通过将数据分组来纠正数据错误或合并维度成员</a>。</p><p class="note"><b>注意</b>：仅限 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>。在 Tableau Server 和 Tableau Cloud 中，使用工具提示上的<span class="uicontrol">“组成员”</span>按钮来创建组。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/marklabels.png" alt="“标记”卡上的添加标签图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">显示标记标签</span>：在显示和隐藏当前工作表的标记标签之间切换。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/annotations_marklabels_showhideworksheet.htm" class="xref">显示、隐藏标记标签以及设置标记标签的格式</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/allstate_pin.png" alt="带有图钉图标的图钉图片。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">固定轴</span> - 在仅显示特定范围的锁定轴以及基于视图中的最小值和最大值调整范围的动态轴之间切换。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/formatting_editaxes.htm" class="xref">编辑轴</a>。</p><p class="note"><b>注意</b>：仅限 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/webauthoring_format.png" alt="设置工作簿格式图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">设置工作簿格式</span>：打开<span class="uicontrol">“设置工作簿格式”</span>窗格，通过在工作簿级别而不是在工作表级别指定格式设置，在工作簿内的每个视图中更改字体和标题的外观。</p><p class="note"><b>注意</b>：仅限 Tableau Server 和 Tableau Cloud。在 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 中，单击<span class="uicontrol">“设置格式”</span>&gt;<span class="uicontrol">“工作簿”</span>。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/formatting_workbook.htm" class="xref">在工作簿级别设置格式</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/fit_allstate.png" alt="标有“标准”的下拉菜单。"><p><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/webauthoring_fit_icon.png" alt="“适合”图标。"></p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">适合</span>：指定如何在窗口内调整视图大小。选择“标准适合”、“适合宽度”、“适合高度”或“整个视图”。<b>注意</b>：此菜单在地理地图视图中不可用。</p><p>根据可视化项的类型，<span class="uicontrol">“单元格大小”</span>命令具有不同效果。若要访问 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 中的<span class="uicontrol">“单元格大小”</span>菜单，请单击<span class="uicontrol">“设置格式”</span>&gt;<span class="uicontrol">“单元格大小”</span>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/worksheet_windows.png" alt="“显示/隐藏卡”图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">显示/隐藏卡</span>：在工作表中显示和隐藏特定卡。在下拉菜单上选择要隐藏或显示的每个卡。</p><p>在 Tableau Server 和 Tableau Cloud 中，您只能显示和隐藏<span class="uicontrol">“标题”</span>、<span class="uicontrol">“说明”</span>、<span class="uicontrol">“筛选器”</span>和<span class="uicontrol">“荧光笔”</span>卡。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/pres_mode.png" alt="显示演示图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">演示模式</span>：在显示和隐藏视图（即功能区、工具栏、<span class="uicontrol">“数据”</span>窗格）之外的所有内容之间切换。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/environ_workspace_reorganize.htm#Presentation_Mode" class="xref">重新组织工作区</a>。</p><p class="note"><b>注意</b>：仅限 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/webauthoring_download_icon.png" alt="下载图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">下载</span>：使用<span class="uicontrol">“下载”</span>下面的选项捕获视图的某些部分以在其他应用程序中使用。<ul><li><span class="uicontrol">图像</span>：在新的浏览器标签中将视图、仪表板或故事显示为图像。</li><li><span class="uicontrol">数据</span>：在新浏览器窗口中使用两个标签显示视图中的数据：<span class="uicontrol">摘要</span>（显示视图中所显示的字段的聚合数据）和<span class="uicontrol">基础</span>（显示可视化项中所选标记的基础数据）。如果新窗口未打开，则您可能需要禁用浏览器的弹出窗口阻止程序。</li><li><span class="uicontrol">交叉表</span>：将可视化项中所选标记的基础数据保存为 CSV（逗号分隔值）文件，然后可在 Microsoft Excel 中打开该文件。</li><li><span class="uicontrol">PDF</span>：在新的浏览器窗口中将当前视图作为 PDF 打开。从该窗口中，您可以将视图保存为文件。如果新窗口未打开，则您可能需要禁用浏览器的弹出窗口阻止程序。</li></ul><p class="note"><b>注意</b>：仅限 Tableau Server 和 Tableau Cloud。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/environ_showmebutton.png" alt="工具栏上的“智能显示”按钮。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><span class="uicontrol">智能显示</span>： 通过突出显示最适合数据中的字段类型的视图类型来帮助您选择视图类型。最适合您的数据的建议图表类型周围会显示一个橙色轮廓。有关详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/buildauto_showme.htm" class="xref">使用“智能显示”启动视图</a>。</td></tr></tbody></table>

[返回顶部](#top)

* * *

## 显示和隐藏侧栏（“数据”窗格）

在编辑工作表时，侧栏包含“数据”窗格和“分析”窗格。根据要在视图中进行的操作，您可能会看到不同的窗格（“数据”、“分析”、“故事”、“仪表板”、“布局”、“格式”）。关于侧栏最重要的一点是您可以在工作区中展开和折叠此区域。

**若要在 Tableau Desktop 中隐藏侧栏**，请单击侧栏中的折叠箭头。

![折叠箭头图标可隐藏 Tableau Desktop 上的侧边栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/sidebar_hide_desktop.png)

**要在 Web 上隐藏侧栏**，请单击侧栏中的折叠箭头。

![折叠箭头图标可隐藏 Tableau Cloud 上的侧边栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/sidebar_hide_onweb.png)

**若要在 Tableau Desktop 中显示侧栏**，请单击工作区左下方中的展开箭头（在状态栏中）。

![展开箭头图标可显示 Tableau Desktop 上的侧边栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/sidebar_show_desktop.png)

**要在 Web 上显示侧栏**，请单击侧栏中的展开箭头。

![展开箭头图标可显示 Tableau Cloud 上的侧边栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/sidebar_show_onweb.png)

[返回顶部](#top)

* * *

## 状态栏信息

状态栏位于 Tableau 工作区的底部。它显示菜单项说明以及有关当前视图的信息。例如，下面的状态栏显示该视图拥有 143 个标记，在 3 行和 12 列中显示。它还显示视图中所有标记的 SUM(Sales) 为 $2,297,201。

![位于 Tableau 工作区底部的状态栏。 ](/tableau/current/zh-cn/public/desktop/zh-cn/Img/environ_status2.png)

可以通过选择“窗口”\>“显示状态栏”来隐藏状态栏。

有时，Tableau 会在状态栏的右下角显示警告图标，以指示错误或警告。下面是可能的警告图标及其含义。

<table class="table--plain"><colgroup><col style="width: 20%;"><col style="width: 80%;"></colgroup><thead><tr><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;">警告图标</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;">描述</th></tr></thead><tbody><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/datasource_cancelindicator.png" style="text-align: center;" alt="取消指示符图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">取消查询指示符</span>：在取消多个查询时，会出现一个指示器，显示有多少查询仍在数据库上运行并在使用资源。</p><p>在 Tableau 中取消某一查询时，将会通知数据库停止处理该查询。不过，某些数据库并不支持取消<span class="ph">（MS Excel 和 MS Access）</span>。如果您取消使用这些数据源类型之一的查询，则 Tableau 会放弃该查询，但该查询仍将在后台运行并使用资源。当您放弃查询时，工作簿的右下角会显示一个指示符，显示仍在运行的查询数 <img alt="描绘状态栏中显示的取消查询指示符的图形。" src="https://help.tableau.com/current/public/desktop/zh-cn/Img/datasource_cancelindicator.png" style="text-align: center;">。随着后台中查询的完成，该数字将减小。监视正在运行的查询的数目并控制该数字不会过高十分重要，否则，您会发现 Tableau 和基础数据库的性能将会下降。</p><p class="note"><b>注意：</b>取消查询后，文本、Microsoft Excel 和 Microsoft Access 数据源可能会暂时不可用，因为在内部执行了锁定。您可能必须一直等到放弃的查询完成才能重新连接。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/precision_warning_icon.png" style="text-align: center;" alt="警告图标。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">精度警告</span>：某些字段在数据库中的精度超过 Tableau 可以建模的精度。将字段添加到包含比 Tableau 可以建模的精度更高的精度值的视图时，状态栏右下角会显示一个警告图标 <img alt="描绘状态栏中显示的精度警告的图形。" src="https://help.tableau.com/current/public/desktop/zh-cn/Img/precision_warning_icon.png" style="text-align: center;">。</p><p>例如，数据库中的某个值可能有 22 个小数位，但 Tableau 仅支持最多 15 个小数位。将该字段添加到视图中时，将会看到精度警告。如果您单击该警告，则可看到更多详细信息，包括视图中截断的小数位数。</p><p>请记住，Tableau 中显示的数据的精度始终首先取决于数据库中的数据。如果数据库中的值超出 15 个小数位，则将它们添加到视图中时，值将被截断，并且显示精度警告。</p><p class="note"><b>注意</b>：关系数据库的数据提取总是使用 Hyper 双精度类型，从不使用 Hyper 数字类型。因此，如果您创建关系数据库的数据提取，则只能获得 15 位精度。您可以写入 Hyper API 并使用数字类型获得最多 18 位精度。如需了解相关信息，请参见 Hyper API 文档中的<a href="https://help.tableau.com/current/api/hyper_api/en-us/reference/sql/datatype-numeric.html" target="_blank">数字类型</a>。</p></td></tr><tr><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><img src="https://help.tableau.com/current/public/desktop/zh-cn/Img/environ_workspace_statusbar4.png" style="text-align: left;" alt="标有“1 unknown”（1 项未知）的灰色按钮。"></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;"><p><span class="uicontrol">特殊值指示符</span>：如果您的数据包含空值、未知地理位置或对数轴上包含负值或零值，这些值将通过一个指示器显示在视图的右下角。单击该指示器可查看有关如何处理这些值的选项。若要了解有关此指示器以及如何处理这些值的详细信息，请参见<a href="https://help.tableau.com/current/public/desktop/zh-cn/datafields_specialvalues.htm" class="xref">处理 Null 值和其他特殊值</a>。</p></td></tr></tbody></table>

[返回顶部](#top)

* * *

## 此部分中的其他文章