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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
jasonyu623
Regular Visitor

Large Temp File when Loading a Huge Dataset


Hi everyone,

 

I’m facing an issue and would appreciate any guidance. I have a large data source (around 340GB), consisting of over 8000 txt files. When I load this data into Power BI, it creates a large temporary file in the C:\Users\<username>\AppData\Local\Temp\Power BI Desktop folder on my C drive. This is quickly filling up my C drive and causing storage issues during the data load.

My questions are:

Is there a way to change the location of Power BI’s temporary files to another drive?
Or is expanding my C drive the only solution?


Thank you in advance for any advice!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @jasonyu623 - If changing the TEMP directory isn’t possible or practical, expanding the C drive may be necessary, especially if Power BI and other applications are heavily using it. You can consider moving or uninstalling unnecessary applications and data from the C drive or reallocating space if your system allows.

 

or 

 

If you’re only working with incremental data changes in your 340GB data source, consider using Dataflows or Incremental Refresh in Power BI. These options allow you to load only new or updated records, significantly reducing the volume of data processed at once, which helps manage temporary file size.

 

any of this process works as expected. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
muhammad_786_1
Super User
Super User

Hi @jasonyu623 

 

You can try this way to change the default system Temp folder location through Windows settings.

 

Right-click on This PC > Properties > Advanced system settings

Go to the Advanced tab and click on Environment Variables.

Locate the TEMP and TMP variables and change its path.

Restart your system to apply changes.

 

Best Regards,
Muhammad Yousaf

 

LinkedIn

Singamshetty994
Frequent Visitor

Hi @jasonyu623 
 
There is no direct option to increase c drive capacity. you can  add ssd or hdd to expand your drive capacity. the other option is you can store it in cloud (preferably in fabric power bi).

If you found this information helpful please accept it as solution.Thank you in advance

 

 

 

rajendraongole1
Super User
Super User

Hi @jasonyu623 - If changing the TEMP directory isn’t possible or practical, expanding the C drive may be necessary, especially if Power BI and other applications are heavily using it. You can consider moving or uninstalling unnecessary applications and data from the C drive or reallocating space if your system allows.

 

or 

 

If you’re only working with incremental data changes in your 340GB data source, consider using Dataflows or Incremental Refresh in Power BI. These options allow you to load only new or updated records, significantly reducing the volume of data processed at once, which helps manage temporary file size.

 

any of this process works as expected. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





FreemanZ
Super User
Super User

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors