For the complete documentation index, see llms.txt. This page is also available as Markdown.

Power BI Service

Publish Power BI reports to Power BI Service and connect them to DataOS through an on-premises gateway.

Publish your semantic-model reports to Power BI Service so the team uses dashboards from the cloud, no Power BI Desktop required.

Power BI Service reaches DataOS through an on-premises data gateway running inside your network.

Just need the gateway part? See Set up an on-premises gateway.

How it works

Build and test the report in Power BI Desktop, then publish it to Power BI Service.

The on-premises gateway bridges Power BI's cloud to your DataOS endpoint. Visual queries from Power BI Service route through the gateway to the DataOS semantic layer and back.

Prerequisites

Requirement
Detail

Power BI Desktop

Version 2.132.908.0 or later. Complete Desktop setup first.

Power BI Service account

An active Power BI Pro or Premium account.

On-premises Data Gateway

Download from Microsoft. Install on a Windows machine that can reach your DataOS endpoint.

DataOS Power BI connector

Drop DataOS.mez into C:\PowerBI\CustomConnectors\ on the gateway machine.

DataOS Username

Used as the gateway connection username.

Used as the gateway connection password. Generate one from Before you begin.

Most organizations install the gateway and connector inside their own network. Talk to your DataOS administrator if port whitelisting is needed.

1. Set up the gateway

If the gateway is already configured, skip to Publish the report.

Install the gateway

  1. Download the gateway installer from Microsoft.

  2. Run the installer, keep the default installation path, accept the terms, and click Install.

  3. Enter the same email address used to set up Power BI Desktop and sign in.

The sign-in account must be an organization account. Personal Microsoft accounts don't work.

Register the gateway

  1. Select Register a new gateway on this computer and click Next.

  2. Enter a name for the gateway; it must be unique.

  3. Enter a recovery key and store it somewhere safe. You will need it to recover or move the gateway later.

  4. Click Configure, then Close once the setup completes.

Add the DataOS connector

  1. Create the folder C:\PowerBI\CustomConnectors\ on the gateway machine if it doesn't exist.

  2. Download DataOS.mez from the link above.

  3. Drop the file in C:\PowerBI\CustomConnectors\.

  4. Open the On-premises data gateway app.

  5. Go to Connectors.

  6. Set the custom connectors folder to C:\PowerBI\CustomConnectors\.

  7. Restart the gateway.

After the restart, DataOS should appear in the connectors list.

Image

2. Publish the report

If you haven't built the report yet, start with Power BI Desktop, save, and come back.

  1. In Power BI Desktop, open the Home tab. Click Publish.

  2. On the Publish to Power BI screen, select your workspace (e.g. My Workspace) and click Select.

  3. Sign in to Power BI Service if prompted.

  4. When the success message appears, click Open to view the report in Power BI Service.

3. Configure the gateway connection in Power BI Service

Create a new gateway connection

  1. In Settings, expand Manage connections and gateway.

  2. Go to On-premises data gateways, find your gateway name, click the three dots, select Settings, and tick the checkbox that allows the required permission, as shown in the image. Image

  3. Click + New or Create a connection.

  4. Make sure On-premises is selected.

  5. Enter the following:

Field
Value

Gateway cluster name

The gateway you registered.

Connection name

Anything you like, e.g. on-prem.

Connection type

DataOS

Server / DataOS Data Source

DATAOS_TCP_HOST:3306;<tenant>.<data-product-name>

Database

Leave blank.

Authentication

Basic

Username

Your DataOS username.

Password

Your DataOS API token.

Encrypted connection

Not encrypted

  1. Click Add.

Map the connection to the semantic model

  1. Go back to the semantic model Settings page.

  2. Under Gateway and cloud connections, pick the connection you just created.

  3. Click Apply.

  4. Open the report. The visuals should now load data.

You're connected

Troubleshooting

Symptom
Fix

DataOS connector isn't visible in the gateway

Confirm DataOS.mez is in C:\PowerBI\CustomConnectors\ and restart the gateway.

Gateway connection fails on save

Confirm port 3306 is whitelisted between the gateway machine and DataOS. Re-check username and API token.

Connection reset in Power BI Desktop

Go to Home → Queries → Refresh.

Unknown cluster error

Redeploy the cluster, then click Refresh in Power BI Desktop.

Semantic model shows no data in Power BI Service

The gateway connection isn't mapped yet. Complete Connect the published model to the gateway.

Schema changes don't show up in Power BI Service

Re-publish the updated .pbip from Power BI Desktop. Schema changes don't propagate automatically.

For how the gateway connection works, supported connection types, data refresh behavior, and the full troubleshooting guide, see the Power BI Service reference in References.

Last updated

Was this helpful?