P6 how-to▶ Video lessonP6 lessons · 02

Linear schedule from P6The five fields to add, and the one that is easy to get backwards

P6 has no chainage field, so a linear drawing reads its locations from fields someone added. Five fields set up in P6 on a fibre route, a summary band that changes nothing, the checks before export, and one overlap P6 cannot show.

Published Updated 12 min readP6 Professional 26.8

Plays from YouTube; nothing loads until you press play. Watch on YouTube (opens in a new tab)

The short answer

P6 has no chainage field, so before a schedule can be drawn as a linear schedule it needs five things added: Start Chainage and Finish Chainage as number user defined fields, a style code for the legend, a location code for the sections, and a flag for what belongs on the drawing. Type each start where the crew really starts, even when the finish is the smaller number.

Key takeaways

  1. Settle chainage zero, the direction and the units before typing a single number.
  2. Store chainages as Number fields: as text they sort and calculate wrongly.
  3. Start Chainage is where the crew starts, so a crew working back has a finish smaller than its start.
  4. A summary band is a level of effort activity tied SS and FF, with no successors: schedule and check that nothing moved.
Video chapters 18
  1. 0:00Two drawings, one schedule
  2. 0:17Welcome
  3. 0:44What a linear drawing needs from P6
  4. 1:32Settle the route first
  5. 1:58The teaching project
  6. 2:38Create the user defined fields
  7. 3:45Create the activity codes
  8. 6:02A layout for the coding
  9. 7:24Fill the chainages, the right way round
  10. 9:47Assign the style and the location
  11. 12:06The chart flag
  12. 12:35A summary band that changes nothing
  13. 14:51Check before you export
  14. 15:28Export the XER
  15. 15:47A quick look in Excel
  16. 17:55Mistakes to catch
  17. 18:17Check yourself
  18. 18:37Recap
01

Why does P6 need extra fields for a linear schedule?

Because nothing in a P6 activity holds a distance along a route. An activity has dates, durations, logic and float, and its name may say "Ch 12+000 to 8+300", but no field says where the work is. A linear schedule puts time on one axis and distance on the other, so it has to get the distance from somewhere, and the dependable place is fields someone added to the schedule.

Five things go in:

FieldKind in P6What it does on the drawing
Start ChainageUser defined field, NumberWhere the activity starts working
Finish ChainageUser defined field, NumberWhere it finishes; the pair also records the direction
Linear StyleProject activity codeThe legend, and whether the work draws as a sloping line, a block or a bar
LocationProject activity codeThe named sections along the top of the sheet
Show on LinearUser defined field, TextY for the activities that belong on the drawing
The split between fields and codes is a choice made for this lesson; the names are yours to choose too.

The teaching project is Fenwold Ridge Fibre Route, a fictional 12 km fibre route with 21 activities on one five-day calendar, from 7 June to 23 September 2027. Crew A trenches up the route from the exchange, with a drilled crossing under Holloway Creek. Crew B starts at the far end and works back towards the middle, with a bore under Kestle Road, and is on the longest path. The two crews meet at a splice chamber at chainage 6,000.

Practice file. Download the teaching project (XER, 18 KB) to follow along in P6: Fenwold Ridge Fibre Route, the fictional fibre route used here, before any field, code or flag is added, so every step can be done on it. Made in the P6 24.12 format and tested in P6 Professional 26.8. Import it with File › Import into a practice database or an EPS of its own: it brings in one project and one global calendar, plus the standard currency and OBS rows every P6 export carries. A P6 older than 24.12 refuses a newer XER; the usual workaround is to change the version number on the file's first line, which we have not tested.
02

What should you settle before typing a chainage?

Three answers, written down before anyone touches the schedule: where chainage zero is, which way chainage runs, and the units. On the fibre route, zero is the exchange at the west end, chainage runs towards the Ridgeway cabinet 12,000 m away, and the unit is metres, with nothing else in the same file. Every number typed later depends on these three answers, and changing one later means retyping all of them.

