Creating a pivot table with Connection only

Certified

Board Regular
Joined
Jan 24, 2012
Messages
189
Hi

I have a file with 72K lines of data (file A).

I created an query in file B from the file A data loaded as a connection only (query 1).

When I try to create a pivot in file B from query1, another query is created (query 2) underneath query 1. Furthermore, query 2 has a ton of errors.

I don't understand what is causing this. I was expecting to just pull that data from query 1 without an issue. Am I missing something?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
When you close and load, you need to check the box for "Add this Data to the Data Model" You can then open in Power Pivot directly. Don't really understand what is happening that is creating second query. Suggest you show us your Mcode for further analysis.
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,972
Members
452,540
Latest member
haasro02

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