Gantt Chart in Tableau

The Tableau Gantt Chart is to display the duration of an activity or an event visually. In this article, we will show you how to create a Gantt Chart in Tableau with an example.

Gantt Chart in Tableau Example

There are multiple ways of creating a Gantt Chart in Tableau

Create a Gantt Chart in Tableau – First Approach

For this Tableau Gantt chart demo, we are going to use the Data Source that we created in our previous article.

Gantt Chart in Tableau 1

To create a Tableau Gantt Chart First, Drag and Drop the Country Name, and Color fields from Dimensions Region to Rows Shelf. Please visit Data Labels in Tableau Reports article to understand the Tableau Data Source.

Gantt Chart in Tableau 2

Next, Drag and Drop the Order Date from Dimensions Region to Columns Shelf.

Gantt Chart in Tableau 3

Let me change this Text Label to Gantt Chart. To do so, Please expand the Show Me window and select the Gantt Chart from it

Gantt Chart in Tableau 4

Once you choose the Gantt from Show Me window, Gantt Chart will be displayed as shown in the below screenshot.

Gantt Chart in Tableau 5

Let me change the Order date value from Year to Week Number present in each year to see the detailed information

Gantt Chart in Tableau 6

Now you can see the Gantt chart that is displaying Weeks information

Gantt Chart in Tableau 7

Next, we have to specify the Gantt size. So, Drag and Drop the Order Quantity from Measures region to Size Card present in Marks Shelf.

Gantt Chart in Tableau 8

Now you can see the Gantt Chart (I mean, Proper Gantt chart)

Gantt Chart in Tableau 9

Create a Gantt Chart in Tableau – Second Approach

First, Drag & drop the Country Name, Color fields from Dimensions to Rows Shelf, and Order Date in Dimensions section to Columns Shelf. Next, Let me alter the Order date value from Year to Week Number present each year to see the detailed information

Gantt Chart in Tableau 10

It will automatically generate a Tableau Gantt Chart for you.

Gantt Chart in Tableau 11

If this is not the case then, Please change the Marks field from Automatic to Gantt Chart

Gantt Chart in Tableau 12

Next, let me add Color Dimension to Color Card and Order Quantity to Size Card.

Tableau Gantt Chart 13

Generally, we use the Count Function for Order Quantity. So let me change the Default Sum to Count. To do so, click the down arrow of SUM(Order Quantity) to open a drop-down menu. Here, Select Measure (Sum) and then Select Count

Tableau Gantt Chart 14

By highlighting specific block will show you the information about that block

Tableau Gantt Chart 15

This time we will add Table Calculation that will calculate the Order Quantity Difference. To add, please click on the Order Quantity and select the Quick Table Calculation option and then select the Difference as shown below

Tableau Gantt Chart 16

And you can see the result of this Gantt chart

Tableau Gantt Chart 17

Hover Over a block to see the information.

Tableau Gantt Chart 18