A type of bar chart which illustrates a project timeline or schedule with resources, milestones and
Gantt charts are an indispensable part of project management - they show, at a glance, the overall timeline of a project, the current status & progress, and how tasks are assigned. Project managers and executives use them to track resource allocation, completion, and remaining work over time.
In Power BI, the Gantt chart becomes interactive: combined with other visuals on a report page, you can slice, filter, and drill into your schedule alongside related KPIs and get a firm handle on the future.
Key features
- Hierarchical tasks with a Parent role - collapse and expand individual groups, plus a single Collapse All / Expand All control
- Milestones with customizable shapes, colors and per-milestone settings that persist across sessions
- Group Tasks mode with three strategies for overlapping tasks: in one line, layered by overlap, or layered by legend
- Configurable timeline axis - Year / Quarter / Month / Week / Day / Hour / Minute / Second
- Optional Today line and one-click scroll-to-today
- Days off / weekends support with a configurable first day of the week - non-working days are excluded from duration
- Customizable legend, task labels, data labels, axis and resource text (fonts, colors, backgrounds, text wrapping)
- Drag-to-resize task labels column - adjust the width of the left-hand task name column on the fly, or set it numerically in the formatting pane. Useful when task names or hierarchical indents are long
- Customizable task bars - colors, borders, rounded corners, completion progress shading
- Rich tooltips with extra information fields, customizable display names, and report-page tooltip support
- Sort axis, multi-visual selection, keyboard focus animation and high-contrast mode
- Bookmarks and highlight support
Data requirements
- Task (text) - task name (required)
- Start Date (date field, not a date hierarchy) - when the task begins
- Duration (numeric) - task length in the selected unit (seconds, minutes, hours or days; configurable in formatting)
- End Date (date field, not a date hierarchy) - when the task ends
- %Completion (decimal, e.g. 0.85 = 85%) - optional progress overlay rendered inside each bar
- Legend (any field) - used to color task bars (for example, task type or owner)
- Resource (text) - shown next to or inside each bar
- Parent (text) - for hierarchical / grouped tasks; enables collapse/expand
- Milestones (any field) - places markers on the timeline at the corresponding Start Date
- Tooltips (any field, up to 3) - extra fields shown when hovering a task
You can describe each task's length either by Duration or by End Date - whichever your data provides (at least one is required). If both are present, End Date wins; if only Duration is present, the end is computed from Start Date + Duration in the configured unit; if both are missing, the task gets the default minimum duration.
This is an open source visual. Get the code from GitHub: https://github.com/microsoft/powerbi-visuals-gantt