Excel pivot + access query

Ap1_Alan

New Member
Joined
Oct 29, 2010
Messages
10
Hi everyone,

I had 2 large tables in access (65k rows each), both tables have the exact same column headers. I combined the two using a UNION ALL query. Nothing else was done in access.

Now i'm trying to run an excel pivot table off this query, but when i go through the steps to link to an external source it's only showing the access tables.

Is there something wrong with my query?

SELECT*FROM [Q1]
UNION ALL SELECT*FROM [Q2];

Why wouldnt this show as an external source option?

Thanks in advance!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Not sure why it is not appearing as a linking source, but instead, have you considered just exporting the query to Excel. Are you using an older version of excel that has row limitations?

If you have row limitations, then suggest you create a new query that has your Union Query as its record source. Save this new query. Open it and do a make table query and link the new table to Excel.

Alan
 
Upvote 0
Using 2007.

Had to make an additional make table query to get it to work. I'm sure this was a basic step i just forgot to do. Haven't used access since college :eeek:
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,189
Members
452,893
Latest member
denay

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