Wicked Smart Data
LearnInsightsAboutContact
Sign InLet's Build
LearnInsightsAboutContact
Sign InLet's Build
Wicked Smart Data

Intelligence, automation, and expert execution — plus an elite library of free knowledge. We turn complexity into competitive advantage.

Start a conversation

Platform

  • Learning Paths
  • Insights
  • RSS Feed

Company

  • About
  • Contact
  • Work With Us

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Wicked Smart Data. All rights reserved.

Intelligence · Automation · Advantage

All Insights
Power Query

Connecting to and Refreshing Data from Microsoft Access Databases in Power Query: Tables, Queries, and Credential Management

Most organizations still have at least one Access database quietly powering something important. Learn how to connect Power Query to Access reliably, understand the difference between pulling tables vs. saved queries, manage credentials across machines, and build refresh workflows that don't break when paths change.

⚡ Practitioner25 min readDec 2, 2026Updated Dec 2, 2026
Connecting to and Refreshing Data from Microsoft Access Databases in Power Query: Tables, Queries, and Credential Management
On this page
  • Introduction
  • Prerequisites
  • Understanding What Access Exposes to Power Query
  • Making the Connection: Step by Step
  • In Excel
  • In Power BI Desktop
  • Navigating the Navigator
  • Selecting Multiple Objects
  • The M Code Behind the Connection
  • Connecting to a Saved Access Query Instead of a Table
  • Parameterized Access Queries: A Gotcha
  • Credential Management
  • Password-Protected Access Databases
  • File Path and Windows Authentication
  • Credential Conflicts and Multiple Access Files
  • Refresh Configuration and Making It Reliable
  • Refreshing in Excel
  • Refreshing in Power BI Service
  • Incremental Refresh Considerations
  • Working with Linked Tables
  • Structuring Your Queries for Maintainability
  • Hands-On Exercise
  • Setup
  • Step 1: Create the Base Connection Query
  • Step 2: Pull the Orders Table
  • Step 3: Pull the Saved Summary Query
  • Step 4: Verify Credentials and Configure Refresh
  • Common Mistakes & Troubleshooting
  • "The 'Microsoft.ACE.OLEDB.16.0' provider is not registered"
  • "DataSource.Error: We couldn't authenticate with the credentials provided"
  • Refresh Silently Returns Stale Data
  • Column Names Change Between Refreshes
  • The Navigator Shows No Objects
  • Slow Refresh on Large Access Tables
  • Error on Refresh: "File not found"
  • Real-World Pattern: Migrating Away from Access Gradually
  • Summary & Next Steps

Connecting to and Refreshing Data from Microsoft Access Databases in Power Query: Tables, Queries, and Credential Management

Introduction

You inherited a sales reporting workbook that pulls from an Access database someone built in 2009. The .accdb file lives on a shared network drive, gets updated nightly by a legacy VBA process, and feeds three different Excel dashboards that your manager refreshes every Monday morning. You need to make all of this reliable, documented, and — ideally — not break every time someone moves the file or changes the network path.

This is the reality for a surprising number of data professionals. Microsoft Access never really went away. It lives in small business back-offices, government departments, and enterprise legacy systems where full SQL Server migrations were never prioritized. Knowing how to connect Power Query to Access cleanly — pulling from both tables and saved queries, handling credentials correctly, and setting up refresh that actually works — is a genuinely useful skill even if you spend most of your time in cloud-native tools.

By the end of this lesson, you'll be able to connect Power Query to both .mdb and .accdb Access files, understand the difference between pulling raw tables versus saved Access queries and when each is appropriate, manage credential settings so refreshes don't silently fail, write M code that handles the connection robustly, and troubleshoot the most common failure modes. This isn't a beginner walkthrough — if you need a foundation first, start with Getting Started with Power Query: Master Connect, Transform, Load for Real-World Data before continuing.

What you'll learn:

  • How to establish an Access database connection in both Excel and Power BI Desktop
  • The functional difference between importing Access tables vs. Access saved queries, and how Power Query sees each
  • How the M Access.Database() function works and how to modify it directly
  • Credential management for local files, UNC paths, and password-protected databases
  • Refresh configuration, common failure patterns, and how to build resilience into your connection setup

