(blank) Fields on Pivot Table from Database Connection

hahdawg

Board Regular
Joined
Sep 1, 2011
Messages
51
Hi

I've been trying to create a pivot table from a database connection, and the last row and column fields always show up as (blank). The row fields are stores, and the column fields are cities. There are some blank cells in the database, but each store and column cell has a value. Also, the value I want to use is sum of sales, but it shows up as count of sales, even though there are no blank sales cells in the database.

As a check, I put the table from the database into Excel, ran a pivot table, and I got the results I expected: There were no row or column fields named (blank), and the value showed up as sum of sales.

It seems that when I run the pivot table from the database, Excel thinks there are blank cells, when there aren't any.

I could easily clean this up with a macro, but I'd rather figure out the root of the problem. Can anyone help with this?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I fixed it.

The import range name was dynamic, so it didn't show up in the Access import wizard. So I created a static range name and used the import wizard to import it, and the (blank) issues disappeared.
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,866
Members
452,948
Latest member
UsmanAli786

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