Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

file size - power pivot and data model data connections

Hey guys and girls,

I have started using power queries and power pivot quite heavily. One thing really confuses me is the data connections and file sizes.
I have power pivots created in a workbook with all source data in other tabs of the same workbook. I have been importing tables from this workbook into the data model, also tables transformed with power queries in the same workbook too.

However it seems every time when i make a copy of this file, the data model data sources still connect to the old workbook, which makes the whole file bigger and bigger, and now it seems the only way to resolve it is to break all the links and restart…

Could you please help me understand if I’m doing anything wrong? Should I be importing data into data model only through power queries "load to data model"?

I guess the key is I want to understand what's the most efficient way to structure and import data (excel tables), data model and power pivot.

Thanks!

CJ

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

As tested, if i copy one excel, i can find the copied excel file uses the data in the current excel not the original excel.

You can check if yours uses the current excel file data as a data source.

Capture2.JPGCapture3.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks Maggie,

 

It's these worksheet connection links when looking at queries and connections. They're linking to prior months worksheets.

Some of them when I go into connection properties i could see they're used in pivots in this current workbook, which means I couldn't get rid of them - tried and it broke the links for data model and power pivots.

Some of them doesn't get used in pivots. When I delete them, they reduce the file size a lot.

 

image.png

 

 

image.png

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors