Forum Discussion

WorkHard's avatar
WorkHard
Helper V
4 years ago
Solved

Access Database file interrupts the refresh every day because the "file is in use when it isn't

I have a mix of different datasources for a report and one of them is an access database file. This file is only accessed by me so no one else is using this file at 6 AM when I perform the refresh. ...
  • otravers's avatar
    4 years ago

    Yes, it does look like refreshing tables in parallel locks the Access file, as discussed in this thread:

    https://community.powerbi.com/t5/Desktop/Error-refreshing-Access-database-data-tables-on-a-network-in/m-p/177149

     

    The thread above gives a solution for Power BI Desktop, but I'm not sure you could enforce serial refreshing in the gateway settings. A couple of workarounds come to mind:

     

    1. Create three separate dataflows for your three Access tables and orchestrate their serial refreshing via Power Automate. This would be my initial attempt if I had to quickly solve the issue myself.

     

    2. Use the Dataverse connector in Access so that Dataverse is your source for Power BI. This is probably what I'd pursue if I had time and wanted to get other benefits of the Power Platform and/or start thinking about eventually migrating everything to the cloud.