Prerequisites

  • Comfortable with the Power Query interface (Editor, Applied Steps, formula bar)
  • Basic M formula familiarity — you don't need to be an expert, but you should recognize a let...in expression
  • Access to Power Query in either Excel (2016 or later) or Power BI Desktop
  • An Access database to connect to (.accdb or .mdb format) — the exercises use a sample file described in the hands-on section

Understanding What Access Exposes to Power Query

Before you click a single button, it's worth understanding what Power Query actually sees when it opens an Access file. Access databases are structured differently from flat files or SQL Server — they contain multiple object types, and Power Query surfaces them in a navigator pane that lumps them together in a way that can be confusing at first.

When Power Query connects to an Access database, the Access.Database() function returns a table of records where each row represents one database object. These objects fall into two categories you'll care about:

  1. Tables — the actual data storage objects in Access. These map directly to what you'd call a table in any other database.
  2. Queries — saved SQL or QBE (Query By Example) queries that live inside the Access file. These can be simple SELECT statements, or complex joins, parameter queries, and aggregations that the original developer built.

There's also a third type, Linked Tables, which are worth knowing about: Access lets you link to external data sources (other Access files, SQL Server, SharePoint lists) and surface them as if they were local tables. When you pull a linked table through Power Query, you're actually reaching through the Access file to the original source — which creates its own credential and connectivity considerations we'll address later.

Note

Power Query does not expose Access forms, reports, macros, or VBA modules — only tables and queries. If someone asks why their "reports" aren't showing up in the navigator, that's why.

The distinction between tables and saved queries becomes strategically important when you think about where transformation logic should live. If a skilled Access developer has already written a well-optimized query that filters, joins, and aggregates exactly what you need, pulling that query directly reduces duplication and respects the original business logic. On the other hand, if you pull raw tables and replicate that logic in Power Query, you now have two places to maintain it. We'll return to this tradeoff throughout the lesson.


Making the Connection: Step by Step

In Excel

Open Excel and navigate to Data → Get Data → From Database → From Microsoft Access Database. A file picker dialog opens. Browse to your .accdb or .mdb file, select it, and click Import.

If this is a new connection (Power Query hasn't connected to this file before on this machine), you'll immediately see a Navigator pane. If the database requires a password, you'll first hit a credential prompt — we'll handle that in its own section below.

In Power BI Desktop

In Power BI Desktop, click Get Data from the Home ribbon (or press Alt+H+GD). In the Get Data dialog, either search for "Access" or find it under Database. The entry reads Access database. Select it and click Connect.

The file picker looks slightly different from Excel's but works identically. Navigate to your file and click Open.

Warning

Power BI Desktop is a 64-bit application, and Access database connectivity requires the Microsoft Access Database Engine. If you get an error that says something like "The 'Microsoft.ACE.OLEDB.16.0' provider is not registered," you need to install the 64-bit version of the Microsoft Access Database Engine 2016 Redistributable. This is one of the most common first-time setup issues and has nothing to do with your query logic.

Navigating the Navigator

After connecting successfully, the Navigator pane shows all accessible objects in the database. You'll see a list with two visual indicators: a small spreadsheet-grid icon for tables, and a slightly different icon for queries. Unfortunately, Access doesn't distinguish these icons as clearly as you might hope — the clearest signal is usually the naming convention the original developer used.

Click on any object to see a preview in the right pane. This preview is live — Power Query is actually querying the Access file right now — which means large tables may take a few seconds to populate the preview.

You have two choices from Navigator:

  • Load — sends the data directly to a table (Excel) or the data model (Power BI) with minimal transformation
  • Transform Data — opens the Power Query Editor with the connection established, ready for you to shape the data before loading

In production work, almost always choose Transform Data. Even if you think you don't need transformations right now, opening the editor gives you visibility into what was imported and lets you add steps later without rebuilding the connection.

Selecting Multiple Objects

You can check multiple tables and queries in the Navigator by ticking the checkboxes to the left of each name. When you check more than one object and click Transform Data, Power Query opens with one query per checked object. This is useful when you need to pull several related tables and then combine them using append or merge operations.


The M Code Behind the Connection

Once you're in the Power Query Editor, open the Advanced Editor (View → Advanced Editor) for your Access query. You'll see something like this:

let
    Source = Access.Database(
        File.Contents("C:\Data\SalesOperations.accdb"),
        [CreateNavigationProperties = true]
    ),
    Navigation = Source{[Schema = "", Item = "SalesOrders"]}[Data],
    #"Changed Type" = Table.TransformColumnTypes(
        Navigation,
        {
            {"OrderID", Int64.Type},
            {"OrderDate", type date},
            {"CustomerID", Int64.Type},
            {"TotalAmount", type number},
            {"Status", type text}
        }
    )
