Pivot table and pivotcaches not pulling correct data from source.

Wolfsbane2k

New Member
Joined
Dec 5, 2013
Messages
11
Hi.

I'm having an intermittant problem with Excel 2010 which for some reason is pulling out a value of #n/a rather than the actual value in the field in the source data:

Data Structure/Flow:
-----------
Microsoft Access Table 1 -> SQL Database Query -> Excel Workbook A, Sheet 1

Excel Workbook A, Sheet 1 -> VLookup unique key data from Query for data in Excel Workbook, Sheet 2 to provide 18 additional columns of data.

Excel Workbook B: Mulitple Pivot Tables using all data on Workbook A Sheet 1, all using 1 pivotcache.
------------

The pivot table is used to count the number of items with an "Outstanding" State (text lookup) from the DB query against a list of users (text lookup from the DB query) against a product release (Number, originally from Workbook A Excel Sheet 2, but now on the same line as the corresponding data on Sheet 1from the query ), so that we can quickly track the number of defects still against the product release and see where we are as a dashboard. ( Don't ask, i can't change to bugzilla, and the DB structure is locked down tighter than, well, you know, and can't be touched at all.)

Intermittently, one specific line in the database query keeps coming up in the PT with #N/A rather than the name of the defect owner, and i can't see why.

If i double click on the 1 item with N/A, the new sheet comes up with all fields apart from the unique ID as #N/A, which I don't understand. The DB query when pulled across to Excel definitely contains the right data in workbook A, sheet 1.

I can't provide any of this data to the forum to assist in debugging i'm afraid, but would really appreciate some guidance on what and where to look to try and diagnose/work around the problem.

Has anyone else seen similar effects to this? I can't find anything anywhere, all references to #N/A in a pivot table seem to refer to excluding #n/a in the source data from appearing in the PT.

Thanks in advance,

Wolfsbane2k.
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top