---
schema_version: "1"
id: b5d6156cf1e37fd525c262447adcbad1bdc764fd968437d67a81e4bbaba5beb8
title: Create Hierarchies
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/pro/desktop/qs_hierarchies.md
canonical_url: https://help.tableau.com/v0.0/pro/desktop/en-us/qs_hierarchies.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 08419dcf56a5a2bcef8a8f3313502f5e574a8ea726abbaecd607fda28a3e0545
description: Create hierarchies to quickly drill up and down between field levels in a viz.
---
[Skip to main content](#main-content)

# Create Hierarchies

When you connect to a data source, Tableau automatically separates date fields into hierarchies so you can easily break down the viz. You can also create your own custom hierarchies. For example, if you have a set of fields named Region, State, and County, you can create a hierarchy from these fields so that you can quickly drill down between levels in the viz.

## Create a hierarchy

To create a hierarchy:

1. In the **Data** pane, drag a field and drop it directly on top of another field.  
    
    **Note:** When you want to create a hierarchy from a field inside a folder, right-click (control-click on a Mac) the field and then select **Create Hierarchy**.
2. When prompted, enter a name for the hierarchy and click OK.
3. Drag additional fields into the hierarchy as needed. You can also re-order fields in the hierarchy by dragging them to a new position.
    
    ![Create hierarchies in the data pane.](/tableau/next/en-us/pro/desktop/en-us/Img/hierarchies1.gif)
    
    ## Drill up or down in a hierarchy
    
    When you add a field from a hierarchy to the visualization, you can quickly drill up or down in the hierarchy to add or subtract more levels of detail.
    
    To drill up or down in a hierarchy in Tableau Desktop or in web authoring:
    
    - In the visualization, click the **+** or **\-** icon on the hierarchy field.
        
        ![Create a hierarchy in the columns shelf.](/tableau/next/en-us/pro/desktop/en-us/Img/hierarchy1.gif)
        
        When you are editing or viewing the visualization on the web, you have the option of clicking the **+** or **\-** icon next to a field label.
        
        ![Create a hierarchy in the viz.](/tableau/next/en-us/pro/desktop/en-us/Img/hierarchy2.gif)
    
    ## Remove a hierarchy
    
    To remove a hierarchy:
    
    - In the **Data** pane, right-click (control-click on a Mac) the hierarchy and select Remove Hierarchy.
        
        The fields in the hierarchy are removed from the hierarchy and the hierarchy disappears from the Data pane.