---
schema_version: "1"
id: 8a3f71c08ff9b817e7f077f6196eb4802aea5e6b5cd209b5109515c2ad87ea5e
title: 完善日期转置
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/pro/desktop/dates_perfectpivot.md
canonical_url: https://help.tableau.com/current/pro/desktop/zh-cn/dates_perfectpivot.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 4731e5e11e8e197d308892babc327cc98fde9f15b61059da02b39795a5a887c9
description: Perfect pivot dates by placing different date levels on separate shelves at once.
---
[跳转到主要内容](#main-content)

# 完善日期转置

您可通过将不同的日期级别同时放入不同的工作表功能区来完善日期数据透视。将日期字段放入多个功能区，然后从该字段的上下文菜单中选择所需的日期级别。

例如，下面的折线图将年度显示为列标题，然后按季度对标记进行颜色编码。

![显示 2012 年至 2015 年各季度销售额的折线图。](/tableau/current/zh-cn/pro/desktop/zh-cn/Img/dates_7.png)

可以按月份和按季度来区分标记，如下所示。

![显示 2012 年至 2015 年按月和按季度划分的销售额的折线图。](/tableau/current/zh-cn/pro/desktop/zh-cn/Img/dates_8.png)