# Duration Data field

In a xViz Gantt Chart, it's possible to create Gantt Chart without an End Date column. Instead, we can use the project Duration to create the Gantt Chart.

<figure><img src="/files/cyfbgjIIHcXSl8HqBoyt" alt=""><figcaption><p><em>Image 1: xViz Gantt Chart created with using Duration data field</em></p></figcaption></figure>

We have a dataset with an Actual Start Date and Duration column, but it does not include an Actual End Date column, as shown in the image below:

<figure><img src="/files/M23tcfbAilvLhiBO5ApF" alt="" width="563"><figcaption><p><em>Image 2: Dataset</em></p></figcaption></figure>

Now, populate the Actual Start Date and Duration columns into the Start Date and Duration fields, respectively.

<figure><img src="/files/K09ZQWKXtCg0xn5KbvWH" alt="" width="180"><figcaption><p><em>Image 3: Populate Start Date and Duration field</em></p></figcaption></figure>

{% hint style="info" %}
The Duration field can only be populated if the End Date data field is empty.
{% endhint %}

In the final result, the Gantt Chart is created without using the End Date and is displayed in the image below.

<figure><img src="/files/cyfbgjIIHcXSl8HqBoyt" alt=""><figcaption><p><em>Image 1: xViz Gantt Chart created with using Duration data field</em></p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xviz.com/project-management/other-features/duration-data-field.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
