> For the complete documentation index, see [llms.txt](https://docs.xviz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xviz.com/project-management/hierarchy-and-additional-columns.md).

# Hierarchy and Additional Columns

<figure><img src="/files/6KPk6NOgixkY3sFOkKfm" alt=""><figcaption><p><em>Image 1: xViz Gantt Chart with hierarchical structure and additional columns/measures</em></p></figcaption></figure>

### **Building the Hierarchy**

* The xViz Gantt Chart provides a hierarchy view of the projects/tasks/sub-tasks (or any other such hierarchy)
* Such hierarchies can be expanded/collapsed by report end-users as well
* To build the hierarchy, drag the columns in the '**Task Name**' data field in the required order

<figure><img src="/files/HSgmnl4tmHyUXm7RBBp9" alt=""><figcaption><p><em>Image 2: Populate Task Name field</em></p></figcaption></figure>

### Additional Columns

* Other than the hierarchy building columns, additional columns can be added in the data section of the Gantt Chart
* Add categorical columns in the '**Display Categorie**s' data field
* Add numeric columns/measures in the '**Display Measures**' data field

<figure><img src="/files/SWclLYZPc7paq2OgULSo" alt=""><figcaption><p><em>Image 3: Populate Display Categories and Display Measures field</em></p></figcaption></figure>

{% hint style="warning" %}
Display categories field is limited to a maximum of 5 columns
{% endhint %}

{% hint style="info" %}
Values like Measures for Parent bars are internally calculated in the visual using the information of the child bars. Refer the documentation link for understanding the calculations - [Parent Level Calculation](/project-management/parent-level-calculations.md)
{% endhint %}
