ACC2002: Date Grouping Not Preserved and Year Value Not Displayed Correctly in PivotTable and PivotChart Views (295220)
The information in this article applies to:
This article was previously published under Q295220 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
You insert a date field as a column in PivotTable view, and then apply grouping to the date field. When you switch to PivotChart view and click the drop-down list of the date field, the four-digit year is displayed incorrectly. For example, the year 2000 appears as 1900. When you switch to PivotTable view, the date column header is formatted the same way the date field is formatted in the table design. The four-digit year is displayed incorrectly.
RESOLUTION
If you want to group the PivotTable by years, expand the auto-created date hierarchy tree for the date field in the PivotTable field list, and then drag Years to the Column Fields area of the PivotTable. If you want to group the PivotTable by months, you can temporarily set the format of the date field in table Design view to mmm.
If you drag Months from the auto-created date hierarchy tree to the Column Fields area and view the results, the data is grouped first by year, and then by months. The auto-created date hierarchies do not produce the same results as grouping a date field.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/26/2003 |
---|
Keywords: | kbbug kbnofix KB295220 |
---|
|