---
title: Connect Power BI Desktop to Databricks
description: Connect Microsoft Power BI Desktop to Databricks clusters and SQL warehouses using Partner Connect, a manual connection, or the OpenSharing connector.
canonical_url: https://docs.databricks.com/aws/en/partners/bi/power-bi/desktop
---

# Connect Power BI Desktop to Databricks

Connect to Databricks from [Microsoft Power BI Desktop](https://powerbi.microsoft.com), a Windows application for building interactive reports and dashboards. This page covers the connection methods, authentication options, and connector configurations for querying Databricks clusters and Databricks SQL warehouses from Power BI Desktop.

When you use Databricks as a data source with Power BI, you extend the performance and capabilities of Databricks beyond data scientists and data engineers to all business users.

You can connect Power BI Desktop to your Databricks clusters and Databricks SQL warehouses.

Choose from one of the following methods to connect to Databricks from Power BI Desktop:

* [Connect to Databricks using Partner Connect](https://docs.databricks.com/aws/en/partners/bi/power-bi/desktop.md#connect-with-partner-connect)
* [Connect to Databricks manually](https://docs.databricks.com/aws/en/partners/bi/power-bi/desktop.md#manual-connection)
* [Power BI OpenSharing connector](https://docs.databricks.com/aws/en/partners/bi/power-bi/desktop.md#power-bi-delta-sharing-connector)

If you want to publish data from Databricks to the Power BI service, see [Publish to the Power BI service from Databricks](https://docs.databricks.com/aws/en/partners/bi/power-bi/service.md).

> [!NOTE]
>
> The Databricks connector for Power BI supports the [Arrow Database Connectivity (ADBC)](https://github.com/apache/arrow-adbc/blob/main/csharp/src/Drivers/Databricks/readme.md) driver. Learn more [here](https://docs.databricks.com/aws/en/partners/bi/power-bi/adbc.md).

## Requirements

* To use data managed by Unity Catalog with Power BI, Databricks recommends using the latest version of Power BI Desktop.

> [!NOTE]
>
> If your operating system is not Windows, run Power BI Desktop on a physical host or a Windows-based virtual machine and then connect to it from your operating system.
>
> If you use a version of Power BI Desktop below 2.85.681.0, install the [Databricks ODBC driver](https://databricks.com/spark/odbc-drivers-download) in the same environment as Power BI Desktop.

* Use one of the following to authenticate:

  * Power BI enabled as an OAuth application in your account. This is enabled by default.
  * A Databricks service principal for machine-to-machine (M2M) OAuth. Power BI Desktop 2.143.878.0 (May 2025 release) or above is required for this authentication method. See [Configure service principals on Databricks for Power BI](https://docs.databricks.com/aws/en/partners/bi/power-bi/m2m.md).
  * A Databricks [personal access token](https://docs.databricks.com/api/workspace/tokenmanagement).

  > [!NOTE]
  >
  > If you use OAuth application (U2M) for authentication, single‑use refresh tokens are used by default for enhanced security. To configure or disable this feature, see [Single-use refresh tokens](https://docs.databricks.com/aws/en/integrations/single-use-tokens.md).

- A Databricks SQL [warehouse](https://docs.databricks.com/aws/en/compute/sql-warehouse/index.md).

## <a id="connect-with-partner-connect" />Connect to Databricks using Partner Connect

You can use Partner Connect to connect to a cluster or SQL warehouse from Power BI Desktop.

1. Make sure your Databricks account, workspace, and the signed-in user meet the [requirements](https://docs.databricks.com/aws/en/partner-connect/index.md#requirements) for Partner Connect.

2. In the sidebar, click ![Marketplace icon](https://docs.databricks.com/aws/en/images/icons/marketplace.png) **Marketplace**.

3. In **Partner Connect integrations**, search for and click the **Power BI** tile.

4. In the **Connect to partner** dialog, for **Compute**, choose the name of the Databricks compute resource that you want to connect.

5. Choose **Download connection file**.

6. Open the downloaded connection file, which starts Power BI Desktop.

7. In Power BI Desktop, if prompted, enter your authentication credentials:

   * **Client credentials**: Use for M2M OAuth. Enter the client ID and client secret of your service principal.
   * **Personal Access Token**: Enter your Databricks personal access token.

   - **Microsoft Entra ID**: Not applicable.

8. Click **Connect**.

9. Select the Databricks data to query from the Power BI **Navigator**.

   ![Power BI Navigator](https://docs.databricks.com/aws/en/images/third-party-integrations/power-bi/power-bi-navigator.png)

## <a id="manual-connection" />Connect to Databricks manually

Follow these instructions, depending on your chosen authentication method, to connect to a cluster or SQL warehouse with Power BI Desktop. Databricks SQL warehouses are recommended when using Power BI in **DirectQuery** mode.

> [!NOTE]
>
> To connect faster with Power BI Desktop, use Partner Connect.

1. Get the [Server hostname and HTTP Path](https://docs.databricks.com/aws/en/integrations/compute-details.md) of your Databricks SQL warehouse.

2. Start Power BI Desktop.

3. Click **Get data** or **File > Get data**.

4. Click **Get data to get started**.

5. Search for **Databricks**, then click the connector **Databricks**.

6. Click **Connect**.

7. Enter the **Server Hostname** and **HTTP Path**.

8. Optionally, specify **Advanced options** configurations.

   You can connect to a Lakehouse//RT warehouse. See [Connect to a Lakehouse//RT warehouse](https://docs.databricks.com/aws/en/partners/bi/power-bi/adbc.md#real-time).

9. Select your **Data Connectivity mode**. For information about the difference between **Import** and **DirectQuery**, see [Use DirectQuery in Power BI Desktop](https://learn.microsoft.com/power-bi/connect-data/desktop-use-directquery).

10. Click **OK**.

11. Select your authentication method:

    * **Personal Access Token**: Enter your personal access token.
    * **OAuth**: Click **Sign in**. A browser window opens and prompts you to sign in with your IdP. After the success message appears, exit your browser and return to Power BI Desktop.
    * **Client credentials**: Use if authenticating with service principals. Enter the client ID and client secret of your service principal.

12. Click **Connect**.

13. Select the Databricks data to query from the Power BI **Navigator**.

    ![Power BI Navigator](https://docs.databricks.com/aws/en/images/third-party-integrations/power-bi/power-bi-navigator.png)

## <a id="power-bi-delta-sharing-connector" />Power BI OpenSharing connector

The Power BI OpenSharing connector allows users to discover, analyze, and visualize datasets shared with them through the [OpenSharing](https://docs.databricks.com/aws/en/opensharing/index.md) open protocol. The protocol enables secure exchange of datasets across products and platforms by leveraging REST and cloud storage. This method only supports **Import** mode and allows you to share data with users not on Databricks.

For connection instructions, see [Power BI: Read shared data](https://docs.databricks.com/aws/en/opensharing/read-data-open.md#power-bi).

## Connection configurations

The Databricks Power BI connector supports the following additional connection configurations.

### <a id="native-sql-queries" />Native SQL queries

The Databricks connector allows you to use native SQL queries for larger operations and compute intensive queries against a Databricks SQL warehouse in Power BI Desktop. This requires Power BI v2.112.603.0 or above (December 2022 release).

Do the following on Power BI Desktop to use native SQL queries:

1. From the **Get Data** menu, find the Databricks datasource.
2. In the connection dialog, enter your catalog and database server details. These fields are required if you want to use native queries.
3. In **Native query**, enter the SQL query you want to submit.
4. After you authenticate, you can query.
5. To modify the query, use the Power BI Advanced Query Editor. Save your query if you make any changes.

### Automated HTTP proxy detection

Power BI Desktop version 2.104.941.0 and above (May 2022 release) has built-in support for detecting Windows system-wide HTTP proxy configuration.

Power BI Desktop can automatically detect and use your Windows system-wide HTTP proxy configuration.

If the proxy server does not provide a CRL distribution point (CDP), Power BI might show the following error message:

```
Details: "ODBC: ERROR [HY000] [Microsoft][DriverSupport] (1200)
-The revocation status of the certificate or one of the certificates in the certificate chain is unknown."
```

To fix this error, complete the following steps:

1. Create the file `C:\Program Files\Microsoft Power BI Desktop\bin\ODBC Drivers\Simba Spark ODBC Driver\microsoft.sparkodbc.ini` if it does not exist.
2. Add the following config to your `microsoft.sparkodbc.ini` file:

   ```ini
   [Driver]
   CheckCertRevocation=0
   ```

## <a id="troubleshoot-ssl" />Troubleshoot SSL verification errors

When connecting Power BI Desktop to Databricks over private network connections, you might encounter SSL certificate verification errors. This occurs when certificate revocation list (CRL) checks fail due to network restrictions.

### Disable certificate revocation checking

Power BI Desktop verifies SSL certificates by checking certificate revocation lists hosted by certificate authorities. Even when using private connections to Databricks, the Power BI ODBC driver attempts to verify certificate validity. These CRL checks use public internet endpoints that might be blocked by firewalls or network security policies.

Disable the certificate revocation check by setting the configuration `CheckCertRevocation=0` to the `microsoft.sparkodbc.ini` file. This allows the ODBC driver to reach the server. For more information, see [Power BI proxy and SSL configuration
](https://kb.databricks.com/bi/powerbi-proxy-ssl-configuration).

### Allow certificate authority endpoints

If you use firewalls or network security policies that restrict outbound traffic, allow access to certificate authority endpoints to enable CRL checks. Databricks SSL certificates use DigiCert as the certificate authority, so enabling traffic to DigiCert endpoints is required for proper CRL validation.

Add the `*.digicert.com` rule to your firewall to connect to Databricks from Power BI Desktop.

## Limitations

* The Databricks connector supports [web proxy](https://learn.microsoft.com/power-bi/connect-data/desktop-troubleshooting-sign-in#using-default-system-credentials-for-web-proxy). However, automatic proxy settings defined in `.pac` files aren't supported.
* In the Databricks connector, the `Databricks.Query` data source is not supported in combination with DirectQuery mode.

- The data that loads using the OpenSharing connector must fit into your machine's local memory. To ensure this, the connector limits the number of imported rows to the **Row Limit** that was set during the initial connection setup. See [Power BI: Read shared data](https://docs.databricks.com/aws/en/opensharing/read-data-open.md#power-bi).

## <a id="additional-resources" />Additional resources

* [Support](https://powerbi.microsoft.com/support/)
* [Power BI cheat sheet](https://docs.databricks.com/aws/en/cheat-sheet/power-bi.md)

- [Power Query documentation](https://learn.microsoft.com/power-query/connectors/databricks)

* [BI serving cheat sheet](https://docs.databricks.com/aws/en/cheat-sheet/bi-serving.md)
* [SQL warehouse settings for BI workloads](https://docs.databricks.com/aws/en/compute/sql-warehouse/bi-workload-settings.md)
