Skip to main content
Version: 24.3.x

Creating Reports by Connecting to Dremio Software with the Dremio Cloud Connector

If you want other Power BI users to use Single Sign-On (SSO) when viewing your reports from Power BI Service, create your reports by using the Dremio Cloud connector to connect to your Dremio Software cluster. After you publish a report, enable it to support SSO.

For information about what SSO is, see the note in Creating Reports.

Prerequisites

1. Creating a Connection to Dremio Software

  1. In Power BI Desktop, click Get data. The pins in this image show two locations for this option.

  2. In the Get Data dialog, search for "Dremio"; then, select Dremio Cloud.

  3. Click Connect.

  4. Follow these steps:

    a. In the Server field, specify the hostname or IP address of the coordinator node of your Dremio cluster. If you are using a port number other than the default of 443, specify the port number, too, using this format: hostname:port_number.

    note

    If you are using TLS for connections to your Dremio cluster, ensure that you specify a hostname that matches one of the following fields in the certificate associated with the hostname and client port that Power BI connects to:

    • Subject - Common Name (CN)
    • Subject Alternative Names (SAN)

    b. (Optional) In the Engine field, specify the name of the engine on which to run queries that use this connection. If you do not specify an engine, one is selected automatically according to engine routing rules set up for the cluster.

    c. (Optional) In the Tag field, specify a tag that you can use together with rules for routing queries. See Workload Management for more information.

    d. (Optional) In the Queue field, specify the name of a queue that you want to route queries to while this connection is open. See Workload Management for more information.

    e. If you are using a certificate that is based on a root CA that is not installed in the truststore on your Power BI Service Capacity, select Enabled-PEM in the Trusted certificates location field.

    f. Under Data Connectivity mode, select DirectQuery.

    note
    • No data is imported or copied into Power BI Desktop. As you create or interact with a visualization, Power BI Desktop queries the underlying data source, so you’re always viewing current data.
    • Using DirectQuery might prevent the use of aggregation reflections for accelerating queries on columns that use the FLOAT datatype. DirectQuery translates FLOAT columns to DECIMAL columns when loading tables into Power BI. Then, in queries on the transformed columns, Power BI casts the DECIMAL to DOUBLE, which prevents such queries from matching aggregation reflections that use FLOAT for those columns.
  5. Sign in to your Dremio cluster. Select Microsoft Account in the sidebar. If you are already signed into a Microsoft account, the username for it appears in the dialog. If that is the account you want to use, click Connect. Otherwise, click Sign in, specify your username and password, and then click Connect.

    note

    You can use Microsoft authentication only if an administrator for your Dremio cluster has enabled the use of Microsoft credentials. You must use your Microsoft credentials if you want to enable Single Sign-on for viewers of reports created with this connection.

The Navigator window is opened, listing the datasets in your project.

2. Publishing Reports

After you create a report that uses data in Dremio, you can publish the report to Power BI Service.

  1. Launch Power BI Desktop.
  2. Sign into Power BI Service, if you are not already signed in. To sign in, select File in the top-left corner of the screen and then select Sign in at the bottom-left corner of the menu that appears.
  3. Navigate to Files > Publish > Publish to Power BI.
  4. Select the destination. You may pick from a list of available workspaces to choose the desired one on which to publish. Select the workspace, and then click the Select button to publish.

If Power BI Service connects to Dremio through Power BI Gateway, follow these additional steps:

note

You must connect to your Dremio cluster through a gateway if the cluster is behind a firewall.

  1. Log into Power BI Service.
  2. Select Workspaces > Name of workspace.
  3. In the list, find your dataset for your report in the list, click the ellipsis button, and select Settings.
  4. In the settings for the dataset, expand Gateway connection.
  5. Recreate your data source by following these steps:
    1. Select the Maps to field.
    2. Select Manually add to gateway.
    3. In the New data source dialog, create a data source that matches the one that you previously used for your dataset. However, give the new data source a different name.
    4. In the Authentication method field, select OAuth2. Then, follow these steps:
      1. Click Edit credentials.
      2. Keep the authentication method OAuth2 selected.
      3. Keep the privacy level Private selected.
      4. Click Sign In. Follow the sign-in process until you return to this location.
    5. Click Create.
    6. Return to the settings for your dataset.
  6. Under Gateway connection, verify that the new data source is selected in the Maps to field.

3. Enabling Single Single-On on Published Reports

Enabling SSO When Power BI Service Connects Directly to Dremio Software

note

These steps require that the report was published with Power BI Desktop November 2022 or later.

  1. Log into Power BI Service.
  2. Open the workspace to which you published the report.
  3. Find the report and click the three dots next to its name.
  4. Select Settings.
  5. If you see the warning "One or more cloud data sources for this dataset have been deleted.", follow these steps to make the warning disappear:
    1. Expand the Gateway connection section.
    2. Collapse the Gateway connection section.
  6. Expand the Data source credentials section and click Edit credentials.
  7. In the configure dialog, follow these steps:
    1. In the Authentication method field, ensure that OAuth2 is selected.
    2. In the Privacy level setting for this data source field, ensure that Private is selected.
    3. Select the check box Report viewers can only access this data source with their own Power BI identities using DirectQuery.
    4. Click Sign in.

Enabling SSO When Power BI Service Connects to Dremio Software Through Power BI Gateway

  1. Log into Power BI Service.
  2. Select Workspaces > Name of workspace.
  3. In the list, find your dataset for your report in the list, click the ellipsis button, and select Settings.
  4. In the settings for the dataset, expand Gateway connection.
  5. Recreate your data source by following these steps:
    1. Select the Maps to field.
    2. Select Manually add to gateway.
    3. In the New data source dialog, create a data source that matches the one that you previously used for your dataset. However, give the new data source a different name.
    4. In the Authentication method field, select OAuth2. Then, follow these steps:
      1. Click Edit credentials.
      2. Keep the authentication method OAuth2 selected.
      3. If you want to enable single sign-on (SSO) for viewers of your report, and you created the report by using a Dremio Cloud connection type in Power BI Desktop November 2022 or later: Select the option Use SSO via Azure AD for DirectQuery queries.
      4. Click Sign In. Follow the sign-in process until you return to this location.
    5. Click Create.
    6. Return to the settings for your dataset.
  6. Under Gateway connection, verify that the new data source is selected in the Maps to field.

Result

Your reported is published and ready for other Power BI users to view it.