in
    #"Changed Type"

Let's unpack this. Access.Database() takes two arguments: a binary value representing the file (produced by File.Contents()) and an optional record of options. The CreateNavigationProperties = true option tells Power Query to build the navigation structure that lets you drill into individual tables and queries using the {} syntax on the next line.

The navigation expression Source{[Schema = "", Item = "SalesOrders"]}[Data] is the M equivalent of "find the object named SalesOrders in the Source table." For Access, the Schema is always an empty string — Access doesn't have schemas the way SQL Server does.

Key insight

If you want to switch which table or query you're pulling from without rebuilding the entire query, you only need to change the Item value in the navigation step. This makes it trivial to swap between a raw table and a saved query that provides the same data shape, or to build a parameterized connection where the target object name is passed in dynamically.

Connecting to a Saved Access Query Instead of a Table

The M code for pulling a saved Access query looks identical to pulling a table — only the Item name changes:

let
    Source = Access.Database(
        File.Contents("C:\Data\SalesOperations.accdb"),
        [CreateNavigationProperties = true]
    ),
    SalesQuery = Source{[Schema = "", Item = "qry_SalesOrdersSummary"]}[Data],
    #"Changed Type" = Table.TransformColumnTypes(
        SalesQuery,
        {
            {"Month", type text},
            {"Region", type text},
            {"TotalRevenue", type number},
            {"OrderCount", Int64.Type}
        }
    )
in
    #"Changed Type"

Here, qry_SalesOrdersSummary is the name of a saved SELECT query in the Access database that already joins the Orders, OrderDetails, and Products tables and groups by month and region. By pulling this query instead of three raw tables, you're leveraging work already done in Access and keeping your Power Query transformation stack leaner.

The practical tradeoff: Access queries are only as reliable as the Access database itself. If the Access developer modifies qry_SalesOrdersSummary — changes column names, adds parameters, removes joins — your Power Query will break downstream. For handling those kinds of schema changes gracefully, you'll want defensive column selection rather than assuming a fixed structure.

Parameterized Access Queries: A Gotcha

Access supports parameter queries — queries that prompt for input when run interactively. If you try to pull a parameterized Access query through Power Query, you'll typically get an error like "Too few parameters. Expected 1." This is because Power Query doesn't know how to satisfy the parameter prompt.

Your options are:

  1. Ask the Access developer to create a non-parameterized version of the query that returns all data, and filter in Power Query instead
  2. Pull the underlying tables and replicate the filtering logic in M
  3. Use a native database query (covered below) with parameters passed explicitly

Option 1 is usually the cleanest solution when you have access to the database designer.


Credential Management

This is where most Access-related refresh failures originate, and it's worth treating seriously.

Password-Protected Access Databases

If the Access database has a database password set (not user-level security, but the simpler file-level password under File → Info → Encrypt with Password in Access), Power Query will prompt for credentials when you first connect.

In the credential dialog, select Database from the left-hand menu (not Windows or Anonymous) and enter the database password in the Password field. Leave the username field empty — Access file-level passwords don't use usernames.

Warning

Access database passwords are stored in Power Query's credential cache, which is per-machine and per-user. If you share the .pbix or .xlsx file with a colleague, they will need to re-enter the credentials on their own machine. The credentials do not travel with the file.

To view or clear stored credentials in Excel: Data → Get Data → Data Source Settings → Global Permissions. Find your Access file path, right-click, and you'll see options to edit or delete the stored credentials.

In Power BI Desktop: File → Options and Settings → Data Source Settings, then find your Access file and click Edit Permissions.

File Path and Windows Authentication

For .accdb files without a database password, Power Query connects using the Windows identity of the current user. The credential type is Windows, and in most cases Power Query handles this transparently. The gotcha arrives when the file is on a network path.

If your Access file lives at \\fileserver01\shared\data\SalesOperations.accdb, Power Query will store the credentials against that UNC path. If the file later moves to \\fileserver02\shared\data\SalesOperations.accdb, your credentials are stored against the old path and won't match — the refresh fails.

This is doubly annoying because the error message is often generic: "DataSource.Error: Access to the resource is forbidden." Check the Data Source Settings first before assuming it's a permissions issue.

