How to build self-updating gantt charts on Notion
Build self-updating Gantt charts in Notion by creating a database with start date, duration, and end date properties, then using timeline view with formula-based calculations. The chart automatically updates when you modify task dates or dependencies.
Prerequisites
- Basic Notion database knowledge
- Understanding of date properties
- Familiarity with database formulas
- Project management fundamentals
Step-by-Step Instructions
Create the Project Database
/database and selecting Table. Add these properties: Task Name (Title), Start Date (Date), Duration (Days) (Number), End Date (Formula), Status (Select), and Assignee (Person). This database will serve as the foundation for your Gantt chart.Configure the End Date Formula
dateAdd(prop("Start Date"), prop("Duration (Days)"), "days"). This automatically calculates the end date based on start date and duration, creating the self-updating functionality.Add Dependency Tracking
if(empty(prop("Depends On")), prop("Start Date"), max(prop("Depends On").prop("End Date"))).Create the Timeline View
Customize Visual Properties
Set Up Progress Tracking
dateBetween(prop("End Date"), now(), "days"). This shows how many days are left and updates automatically as time passes.Enable Automatic Updates
Create Dashboard Views
Common Issues & Troubleshooting
Timeline view not showing all tasks
Check your timeline date range settings and ensure all tasks have valid Start Date and End Date values. Expand the timeline view date range by clicking the date selectors at the top.
End date formula returning errors
Verify that your Start Date property contains actual dates, not empty values. The formula dateAdd() requires a valid date input. Add an if() statement to handle empty dates: if(empty(prop("Start Date")), "", dateAdd(prop("Start Date"), prop("Duration (Days)"), "days")).
Dependencies not displaying correctly
Ensure the Depends On relation property is properly configured to link to the same database. Check that dependent tasks have their Start Date set after their prerequisite task's End Date.
Timeline bars appear too short or overlapping
Adjust the timeline zoom level using the controls at the top right of the timeline view. Change the Timeline by setting from days to weeks or months for longer projects, and verify that task durations are realistic numbers.