How to Build a Gantt Chart in QlikView: 7-Step Guide [2026]
A Gantt chart can make a QlikView project dashboard far easier to read. It shows when tasks start, how long they last, and where schedules overlap. But here's the truth: QlikView may not present a ready-made Gantt chart option in every setup. That can leave you wrestling with bar-chart settings, date values, and confusing timelines.
The good news? You can build a practical Gantt-style view with a stacked bar chart. You’ll need task names, start and end dates, a calculated duration, and a hidden offset that positions each bar on the timeline. I’ll walk you through seven steps, explain how to format the chart, and show you how to handle milestones and common errors. By the end, you’ll have a clear schedule view that you can tailor to your project.
How to Build a Gantt Chart in QlikView: Seven Steps
In QlikView, you can create a Gantt-style chart by stacking a hidden start offset with a visible task-duration bar. The offset places each task at the right point on the timeline; the duration shows how long it runs.
For example, a task that starts five days after the project begins and lasts three days needs an offset of five and a duration of three. A stacked horizontal bar displays the duration segment after the offset.
1. Prepare your task details
Start with one row per task. Include a task name, start date, end date, and any details you want to show, such as owner, status, or workstream.
Keep the date fields consistent. If one value appears as 2026-01-12 and another as 12/01/2026, QlikView may interpret them differently depending on your regional settings.
A small example might look like this:
| Task | Start date | End date | Owner |
|---|---|---|---|
| Plan requirements | 2026-01-05 | 2026-01-08 | Alex |
| Build prototype | 2026-01-09 | 2026-01-16 | Sam |
| Review results | 2026-01-15 | 2026-01-19 | Jordan |
The overlap between “Build prototype” and “Review results” is useful: it shows how the timeline can reveal concurrent work, not just task order.
2. Confirm that QlikView recognizes the dates
QlikView needs dates it can calculate with, rather than text that merely looks like a date. In the load script, use a date interpretation function when the date format needs clarification.
For example, when values use a year-month-day format, an expression such as Date#(StartDate, 'YYYY-MM-DD') can interpret the value as a date. Use Date() when you also want to format a recognized date for display.
Check several records after loading. Confirm that a task starting January 9 appears later than one starting January 5. If those dates sort alphabetically, correct the date interpretation before building the chart.
3. Calculate each task’s duration
Duration is the number of days between the task’s start and end dates. For a chart dimensioned by task, you can calculate it with this expression:
RangeMax(0, Max(EndDate) - Min(StartDate))
QlikView stores recognized dates as numeric values, so subtracting one date from another gives the difference in days. RangeMax(0, ...) prevents a negative bar if an end date is earlier than its start.
Decide whether your schedule treats the end date as inclusive. If a task runs from January 5 through January 8 and you count both dates, add one to the difference. Apply the same rule consistently across the chart.
4. Create a start offset from the project’s earliest task
The offset tells the stacked bar how far to begin after the project baseline. Use the earliest start date across all tasks as that baseline:
Min(StartDate) - Min(TOTAL StartDate)
With task as the chart dimension, the first Min(StartDate) returns the task’s start date. The TOTAL qualifier lets the second expression find the earliest start date across the chart, rather than only within the current task.
The first task therefore has an offset of zero. A task starting six days later has an offset of six. If you prefer a fixed baseline, replace the overall minimum with a specific project start date.
5. Add a horizontal stacked bar chart
Create a bar chart and set its orientation to horizontal. Add the task field as the dimension, then add two expressions in this order:
Start offset:
Min(StartDate) - Min(TOTAL StartDate)Duration:
RangeMax(0, Max(EndDate) - Min(StartDate))
Turn on stacking so the duration expression follows the offset expression. The first segment creates space before the task; the second segment becomes the visible bar.
Use the chart’s expression settings to make the offset segment transparent or match it to the background. Keep the duration segment visible. If the offset remains colored, the chart will look like a timeline of long bars beginning at zero.
6. Set the timeline scale and sort the tasks
Set the horizontal axis to cover the project’s full span, with a little room at either end. Since the chart uses day offsets, label the axis clearly, such as “Days after project start.” You can also display the baseline date nearby.
Sort tasks by start date so the schedule reads from early work to later work. If your task dimension does not sort reliably, use a numeric sort expression such as Min(StartDate).
Keep task names readable by allowing enough vertical space. For a long project, show a sensible number of task rows and use filters for owner or workstream rather than shrinking every label.
7. Add useful details and validate the result
Add expressions or chart text to expose details such as owner, status, and exact start and end dates. A clear tooltip can tell a viewer that “Build prototype” runs from January 9 to January 16 without crowding the chart.
Test the view with a task that starts on the baseline, a later task, an overlapping task, and a task with a missing or reversed date. Confirm that each bar starts and ends where expected.
Finally, select a workstream or owner and check that the bars update correctly. If the baseline shifts with selections, decide whether that behavior is useful or whether you want a fixed project start date.
What the Offset-and-Duration Method Shows
A Gantt chart combines task names with a time scale, so you can compare task timing at a glance. In QlikView’s stacked-bar approach, the offset and duration expressions work together to create that visual effect.
The offset segment is a positioning aid, not task work. Once it is hidden, the visible duration bar appears to begin on the correct day. This is similar to placing an object on a shelf with a spacer: the spacer sets its position, but it isn’t part of the object.
Because the timeline represents day offsets, it may not behave like a calendar axis with month names and date ticks. For a small project, a baseline label and day-based axis can be enough. If viewers need a traditional calendar scale, consider whether an available chart extension in your QlikView environment better fits that requirement.
Improve Readability Without Hiding Schedule Risks
Use color to communicate a specific status or workstream, not decoration. For instance, you might use distinct colors for “Planned,” “In progress,” and “At risk,” while keeping the task bars easy to distinguish.
Include a legend if color carries meaning. If status is not consistently maintained, color can mislead viewers, so make sure the team has a clear update habit.
Milestones usually have no duration, which means they may appear as zero-length bars. You can show them with a separate symbol or an additional chart expression, depending on the chart configuration. Add a legend entry so viewers know that a marker represents a milestone rather than a missing task.
Keep the Timeline Useful as a Project Changes
A schedule view needs regular updates to stay trustworthy. When a task moves, update its start or end date and check whether dependent work still makes sense. A bar chart can display dates clearly, but it will not automatically make a project plan accurate.
For example, if a review task depends on a prototype, a prototype delay may affect the review date. Show dependencies in a separate field or companion view if the chart alone cannot explain why tasks are linked.
For large schedules, use filters for owner, workstream, or status. A view with 150 task bars may technically fit on a screen, but a filtered view of 20 relevant tasks is much easier to use in a planning meeting.
Troubleshoot Common Chart Problems
If the bars begin at unexpected positions, verify that the date fields are numeric dates and that the offset uses the overall baseline you intended. If the chart becomes empty after a selection, check whether the selected records leave a valid baseline and duration.
If tasks appear in the wrong order, use a date-based sort expression rather than relying on task names. If bars extend backward or show negative values, inspect tasks whose end date precedes their start date and confirm your inclusive-day rule.
If the horizontal scale starts at zero and stretches across a large range, check that the chart uses day offsets rather than raw QlikView date serial values. The axis should represent the project span, not thousands of days before the project began.
Project Coordination Around QlikView Schedules: ONES.com
ONES.com is a unified project management and knowledge management platform powered by ONES Assistant. ONES Project supports project planning, while ONES Wiki helps teams organize shared working knowledge; the products are sold separately.