Tip

When you know a file path might change in the future, consider building the path from a query parameter rather than hardcoding it. You can then update the path in one place and have it flow through to all queries that reference that Access database.

Credential Conflicts and Multiple Access Files

If you work with multiple Access databases, be aware that Power Query manages credentials per unique file path. Two files at different paths are treated as completely separate data sources with separate credential entries. This is usually fine, but becomes a problem if you've ever moved a file and re-added the connection — you can end up with stale credential entries that cause confusion.

Do a periodic cleanup via Data Source Settings to remove credentials for paths that no longer exist. It's housekeeping, but it prevents mysterious failures during refresh.


Refresh Configuration and Making It Reliable

Refreshing in Excel

In Excel, you can refresh an Access-connected query manually via Data → Refresh All, or right-click the loaded table and choose Refresh. For automatic refresh, you have two options:

  1. Refresh on file open: In the Query Properties dialog (right-click the query in the Queries & Connections pane → Properties → Usage tab), check "Refresh data when opening the file." This triggers a refresh every time the workbook is opened.

  2. Scheduled refresh: Excel doesn't have native scheduled refresh for Power Query. For true automation, you need either Power BI Service, a Power Automate flow, or a VBA macro that opens the workbook, refreshes, and saves.

Note

The "Refresh every X minutes" option in Query Properties only works while the file is open and you're actively in Excel. It's useful for dashboards running on a dedicated display but not for unattended automation.

Refreshing in Power BI Service

If you've published a Power BI report that connects to an Access file, scheduled refresh in Power BI Service requires a data gateway. The Access file must be accessible from the machine where the gateway is installed, and the gateway machine needs the Access Database Engine installed.

Configure this under the dataset settings in Power BI Service: Datasets → Your Dataset → Settings → Gateway Connection. Add a new data source of type Access, provide the file path as it's visible from the gateway machine (not necessarily the same as your local path), and enter credentials.

The critical thing to understand: the file path you registered in Power BI Desktop must match what the gateway expects. If you developed locally using C:\Data\SalesOperations.accdb and the gateway machine sees the same file at \\fileserver01\shared\data\SalesOperations.accdb, you'll get a path mismatch error. You have two remedies:

  1. Remap the data source in Power BI Service Gateway settings to map your local path to the network path
  2. Develop using the UNC path from the start, even locally, so the path is consistent everywhere

Option 2 is the professional choice. It's slightly annoying during development but prevents hours of gateway troubleshooting later. For a deeper look at managing refresh failures and diagnostics in Power BI Service, this lesson on scheduling and managing refresh failures covers recovery workflows in detail.

Incremental Refresh Considerations

Access databases are rarely enormous — they tend to top out in the hundreds of megabytes before performance degrades enough that organizations migrate to SQL Server. But if you're pulling transaction history from an Access database that's been accumulating records for a decade, you might be looking at hundreds of thousands of rows.

Standard Power Query refresh re-pulls the entire dataset on every refresh cycle. For large Access tables, consider whether a date-filtered query (filtering in Power Query to only load records from the last N days, then appending to a historical snapshot) would be more efficient. The full approach to this is covered in automating incremental data refreshes, but the core idea is filtering early so you're not transferring 500,000 rows when you only need the 2,000 added since yesterday.


Working with Linked Tables

Access linked tables deserve their own attention because they behave very differently from native tables when you pull them through Power Query.

When Power Query retrieves a linked table, Access acts as a passthrough layer — it fetches the data from whatever external source it's linked to (another Access file, a SQL Server table, a SharePoint list) and returns it to Power Query. This means:

  1. The external source must be accessible from whatever machine is running the Power Query refresh. If the linked table points to a SQL Server database that your colleague's laptop can reach but the gateway machine cannot, refreshes from Power BI Service will fail.

  2. Credentials get complicated. Power Query sees an Access file and uses Access credentials. But behind the scenes, Access is making its own connection to SQL Server using whatever credentials the linked table was configured with. You can end up in a situation where Power Query connects fine but Access silently fails to refresh the linked data, returning stale data or errors that are hard to trace.

  3. Query folding does not apply. When you pull a linked table, Power Query cannot push filter or join operations back to the underlying SQL Server source through the Access layer. All filtering happens in-memory in Power Query. This is a significant performance consideration — if you're pulling a linked table that maps to a 10-million-row SQL Server table, you're pulling all 10 million rows through Access and then filtering in Power Query. If that's your situation, consider connecting directly to SQL Server instead.

