---
schema_version: "1"
id: 0a52e0bbc0329e2c9e579c517312a1bce988e9ee63a8e3234079527fd2639d2a
title: Perfect Pivoting with Dates
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/public/desktop/dates_perfectpivot.md
canonical_url: https://help.tableau.com/v0.0/public/desktop/en-us/dates_perfectpivot.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 10b29751a0846336cd74943155c7a84eb2a3e15627e00f389683ad60f0128d52
description: Perfect pivot dates by placing different date levels on separate shelves at once.
---
[Skip to main content](#main-content)

# Perfect Pivoting with Dates

You can perfect pivot dates by placing different date levels on different worksheet shelves simultaneously. Place the date field on a variety of shelves and then select the desired date level from the fields' context menus.

For example, the following line chart displays years as column headers and then color-encodes the marks by quarter.

![A line chart that displays sales by quarter from 2012 to 2015.](/tableau/next/en-us/public/desktop/en-us/Img/dates_7.png)

You can separate the marks by month and by quarter as shown below.

![A line chart that shows sales by month and quarter from 2012 to 2015.](/tableau/next/en-us/public/desktop/en-us/Img/dates_8.png)