03

How do you create the chainage fields in P6?

Open Enterprise › User Defined Fields, make sure the subject area is Activities, and add three fields: Start Chainage and Finish Chainage with the Data Type Number, and Show on Linear as Text. The list belongs to the whole database, not to one project, so agree the names once for the whole company.

P6 User Defined Fields dialog for Activities, listing Finish Chainage with Data Type Number and Show on Linear with Data Type Text
Enterprise › User Defined Fields, subject area Activities. (1) Finish Chainage is a Number. (2) Show on Linear is Text. Start Chainage, also a Number, sits further down the list, which P6 sorts by title.

Number matters. Stored as text, chainages sort in the wrong order (12000 comes before 999) and nothing can do arithmetic with them. A P6 Number field keeps two decimal places, which is plenty for metres. Creating the fields changes nothing in the schedule: no date, no float.

04

How do you set up the style and location codes?

Open Enterprise › Activity Codes, choose Project so the codes belong to this project only, press Modify and add two code types: Location, and Linear Style with a maximum length of 10 characters so a value such as CROSSING fits. Then add the values.

  1. LocationS1, the exchange to Holloway Creek; S2, Holloway Creek to Kestle Road; S3, Kestle Road to the Ridgeway cabinet. The description is what a reader sees along the top of the sheet, so write it for a stranger.
  2. Linear StyleOne value per line of the legend, in the language of the site: survey, trench, chamber, crossing, cable, test, restore and milestone. Eight values.
P6 Activity Codes dialog with Project selected and the Linear Style code showing eight values: SURVEY, TRENCH, CHAMBER, CROSSING, CABLE, TEST, RESTORE and MILESTONE
(1) The eight Linear Style values, each with the description a reader will see in the legend. (2) Project scope, so no other project's code list grows.

A discipline code with a handful of values can serve as the style code. A cost code with ninety values cannot: it is not a legend.

To fill everything in comfortably, build a layout: in Columns add the two chainages after the finish date, then Linear Style, Location and Show on Linear, and keep Total Float at the end. In Group and Sort leave Show Group Totals off, because P6 adds up number fields on the WBS bands and a total of chainages means nothing. Save the layout (here as Linear coding, available to the current user). A layout lives in the P6 database: it does not travel inside an XER.

05

Which way round do the chainages go?

Start Chainage is where the crew starts; Finish Chainage is where it finishes. When a crew works back down the route, the finish is the smaller number, and that is how the direction is recorded. Crew B starts at the far end, so its first trench is 12000 to 8300, not 8300 to 12000.

ActivityStart ChainageFinish ChainageDates (2027)
FR-4000 Trench and lay duct1200083006 Jul – 29 Jul
FR-4010 Bore under Kestle Road8300820030 Jul – 5 Aug
FR-4020 Trench and lay duct820060006 Aug – 20 Aug
FR-4030 Install splice chamber6000600023 Aug – 25 Aug
Crew B on Fenwold Ridge Fibre Route (fictional): every finish is at or below its start.

The tidy habit is to put the low number first, and P6 accepts it without complaint. The dates stay right, the float stays right, and the drawing shows Crew B walking outwards from chainage 8,300, starting at a road crossing it will not reach for three weeks. Once the numbers are in, sort by Start Chainage: anything far from where you expect it is a typo, and Crew B's activities read backwards, because the crew works backwards.

P6 activity table with Start Chainage, Finish Chainage, Linear Style, Location, Show on Linear and Total Float columns filled for all 21 activities of the fibre route
The coded schedule. (1) Crew B works back from the far end, so each finish is at or below its start: 12000 to 8300, then 8300 to 8200, 8200 to 6000, and the chamber at 6000 twice. (2) Whole-route milestones get 0 and 12000. (3) Work with no place gets N and no chainages.
Your turn