Key insight

Linked tables in Access are often a sign that the database is a transitional layer between legacy Access usage and a more modern backend. When you encounter them, it's worth asking whether Power Query could bypass Access entirely and connect directly to the source. The answer is often yes, and the performance improvement can be dramatic.


Structuring Your Queries for Maintainability

A single Access connection can serve as the source for many Power Query queries in the same workbook or report. Rather than hardcoding the file path in every query individually, it's better practice to create a single base connection query and reference it from each object-specific query.

Here's how to structure this. First, create a query called AccessDB_Base that just establishes the connection and surfaces the navigation table:

let
    FilePath = "\\fileserver01\shared\data\SalesOperations.accdb",
    Source = Access.Database(
        File.Contents(FilePath),
        [CreateNavigationProperties = true]
    )
in
    Source

Then create individual queries that reference this base:

// Query: SalesOrders
let
    Source = AccessDB_Base,
    SalesOrders = Source{[Schema = "", Item = "SalesOrders"]}[Data],
    #"Removed Columns" = Table.RemoveColumns(SalesOrders, {"InternalNotes", "LegacyID"}),
    #"Changed Type" = Table.TransformColumnTypes(
        #"Removed Columns",
        {
            {"OrderID", Int64.Type},
            {"OrderDate", type date},
            {"CustomerID", Int64.Type},
            {"TotalAmount", type number}
        }
    )
in
    #"Changed Type"
// Query: Customers
let
    Source = AccessDB_Base,
    Customers = Source{[Schema = "", Item = "Customers"]}[Data],
    #"Changed Type" = Table.TransformColumnTypes(
        Customers,
        {
            {"CustomerID", Int64.Type},
            {"CompanyName", type text},
            {"Region", type text},
            {"AccountManager", type text}
        }
    )
in
    #"Changed Type"

This architecture means if the file path ever changes, you update it in exactly one place: AccessDB_Base. Every downstream query picks up the change automatically. This is a core principle of maintainable ETL design in Power Query — a single source of truth for connection details.

Tip

Mark your AccessDB_Base query with the "Enable load" option turned off (right-click it in the Queries pane → uncheck "Enable Load"). This prevents it from creating a table in your Excel sheet or Power BI model — it's purely a reusable connection component that feeds other queries.


Hands-On Exercise

In this exercise, you'll build a complete, production-ready connection to a sample Access database, pull both a raw table and a saved query, structure them using the base connection pattern, and configure the credential and refresh settings correctly.

Setup

For this exercise, you need an Access database. If you don't have one handy, create a simple one in Access with:

  • A table called Orders with columns: OrderID (AutoNumber), OrderDate (Date/Time), CustomerName (Short Text), ProductCategory (Short Text), Amount (Currency), IsProcessed (Yes/No)
  • Load it with 50-100 rows of realistic-looking sales data
  • Create a saved query called qry_ProcessedOrdersSummary that SELECTs ProductCategory, Count(*) AS OrderCount, Sum(Amount) AS TotalRevenue FROM Orders WHERE IsProcessed = True GROUP BY ProductCategory

Save it as SalesOps.accdb on your local drive (e.g., C:\ExerciseData\SalesOps.accdb).

Step 1: Create the Base Connection Query

  1. In Excel, go to Data → Get Data → From Other Sources → Blank Query
  2. In the Advanced Editor, replace the default code with:
let
    Source = Access.Database(
        File.Contents("C:\ExerciseData\SalesOps.accdb"),
        [CreateNavigationProperties = true]
    )
in
    Source
  1. Name this query AccessDB_Base
  2. Right-click it in the Queries pane and uncheck Enable Load
  3. Click Close & Load

Step 2: Pull the Orders Table

  1. Create another blank query
  2. Enter the following M code:
let
    Source = AccessDB_Base,
    RawOrders = Source{[Schema = "", Item = "Orders"]}[Data],
    #"Filtered Active" = Table.SelectRows(
        RawOrders,
        each [IsProcessed] = true
    ),
    #"Changed Type" = Table.TransformColumnTypes(
        #"Filtered Active",
        {
            {"OrderID", Int64.Type},
            {"OrderDate", type date},
            {"CustomerName", type text},
            {"ProductCategory", type text},
            {"Amount", type number},
            {"IsProcessed", type logical}
        }
    ),
    #"Removed Columns" = Table.RemoveColumns(
        #"Changed Type",
        {"IsProcessed"}
    )
