fbpx
Ynteractive logo

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold)

Step 1:

Create a Dates Table

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 1 screenshot

Step 2:

Join the dates table with your data on [Start Date] <= [Date] and [End Date] >= [Date]

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 2 screenshot

Step 3:

Drag [dates] to the column shelf

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 3 screenshot

Step 4:

Drag [Event] to the row shelf

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 4 screenshot

Step 5:

Choose Gantt Bar as the chart type

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 5 screenshot

Step 6:

Use this calculation for size. DATEDIFF(‘day’, [Start Date], [End Date])

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 6 screenshot

Step 7:

Finalize your view by making [Dates] continuous, dragging [Size] to size and adding color

Tableau: Create a Gantt Chart using Start & End Dates (Scaffold) - step 7 screenshot