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

# 完善日期转置

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

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

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

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

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