in
    #"Removed Columns"
  1. Name this query Orders_Processed
  2. Close & Load to a table

Step 3: Pull the Saved Summary Query

  1. Create another blank query
  2. Enter:
let
    Source = AccessDB_Base,
    Summary = Source{[Schema = "", Item = "qry_ProcessedOrdersSummary"]}[Data],
    #"Changed Type" = Table.TransformColumnTypes(
        Summary,
        {
            {"ProductCategory", type text},
            {"OrderCount", Int64.Type},
            {"TotalRevenue", type number}
        }
    ),
    #"Sorted Rows" = Table.Sort(
        #"Changed Type",
        {{"TotalRevenue", Order.Descending}}
    )
in
    #"Sorted Rows"
  1. Name this query Orders_Summary
  2. Close & Load to a table

Step 4: Verify Credentials and Configure Refresh

  1. Go to Data → Get Data → Data Source Settings
  2. Find your SalesOps.accdb path in the list
  3. Click Edit Permissions — confirm it shows Windows authentication
  4. Close the dialog
  5. Click Data → Refresh All and verify both tables refresh successfully
  6. Right-click the Orders_Processed query in the Queries & Connections pane, choose Properties, and enable "Refresh data when opening the file"

You now have a production-ready, maintainable Access connection that uses a shared base query, pulls from both a raw table and a saved Access query, applies type definitions, and auto-refreshes on open.


Common Mistakes & Troubleshooting

"The 'Microsoft.ACE.OLEDB.16.0' provider is not registered"

This is almost always a bitness mismatch. Power BI Desktop is 64-bit. Office installations can be 32-bit. The Access Database Engine must match the application doing the connecting. Install the 64-bit Access Database Engine Redistributable. If you have a 32-bit Office installation, you may need to install the 64-bit Access Database Engine alongside it — Microsoft supports this in certain configurations.

"DataSource.Error: We couldn't authenticate with the credentials provided"

Go to Data Source Settings and delete the stored credential for this file, then reconnect and re-enter credentials. Credential cache corruption is surprisingly common, and a clean re-entry fixes it more often than any other approach.

Refresh Silently Returns Stale Data

This is the linked table scenario. The Access database appears to refresh, but the data isn't updated. Check whether the tables you're pulling are linked tables in Access. If they are, trace through to the actual source and verify that source is accessible and refreshing on its own schedule.

Column Names Change Between Refreshes

If someone modifies a saved Access query and renames columns, your Power Query will error on the type conversion step or any downstream step that references the old column name by name. The defensive pattern is to use Table.SelectColumns early in your query to explicitly select only the columns you need and rename them to stable internal names right away. This creates a stable contract between your Power Query logic and the Access source. See the guidance on handling dynamic schema changes for a systematic approach.

The Navigator Shows No Objects

You connected, got no errors, but the Navigator is empty or shows only a handful of objects. This usually means you connected to the wrong file (easy to do with similar filenames), or the Access database uses user-level security (an older Access 2003 .mdb feature) that restricts what objects are visible under your credentials. Try opening the .mdb file directly in Access to see what you have access to.

Slow Refresh on Large Access Tables

Access isn't designed for high-volume analytical queries. If refreshes are taking more than a minute or two on reasonably-sized tables, the first thing to check is whether you're pulling more data than you need — filtering early in the query reduces how much data Access has to scan. Second, check whether you have multiple queries all referencing AccessDB_Base and potentially opening multiple simultaneous connections to the same file. If the Access file is on a network share, concurrent connection overhead adds up quickly.

Warning

Unlike SQL Server connections, the Access connector does not support query folding. Every filter, sort, and transformation you apply in Power Query happens after all the data is transferred from Access to Power Query's in-memory engine. There is no way to push operations back to Access. This makes early filtering critically important — keep your row count as small as possible as early as possible in the query. For background on why query folding matters for performance, see Power Query Performance: Master Folding, Buffering & Optimization Techniques.

Error on Refresh: "File not found"

The file path stored in the connection no longer points to a real file. Either the file was moved, renamed, or the network share went offline. If you built your connection using the base query pattern described above, fixing this means updating the path in AccessDB_Base only. If you hardcoded paths in individual queries, you need to update each one.