A QlikView Gantt chart can help you inspect timing, while a project workspace can help your team coordinate the work behind that schedule. The two serve different roles: keep the analytical view in QlikView and manage project activity in the workspace your team uses.
Core capabilities that support project work
Pain: A plan changes, but assignments and tasks are hard to track. ONES capability: ONES Project offers project planning and task management. Result: Teams can organize work and follow task progress alongside schedule reviews.
Pain: A project workflow does not match how your team approves work. ONES capability: Custom workflows and fields let teams shape processes around their needs. Result: Work can move through relevant stages without relying on a generic task pattern.
Pain: Sprint work is difficult to coordinate with a larger project timeline. ONES capability: Sprint management supports iterative planning. Result: Teams can manage short delivery cycles while keeping broader work visible.
Pain: Repetitive actions consume time during project administration. ONES capability: Automation can handle configured routine workflow actions. Result: Teams can reduce manual follow-up for repeatable steps.
Pain: Project leads need a quick view of progress. ONES capability: Built-in reporting supports project tracking. Result: Teams can review progress and identify areas that need attention.
Pain: Teams depend on separate plugins for common project functions. ONES capability: Core project management capabilities are available in ONES Project. Result: Teams can reduce plugin reliance while retaining flexible workflows and reporting.
Pain: An organization needs to choose where its project environment runs. ONES capability: Deployment options include Cloud, On-Premise, Private Cloud, and Air-gapped. Result: Teams can select a deployment approach that fits their operating requirements.
Pain: Teams want a Jira alternative without giving up familiar workflow patterns. ONES capability: ONES Project supports Jira-compatible workflows, with feature parity between cloud and self-hosted versions. Result: Teams can evaluate a different platform while retaining familiar ways of organizing work.
Application scenarios
A software team can use QlikView to review release timing and overlapping work, then manage tasks and sprint activity in ONES Project. The QlikView chart remains the schedule view; the project platform supports day-to-day coordination.
A regulated organization can assess On-Premise, Private Cloud, or Air-gapped deployment options for its project environment. Separately, ONES Wiki can help the team maintain shared guidance about planning practices and project processes.
Common Challenges and Practical Solutions
Dates load as text: The chart sorts dates alphabetically or calculates unexpected durations. Interpret date strings with the correct format in the load script, then verify the values before building the chart.
Offset bars remain visible: The chart looks like two colored bars instead of a single timeline bar. Check the expression order and make the offset expression transparent or the same color as the background.
The timeline scale is confusing: Viewers cannot tell how day offsets relate to calendar dates. Label the axis with its baseline, show the baseline date, and expose exact dates in a tooltip or chart text.
Zero-duration tasks disappear: A milestone with identical start and end dates may have no visible width. Represent milestones with a separate marker or another clearly labeled visual indicator.
The chart is crowded: Too many task rows make labels and bars difficult to inspect. Filter by owner, workstream, or status, and show the details relevant to the current planning question.
FAQs
Can I build a Gantt chart in QlikView without an extension?
Yes. A stacked horizontal bar chart can create a useful Gantt-style view using a start offset and task duration. This approach works well when a day-based timeline meets your needs. If you require calendar-style ticks, richer dependency lines, or specialized milestone behavior, check whether a suitable extension is available in your QlikView environment.
Why do I need a hidden offset expression?
The offset expression creates the space before each task’s visible duration bar. Without it, stacked bars begin at the same origin, so the chart cannot show different task start times. Hide the offset visually, but keep it in the chart calculation. The duration expression then appears at the correct relative position on the timeline.
How should I handle tasks that end on the same day they start?
First decide whether your schedule counts the start and end dates inclusively. If it does, a same-day task can have a duration of one day after adding one to the date difference. If you use elapsed days, its duration is zero. For important milestones, use a separate marker so they remain visible either way.
Can the chart show task owners and status?
Yes. You can expose task details in tooltips, labels, or color expressions, depending on your chart configuration. For example, show the owner and exact date range in a tooltip, then use bar color to communicate status. Keep the visual encoding consistent and provide a legend so viewers understand what each color means.
Conclusion
To build a Gantt-style chart in QlikView, prepare reliable task dates, calculate durations and offsets, then display them as a stacked horizontal bar. Hide the offset segment, label the timeline clearly, and test the chart with overlapping tasks, milestones, and missing dates.
A schedule view is most useful when people can understand it and keep it current. Start with a small set of tasks, validate the date logic, and add detail only when it answers a real planning question. That gives you a practical QlikView timeline without turning the chart into a crowded project map.