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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Joel56
New Member

Timed refresh causing caches folder junk

I have a power query looking at a DB and I'm using the timed refresh option to update my spread sheet.   This option seems to create a new caches folder everyocurance.   Eventually filling up the hard drive but this does not happen when the data refresh is manually triggered.    

I've attempted creating a PowerShell routine to delete these folders but it would seem the folders are in a restricted system program space and the task will not execute.   Only way to get rid of the junk files is to manually delete them.

 

what can I do to prevent the caches folder from filling up? 

thanks

1 REPLY 1
lbendlin
Super User
Super User

Do you see SQL queries hitting your database twice?  Are some of the queries marked as cancelled?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.