This is precisely the scenario where using a query parameter for the file path pays off. Build it in once, and path changes become a two-second fix in the parameter editor.


Real-World Pattern: Migrating Away from Access Gradually

One of the most common scenarios involving Access in Power Query is a phased migration — the organization is moving to SQL Server or another modern platform, but the Access database will remain the system of record for some period while the migration proceeds.

The smart approach here is to treat your Power Query layer as a stable abstraction. Build your AccessDB_Base and object-specific queries exactly as described in this lesson. When a table gets migrated to SQL Server, you update that one object query to use a SQL Server source instead of AccessDB_Base, while all the downstream logic (joins, type conversions, calculated columns) remains unchanged.

This is multi-stage staging architecture in practice: your raw layer connects to the source, your cleansed layer applies business rules and type safety, and your conformed layer presents data to consumers. Each layer is independently swappable, which makes migrations dramatically less risky.

The alternative — letting Access connections reach all the way into reports and dashboards — means migration involves touching every consumer. That's how migrations take years instead of months.


Summary & Next Steps

You can now connect Power Query to Access databases with a clear understanding of what's happening at the M code level, not just which buttons to click. You know the difference between pulling raw tables and saved queries, why linked tables introduce hidden complexity, how credential management works across machines and environments, and how to structure your queries so they're resilient to the file moves and schema changes that are inevitable in real environments.

The base connection pattern — a single non-loading query that holds the connection, with specific queries referencing it — is worth applying consistently. It costs you nothing and saves significant pain when paths or credentials need updating.

Where to go from here depends on what you're building:

  • If you're doing significant data shaping after connecting, cleaning messy data with Power Query covers the null handling, error catching, and type coercion that Access data frequently needs
  • If you're combining data from multiple Access tables, combining data with append and merge queries covers join strategies including the many-to-many scenarios common in older Access schemas
  • If you're heading toward Power BI Service deployment, the credential and privacy levels management lesson covers the enterprise security considerations that become important once reports leave your laptop

Access databases are a solved problem in Power Query once you know the patterns. Build them right once, and they'll serve you reliably for as long as the database survives.

Work With Us

From insight to implementation

Reading is the start. When you're ready to build the data, automation, or AI systems behind it, our team turns strategy into shipped results.

Let's Build

Power Query Essentials

Previous

Replacing Values and Fixing Inconsistent Entries in Power Query: Standardizing Categories, Codes, and Labels

Related Insights

Power QueryFoundation

Understanding the M Let Expression: Structuring Multi-Step Transformations with Named Variables and In Expressions

15 min
Power QueryFoundation

Replacing Values and Fixing Inconsistent Entries in Power Query: Standardizing Categories, Codes, and Labels

16 min
Power QueryExpert

Implementing Custom Function Memoization and Result Caching in Power Query M: Building Stateless Computation Patterns That Minimize Redundant Evaluations Across Complex Query Graphs

25 min

On this page

  • Introduction
  • Prerequisites
  • Understanding What Access Exposes to Power Query
  • Making the Connection: Step by Step
  • In Excel
  • In Power BI Desktop
  • Navigating the Navigator
  • Selecting Multiple Objects
  • The M Code Behind the Connection
  • Connecting to a Saved Access Query Instead of a Table
  • Parameterized Access Queries: A Gotcha
  • Credential Management
  • Password-Protected Access Databases
  • File Path and Windows Authentication
  • Credential Conflicts and Multiple Access Files
  • Refresh Configuration and Making It Reliable
  • Refreshing in Excel
  • Refreshing in Power BI Service
  • Incremental Refresh Considerations
  • Working with Linked Tables
  • Structuring Your Queries for Maintainability
  • Hands-On Exercise
  • Setup
  • Step 1: Create the Base Connection Query
  • Step 2: Pull the Orders Table
  • Step 3: Pull the Saved Summary Query
  • Step 4: Verify Credentials and Configure Refresh
  • Common Mistakes & Troubleshooting
  • "The 'Microsoft.ACE.OLEDB.16.0' provider is not registered"
  • "DataSource.Error: We couldn't authenticate with the credentials provided"
  • Refresh Silently Returns Stale Data
  • Column Names Change Between Refreshes
  • The Navigator Shows No Objects
  • Slow Refresh on Large Access Tables
  • Error on Refresh: "File not found"
  • Real-World Pattern: Migrating Away from Access Gradually
  • Summary & Next Steps