Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change pivot table data source in Excel? [closed]

I want to change it from one database to another.

There don't appear to be any options to do this on the pivot table context menu

like image 312
adolf garlic Avatar asked Apr 07 '09 11:04

adolf garlic


People also ask

How do I change the data source in an existing pivot table?

How do I change the data source for an existing pivot table? Answer:Select the Options tab from the toolbar at the top of the screen. In the Data group, click on Change Data Source button.

How do I open a pivot table I just closed?

Right-click any cell in the pivot table and select Show Field List from the menu. This will make the field list visible again and restore it's normal behavior. The field list will disappear when a cell outside the pivot table is selected, and it will reappear again when a cell inside the pivot table is selected.


5 Answers

Just figured it out-click anywhere in the table, then go to the tabs at the top of the page and select Options-from there you'll see a Change Data Source selection.

like image 185
Zoe Avatar answered Sep 21 '22 15:09

Zoe


Looks like this depends heavily on your version of Excel. I am using the 2007 version and it offers no wizard option when you right click on the table. You need to click on the pivot table to make extra 'PivotTable Tools' appear to the right of the other tabs at the top of the screen. Click the 'options' tab that appears here then there is a big icon on the middle of the ribbon named 'change data source'.

like image 36
Bilge Rat Avatar answered Sep 17 '22 15:09

Bilge Rat


right click on the pivot table in excel choose wizard click 'back' click 'get data...' in the query window File - Table Definition

then you can create a new or choose a different connection

like image 20
adolf garlic Avatar answered Sep 18 '22 15:09

adolf garlic


In order to change the data source from the ribbon in excel 2007...

Click on your pivot table in the worksheet. Go to the ribbon where it says Pivot Table Tools, Options Tab. Select the Change Data Source button. A dialog box will appear.

To get the right range and avoid an error message... select the contents of the existing field and delete it, then switch to the new data source worksheet and highlight the data area (the dialog box will stay on top of all windows). Once you've selected the new data source correctly, it will fill in the blank field (which you deleted before) in the dialog box. Click OK. Switch back to your pivot table and it should have updated with the new data from the new source.

like image 22
Angelcakes Avatar answered Sep 18 '22 15:09

Angelcakes


  • Right click on the pivot table, choose PivotTable Wizard.
  • Click the 'back' button twice.
  • Choose External Data Source,click next.
  • Click Get Data
  • In the first tab, Databases the first option is 'New Data Source'
like image 29
Bravax Avatar answered Sep 19 '22 15:09

Bravax