Creating a Custom Duration Variance View in Microsoft Project

Hello, fellow Microsoft Project users! In this blog post article, I’ll guide you through the process of crafting a custom Duration Variance view in Microsoft Project. Understanding Duration Variance is crucial during the Execution stage of your projects.

So, imagine a task whose Duration was scheduled to take 5 days, but that task ended up taking 8 days. That creates 3 days of Duration Variance, meaning that the task took 3 days longer than planned to complete. So, let’s dig into creating your custom view to effortlessly track and analyze Duration Variance.

Companion Articles in This Variance Series (Recommended Order): This tutorial is part of my four-part series on tracking schedule and cost variance in Microsoft Project. You can jump straight into the steps below, or follow these companion articles in order if you are setting up your variance views from scratch:

Creating a Custom Duration Variance View in Microsoft Project

YouTubeWatch the Step-by-Step Video

Prefer to follow along visually? This video demonstrates the exact steps you’ll learn below using Microsoft Project Desktop.

At a Glance: Creating a Custom Duration Variance View in Microsoft Project:

  • Why You Need a Custom View: Microsoft Project’s built-in Variance table only displays Start Variance and Finish Variance, leaving out Duration, Baseline Duration, and Duration Variance.
  • Step 1 (Create the _Duration Table): Copy the built-in Variance table via View -> Tables -> More Tables, name it _Duration, and replace the Start/Finish Variance columns with Duration, Baseline Duration, and Duration Variance.
  • Step 2 (Create the Custom View): Copy the Detail Gantt view via View -> Other Views -> More Views, name it Duration Variance, and link it to your new _Duration table.
  • Step 3 (Copy to Global.mpt): Use File -> Info -> Organizer to copy both your custom Duration Variance view and _Duration table into Global.mpt so they are available in every future project.

Duration Variance: Understanding View Elements

Before diving into creating the custom view, let’s discuss the elements that comprise a View in Microsoft Project. Every View consists of the following elements:

  • Screen: The Screen displays the information shown on the right side of the View.
  • Table: The Table contains the columns of data shown on the left side of the View.
  • Group: The Group organizes rows into groups with similar attributes or characteristics.
  • Filter: The Filter displays or highlights specific rows that meet your filtering criteria.

Steps to Create Custom View

Following is the 4-step process that I personally recommend you use for creating your own custom Views in Microsoft Project:

  1. Create a custom Table with the columns you want to display in the custom View.
  2. Optionally create a custom Filter to display or highlight the rows shown in your custom View.
  3. Optionally create a custom Group to organize the rows in your custom View into groups.
  4. Create your new custom View with the Screen you want, your custom Table, your custom Filter (if needed), and your custom Group (if needed).

For the custom Duration Variance view, I want this View to use a Tracking Gantt screen, a custom Table with Duration-related columns, and a custom Filter to display or highlight tasks with a Duration Variance value greater than 0 days. Here is how to create this custom View:

Creating a Custom Table

Complete the following steps to create the custom Table:

  1. Right-click on the “Select All” button and then select the “More Tables” item on the menu.
  2. In the More Tables dialog, select the “Work” table and then click the “Copy…” button. By the way, the easiest way to create a new Table is to copy an existing Table and then to modify the copy.
  3. Enter a name for the new table, such as “_Duration”. I like to use the underscore character for the name of custom objects to signify that they are custom objects.
  4. Replace every Work-related field with its corresponding Duration-related field. For example, replace the Work field with the Duration field, the Baseline Work field with Baseline Duration, etc.
  5. Remove column labels by selecting each “Title” value (other than Task Name) and pressing the “Backspace” so you don’t accidentally delete the row.
  6. Click the “OK” button to create the new custom Table.
  7. Test the new Table by selecting it and clicking “Apply.”
  8. Edit the custom Table, as needed, until it looks the way you want it to look.

Creating a Custom Filter

Complete the following steps to create the custom Filter:

  1. Click the “View” tab to display the View ribbon.
  2. Click the “Filter” pick list and select the “More Filters” item.
  3. In the More Filters dialog, click the “New…” button to start creating the filter.
  4. Enter a name for the new filter, such as ” _Duration Variance > 0 Days”.
  5. Set the filter criteria to display tasks where Duration Variance is greater than 0 days.
  6. Click the “Save” button to create the new custom Filter.
  7. Test the new filter by selecting and applying it to view tasks with longer-than-planned durations.

Creating the New View

Complete the following steps to create the new custom View:

  1. At the left end of your Task ribbon, click the “Gantt Chart” pick list button and select the “More Views” item on the menu.
  2. In the More Views dialog, select the “Tracking Gantt” view and then click the “Copy…” button.
  3. Enter a name for the new custom View, such as “_Duration Variance”.
  4. In the View Definition dialog, click the “Table” pick list and select your custom Table.
  5. Leave the “Group” setting to the “No Group” value.
  6. Click the “Filter” pick list and select your custom Filter.
  7. Select the “Highlight filter” checkbox option.
  8. Click the “OK” button to create the custom View.
  9. Apply the new custom View and notice the tasks that are highlighted in yellow are the tasks with Duration Variance greater than 0 days.

Next Step: Add a Percent Duration Variance Column to Your View

Now that you have built your custom _Duration table and Duration Variance view, you can take your schedule analysis one step further by adding a custom % Dur Var column with color-coded stoplight Graphical Indicators! Follow these related guides to complete your variance toolkit:

Wrapping Up

Congratulations! You’ve mastered the art of crafting a custom Duration Variance view in Microsoft Project.

If you have questions, please add them in the “Leave a Reply” section below. Or if you watched the video, add your questions or comments there. Please subscribe to my YouTube channel and leave “Likes” if you like the videos.

If you would like to have a formal class on using Microsoft Project, here is a link for my classes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? Please solve:Captcha