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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AlexTaskar
New Member

Refresh PowerPivot while source file is open

Hi everybody,

I have a PowerPivot model (in excel) importing several excel files form a folder.

When I'm trying to refresh the PowerPivot while one of the source files is open, I get the following error: "... the process cannot access the file *** because it is being used by another process "

 

Please advise how can I fix this.

 

Thank you in advance

3 REPLIES 3
sgengie2020
Frequent Visitor

Hi, I have similar problem when someone opening excel file in shared drive. 

Underlying error message: The process cannot access the file '\\xxx\~$01 Dec 2020.xls' because it is being used by another process.

I was able to refresh from PowerBI desktop but not from the Gateway.

It is very strange because by right Power BI should be just having ReadOnly access and should have no problem reading the file.

 

Anyone can help on this?

v-lili6-msft
Community Support
Community Support

hi, @AlexTaskar 

The error message is pretty clear: you're trying to access a file, and it's not accessible because another process (or even the same process) is doing something with it.

Please close the source file and refresh again.

 

Best Regards,

Lin

 

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

I'm having the same problem and the file is definitely not in use. All files are in One Drive and closed. Deleted the dataset in Service and reset from Desktop. Refreshed from Desktop. Checked credentials. What's left?

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors