CAUSE
Cause 1: Invalid Field Comparison
This error message may occur if the field selected in the
Value(s) column is not a valid comparison for the field you are filtering on in the
Field Name column. For example, you receive the error message if you create the following filter:
|
| Baseline Finish | equals | [Start1] |
This occurs because the
Start1 field is not a valid value to test against the
Baseline Finish field. However, the
Finish1 field (for example) is a valid value to test against the
Baseline Finish field.
Cause 2: Invalid Field Comparison with the Constraint Date field
This behavior also occurs if you create a filter that compares the
Constraint Date field to a finish date-related field, such as the
Baseline Finish field.
You can only compare the
Constraint Date field to the following:
- Start date-related fields, such as the Baseline Start field
- Created, Date1 through Date10, or Resume fields
- Specific dates that you type in the Value(s) column in the Filter Definition dialog box
Cause 3: Incorrect Data Type
This error message may also occur if you type an incorrect data type in the
Value(s) column for the field you are filtering against in the
Field Name column. For example, this error message occurs if you filter on the
Finish field, and type text in the
Value(s) column, rather than a date.
WORKAROUND
Workaround for Cause 1
Choose
Value(s) fields that are valid for the field that you are filtering on. In general, if you are filtering on a finish-type field (
Finish,
Actual Finish,
Baseline Finish, and so on), use a finish-type field for the
Value(s) column of the filter. The same concept applies to start-type fields.
In addition, date fields must filter on date values; number fields must filter on numbers. Text fields can filter on dates, numbers and text.
To view which fields are valid for you to use in the
Value(s) column for the field you are filtering against in the
Filtering column, follow these steps:
- On the View menu, click More Views.
- In the Views list, click Task Sheet if you are going to filter on tasks, or click Resource Sheet if you are going to filter on resources.
- Click Apply.
- Insert a column in the table for the field that you are going to filter on.
- On the Project menu, point to Filtered for, and then click AutoFilter.
- In the field that you are going to filter on, click the AutoFilter drop-down arrow (the arrow near the column name), and then click Custom.
- To view the list of valid fields, click the drop-down arrow in the box to the right of the comparison operator box.
For more information about inserting columns in a table, click
Contents and Index on the
Help menu, click the
Index tab in Project Help, type the following text
and then double-click the selected text to go to the
"Add a column to a table" topic. If you are unable to find the information you need, ask the Office Assistant.
Workaround for Cause 2
To create a filter that compares the
Constraint Date field to finish date-related fields, copy the values of the finish-related field and paste them in the
Date1 field. Then, create a filter that compares the
Constraint Date field to the
Date1 field. To do this, follow these steps:
NOTE: If the
Date1 field is already in use, you can use any of the additional date fields
Date2 through
Date10.
Copy the Finish-Related Field Values and Paste Them in the Date1 Field
- On the View menu, click Gantt Chart.
- Click in any column on the table portion of the Gantt Chart.
- On the Insert menu, click Column.
- In the Field Name list, click the finish-related field that you want to compare to the Constraint Date field. Click OK.
- On the Insert menu, click Column.
- In the Field Name list, click Date1 (optionally you can use Date2 through Date10). Click OK.
- Click the header of the finish-related column to select the column.
- On the Edit menu, click Copy Cell.
- Click the header of the Date1 field.
- On the Edit menu, click Paste.
NOTE: After you copy and paste the finish-related field values, you can hide the finish-related and
Date1 fields. Select the header of the column, and on the
Edit menu, click
Hide Column.
Additionally, the
Date1 fields are not updated when finish-related field values change. Repeat the previous steps anytime the field values change.
Create a Filter to Compare the Constraint Date Field with the Date1 Field
- On the Project menu, point to Filtered for, and click More Filters.
- Click New.
- Type the following values:
|
| Constraint Date | equals | [Date1] |
In this example, this filter compares the Constraint Date values to the Date1 field. - If you want, type a name for the filter in the Name box.
- Click OK.
- Click Apply to apply the filter.
Workaround for Cause 3
Use appropriate values in the
Value(s) column for the field you are filtering on in the
Field Name column. For example, if you are filtering on a date field (
Start,
Finish,
Date1, and so on), type a value in a date format similar to
10/6/99. If you are filtering on a duration field, type a value in a format similar to
1d or
1 day.