How to Trim Activity ID or Activity Name in Primavera P6

When we think about trimming data, most people export to Excel and clean it there. However, Primavera P6 provides a built-in tool to trim text directly within the application using Global Change.

For example, let’s say you want to remove the first character (e.g., the letter “A”) from all Activity IDs. Here’s how:

1

Step 1: Open Global Change

  1. Go to Tools → Global Change.
  2. Click New to create a new rule.

2

3

Step 2: Configure the Rule

In “Then” section, In Parameter select “Activity ID”, In Parameter/Value select “RightString(Parameter,#)”

4

Then click on that field to adjust “Parameter” value to “Activity ID” and “#” value to “4”. This means Primavera will keep the last 4 characters of the Activity ID and remove the rest.

5

Click on “Change” button.

6

P6 will show you a preview of the change. Click on “Commit Changes” button.

7

Result

The first character (or any unwanted part) is removed from the Activity ID.
This method can also be applied to Activity Name and other text fields.

8

Key Benefit

Using Global Change for trimming saves time and avoids exporting data to Excel for manual cleanup.

2 thoughts on “How to Trim Activity ID or Activity Name in Primavera P6

Add yours

Leave a comment

Create a website or blog at WordPress.com

Up ↑