A crew lays duct from chainage 4,800 back to 3,200. What goes in Start Chainage?

Show the answer

4800. The start is where the crew starts, so the finish (3200) is the smaller number and the line slopes back towards zero.

06

How do you code milestones, one-place work and work with no place?

Three kinds of row need a decision rather than a measurement. A milestone for the whole route, such as notice to proceed or the route in service, gets 0 and 12000 and draws as a dashed tie across the sheet. Work in one place, such as the splice chamber, gets the same number twice (6000 and 6000) and draws as a bar. Work with no place at all, such as mobilising, the road-crossing permit and the as-built records, gets no chainages and the flag N.

The location code has one rule of its own: give a section only to work that sits inside it. The cable pulls run 6,000 m across two sections, so their Location stays blank, as do the survey, the test and the restoration. One activity coded to the wrong section stretches that section out as far as that activity's chainages.

Where neighbouring rows share a value (the splice and the two terminations are all Chamber), set the first, select it and the rows below, and press Ctrl+E to fill down. The flag is fastest the same way: Y on the first row filled down the column, then N on the three rows with no place. They stay in the schedule and in the logic; they simply happen nowhere along the route.

07

How do you add a summary band without changing the schedule?

A summary band draws a group of activities as one block. Make it a Level of Effort activity in its own WBS branch, tied to the first activity it covers with a start-to-start relationship and to the last with a finish-to-finish relationship, and give it nothing else: no successors, no constraints, no resources, no cost. A level of effort activity takes its dates from those relationships.

  1. A branch for bandsProject › WBS: add a branch well away from the working schedule (here ZZ Linear schedule bands), so bands are easy to find and easy to delete.
  2. The activityAdd an activity in that branch; the New Activity wizard asks for an ID and a name (name it for the reader: LS - Crew B - Trench and duct) and the activity type, Level of Effort.
  3. Two predecessorsDetails pane › Predecessors › Assign: Crew B's first trench and its last trench. Both arrive as finish to start; change the first to SS and the second to FF.
  4. Its codingChainages 12000 to 6000, Show on Linear Y, and a Linear Style value of its own: BAND, described as Summary bands.
P6 Predecessors tab of the band activity FR-9000 with two predecessors, FR-4000 linked start to start and FR-4020 linked finish to finish
(2) The band FR-9000, a Level of Effort activity, before F9. (1) Its two predecessors: Crew B's first trench, start to start, and its last trench, finish to finish. No successors.

Then note the finish date, press F9 and look again. On the fibre route the band runs from 6 July to 20 August 2027, the finish is still 23 September, and every total float is what it was. That before-and-after is worth keeping: a band must be a passenger, never a driver. If anything moved, the band is wired in as logic, and that is an undisclosed change to the schedule.

P6 activity table after scheduling, showing the band FR-9000 from 06-Jul-27 to 20-Aug-27 coded BAND, and the as-built records still finishing on 23-Sep-27
After F9. (1) The band stretches from 06-Jul-27 to 20-Aug-27 over Crew B's work. (2) The last activity still finishes on 23-Sep-27. (3) Every total float is what it was before the band.
Name the style for what it is. Trestle Path for Excel draws a style as a block when its name says band or summary and most of its activities are level of effort; other drawing tools have their own rule, so check how yours tells a band from a front that travels.
08

What should you check before exporting the XER?

Check the coding the way a reviewer would. A filter called On the drawing with one line, Show on Linear equals Y, leaves only the activities that will be drawn: 19 on the fibre route, the band included. Every one should have both chainages and a style. Then look down the chainage columns for the work that runs against the chainage; here that is Crew B, the restoration that follows it, and the band. If your crews work both ways and every finish is bigger than its start, something has been tidied.

P6 Filter dialog named On the drawing with one line: Show on Linear equals Y
(1) A filter called On the drawing. (2) One line: Show on Linear equals Y. Applied, it leaves the 19 activities that will be drawn.

