Before You Begin

This tutorial shows you how to create a Gantt chart to visualize a project schedule in Oracle Analytics.

Background

A Gantt chart is a bar chart visualization that uses start and end periods for tasks within a project or operation schedules.

The Oracle Analytics Gantt chart includes start and stop periods for primary and secondary ranges. You can use the primary range for the planned start and stop periods for the tasks in a project. You can use the secondary range for actual tasks start and end periods.

The primary and secondary range values require date data types. You can use derived dates such as quarter, month, week, day of the year, or day of the month as range values.

What Do You Need?

Create a Dataset

In this section, you create a dataset to use for the Gantt chart.

  1. Sign in to Oracle Analytics.
  2. On your home page, click Create and click Dataset.
  3. In Create Dataset, click Drop data file here or click to browse, select project_schedule.xlsx, and then click Open.
  4. In Create Dataset Table from project_schedule.xlsx, keep project_schedule as the dataset Name and click OK.
  5. Click Save. In Save Dataset As, enter project_schedule and click OK.


    Description of project_schedule_jd.png follows
    Description of the illustration project_schedule_jd.png

Create a Gantt Chart

In this section, you create a workbook using the project_schedule dataset for the Gantt chart.

  1. Click Create Workbook. Close the Insights panel.
  2. Click Visualizations Vis pane icon. In the Visualizations pane under the Bar section, select and drag Gantt Gantt chart icon to the canvas.


    Description of empty_gantt.png follows
    Description of the illustration empty_gantt.png
  3. Click Data Data pane. In Data, select and drag Task to Category in the Grammar panel.
  4. In Data, select and drag Plan Start to Start Time in Primary Range in the Grammar panel.
  5. In Data, select and drag Plan End to End Time (or Duration) in Primary Range in the Grammar panel.


    Description of planned_duration.png follows
    Description of the illustration planned_duration.png

Add Actual Project Duration

In this section, you add the actual time for the task's start and end periods and the task status for the project.

  1. In Data, select and drag Actual Start to Start Time in Secondary Range in the Grammar panel.
  2. In Data, select and drag Actual End to End Time (or Duration) in Secondary Range in the Grammar panel.
  3. In Data, select and drag Task to Color in Secondary Range in the Grammar panel.
  4. In Data, select and drag Status to Color to in Secondary Range in the Grammar panel.


    Description of project_actual.png follows
    Description of the illustration project_actual.png
  5. Click Save Save icon. In Save Workbook, enter a Name and click Save.

Learn More