How to change the source of a PivotTable from Database connection to normal excel range

sarsukanth

Board Regular
Joined
Jun 21, 2010
Messages
56
Hi All,

We have a excel file which has pivot tables, those pivot tables are connected with database connections directly. so when we Refresh All all pivot tables are refreshing with latest data from Database directly.

Now we want to change the source of PivotTable from that Database connection to normal Excel range.

so is it possible, if yes could you please explain how.

Advance Thank you for your support.

Regards,
Raghu
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
try double click on bottom right cell of PT then change the result (right click - Table - Convert to range) from table to the range
 
Last edited:
Upvote 0
Thank you for your reply, this is a temporary solution
but actually we need to connect the excel range to the existing Pivot Table which has connected already to the Database Connection.
we mean we want to replace the source data of an existing pivot table from Database connection to normal excel range.
pls help us...
 
Upvote 0
use PowerQuery to get data from DB then you can create PT or Table from QueryTable, whatever you want
but if you change Table to Range it will disconnect from PT or QueryTable and you'll need recreate PT from this range
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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