PivotTables and PivotCharts do not show values found in lookup list or value list (278374)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q278374 Moderate: Requires basic macro, coding, and interoperability
skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS When you view a table, a query, or a form that is using a
lookup field in PivotTable or PivotChart view, the actual data stored in the
field is displayed instead of the data from the lookup field. CAUSE The Office Web Components are used when rendering a
PivotTable or PivotChart, and Microsoft Access passes the actual data stored in
the fields rather than the lookup data. RESOLUTION To resolve this behavior, create a query that joins the
appropriate tables, and use the actual columns in the query instead of using
columns that are lookup fields. Use this query for the PivotTable or
PivotChart. For an example of how to do this, follow these steps: - Create a new query in Design View.
- Add the Customers and Orders tables to the
query.
- Include all fields from the Orders table and only the
CompanyName field from the Customers table. Click to clear the Show check box for the CustomerID field from the Orders
table.
- Open the query in Datasheet view and note that the full
company name is displayed.
- On the View menu, click PivotTable View.
- Drag the CompanyName field to the Row drop zone. Note that the full company name is
displayed.
Modification Type: | Minor | Last Reviewed: | 6/7/2004 |
---|
Keywords: | kbPivotTable kbProgramming kbDatabase kbView kbprb KB278374 |
---|
|