Excel Datamodel refers to orignal file data when saving as new file.

Kpersen

New Member
Joined
Jan 29, 2018
Messages
25
My workbook contains 2 different tables of data (table1 andtable2) both data tables have a column named “Product” and from each data tableI have created a pivot table (pivottable1 and pivottable2)
In order for me to be able to use one single slicer toselect/filter the same value in both pivot tables I had to create arelationship between my tables. Since both of my tables have duplicate valuesin the “product” column I had to create a third table (table3) withoutduplicates and create connections between table1 and table3 + table2 andtable3. From table3 I created a pivot table including the in the data model andinserted a slicer for product. (The data model is also included in pivot tables1+2 otherwise the slicer will not work)
This works really great. The slicer can control all 3 pivottables.
My issue occurs when I update my data (which I do weekly)and save to a new file with a different name, the connections in data refer tothe original file where the relationships were created.
If I disconnect these connections the pivot tables lose allcontent and there is no way to change the data source.
Does anyone know if it is possible to create relationshipsbetween tables without also creating a data connection that remains when theworkbook is saved as a new file?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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