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.
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
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
Download the gateway installer from Microsoft.
Run the installer, keep the default installation path, accept the terms, and click Install.
Enter the same email address used to set up Power BI Desktop and sign in.
Register the gateway
Select Register a new gateway on this computer and click Next.
Enter a name for the gateway; it must be unique.
Enter a recovery key and store it somewhere safe. You will need it to recover or move the gateway later.
Click Configure, then Close once the setup completes.
Add the DataOS connector
Create the folder
C:\PowerBI\CustomConnectors\on the gateway machine if it doesn't exist.Download
DataOS.mezfrom the link above.Drop the file in
C:\PowerBI\CustomConnectors\.Open the On-premises data gateway app.
Go to Connectors.
Set the custom connectors folder to
C:\PowerBI\CustomConnectors\.Restart the gateway.

2. Publish the report
If you haven't built the report yet, start with Power BI Desktop, save, and come back.
In Power BI Desktop, open the Home tab. Click Publish.
On the Publish to Power BI screen, select your workspace (e.g. My Workspace) and click Select.
Sign in to Power BI Service if prompted.
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
In Settings, expand Manage connections and gateway.
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.

Click + New or Create a connection.
Make sure On-premises is selected.
Enter the following:
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
Click Add.
Map the connection to the semantic model
Go back to the semantic model Settings page.
Under Gateway and cloud connections, pick the connection you just created.
Click Apply.
Open the report. The visuals should now load data.
Troubleshooting
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?