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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.