Schedule once more with F9 so the dates in the file are current, then File › Export, choose the Primavera PM (XER) format and this project only. The user defined fields and the project's activity codes travel inside the XER; the layout does not, which is why it was saved in the database.

09

What does the drawing show that P6 cannot?

Opened in Trestle Path for Excel, the exported file is drawn at once: 19 of 22 activities, in nine styles, banded by the three locations. The add-in found the fields it needed on its own and says how it read them: stations from Start Chainage to Finish Chainage, styles from Linear Style, only where Show on Linear is Y, three held out by the flag. Crew B's trench slopes back from the far end because 12000 was typed first; the crossings are blocks, the chamber and terminations are bars, the milestones are ties.

Linear schedule drawn in Excel from the exported XER: chainage 0 to 12,000 across, June to September down, Crew B's trench sloping back from 12,000 inside a blue summary band block
The drawing, read straight from the XER. (2) Crew B's work slopes back from chainage 12,000 inside the summary band, drawn as a block. (1) The cable pull going up from the chamber crosses the restoration crew coming down near chainage 6,460 on 26 August.

Its checks then show one thing P6 cannot: an overlap. The cable pull running up from the splice chamber (FR-5010) crosses the restoration crew coming down (FR-6015) near chainage 6,460 on 26 August 2027. In P6 both activities look fine; nothing is late and no relationship is broken. On the drawing, two crews are in the same stretch of verge on the same day, which is a conversation for before the look-ahead, not on site.

Trestle Path for Excel Checks panel listing one overlap: FR-5010 and FR-6015 at 6461.5 on 26-Aug-27, they cross
Checks › Overlaps: one, FR-5010 × FR-6015 at chainage 6461.5 on 26-Aug-27. Neither activity is late in P6.

The drawing is read from the schedule and never writes back to it. When the schedule is updated, export again and redraw. More on how the drawing is read, with a larger worked example, is in the linear schedules guide.

10

Which mistakes should you look for in anyone's coding?

  1. Direction tidiedEvery finish bigger than its start, on a job where crews work both ways.
  2. Chainages stored as textThey sort wrongly and cannot be calculated with.
  3. A legend made of a cost codeNinety values is not a legend.
  4. A band with a successor outside its branchIt can push a date.
  5. A field created and never filledMost of the schedule piles up on chainage zero.

Draw your own schedule

Once the fields are in, the linear schedules guide shows how the drawing is read from a P6 or MS Project file, and what it can and cannot show.

Read the linear schedules guide →
?

Questions

Can a linear schedule read the chainage from the activity names?

Some tools try, and the add-in used here reads names only as a last resort. Names change, are abbreviated and are typed by different people, so a number field is the dependable source. Keep the chainage in the name for people if you like, and in the fields for the drawing.

Do the fields have to be called Start Chainage and Finish Chainage?

No. Use your company's words (Station From, KP Start). Trestle Path for Excel proposed these fields on its own from the file, and its panel lets you change how the file is read if it picks the wrong one.

Why not store the chainage in an activity code?

Code values are text, so they sort as text and cannot be calculated with, and a route needs one value per distinct chainage. A Number user defined field holds any value with two decimal places.

Does a summary band change the critical path?

It should not. Tied SS to the first activity it covers and FF to the last, with no successors or constraints, a level of effort activity only follows. Prove it: note the finish and the floats, press F9, and compare. On the fibre route nothing moved.

Do the fields and codes travel in the XER?

Yes: the exported XER carries the user defined fields and their values and the project's activity codes and assignments. The layout does not; it stays in the P6 database.

About the numbers. Every figure comes from the teaching project Fenwold Ridge Fibre Route (fictional, 21 activities, one five-day calendar), scheduled in Primavera P6 Professional 26.8, and from its XER drawn in Trestle Path for Excel 1.1.0. The screenshots are frames of the video lesson's recordings.