MHierarchy Techniques in Tableau
Master data organization and visualization hierarchy techniques
Hierarchies are level-based arrangements of data, much like a flowchart. They group data fields into different layers to help organize your sidebar and reduce data overwhelm.
Key Benefits of Using Hierarchies
Organization
Group related fields together to reduce clutter in your sidebar. Transform multiple scattered fields into organized, collapsible groups.
Visual Control
Expand or collapse information in visualizations with simple clicks. No need to manually drag multiple related fields each time.
Efficiency
Quick access to your most important field groups. Rename hierarchies with special characters to float them to the top of your sidebar.
Creating a Hierarchy Using the Dropdown Method
Select Your Base Field
Right-click on the field you want to start with, such as 'Country' for geographic data.
Create Hierarchy
Navigate to the dropdown menu, find 'Hierarchy' and click 'Create Hierarchy'. Name it appropriately (e.g., 'Location' rather than 'Country').
Add Related Fields
Drag related fields like State, City, and Postal Code underneath your base field in logical order.
Hierarchy Creation Methods
| Feature | Dropdown Method | Drag and Drop Method |
|---|---|---|
| Steps Required | 3-4 steps | 2 steps |
| Best For | New hierarchies | Quick grouping |
| Control Level | High | Medium |
Rename your most important hierarchies with special characters like dashes or asterisks (e.g., '1-Products', '2-Location'). These will automatically float to the top of your sidebar for quick access.
Using Drag and Drop Method
Identify Related Fields
Locate fields that belong together, such as Category and Subcategory for product data.
Drag to Combine
Simply drag one field on top of the other. Tableau automatically creates a hierarchy when you release.
Rename and Organize
Give your new hierarchy a meaningful name like 'Products' and optionally add prefixes for top positioning.
Common Hierarchy Examples
Hierarchy Best Practices
Arrange fields in natural drill-down order for intuitive navigation
Avoid using individual field names as hierarchy names to prevent confusion
Too many levels can make hierarchies cumbersome rather than helpful
Use naming conventions with special characters for quick access
Hierarchy Implementation
The purpose of hierarchy is to help you organize the sidebar so you don't have as many fields. This will eventually help you with your visualizations.
This lesson is a preview from our Tableau Course Online (includes software) and Tableau Certification Online (includes software & exam). Enroll in a course for detailed lessons, live instructor support, and project-based training.
Key Takeaways