Power BI Desktop
Connect Power BI Desktop to turn your dimensions and measures into charts, dashboards, and drill-downs - no SQL required.
Power BI connects to your semantic layer over the MySQL wire protocol.
Every dimension, measure, and join already defined in your semantic models shows up in the Fields pane, ready for visuals: no Power Query, no redefining measures and dimensions.
Prerequisites
Set these up once on the Windows machine running Power BI Desktop. You only need to do this the first time.
Operating System
Windows Only. Power BI Desktop isn't available for MacOS/Linux operating systems.
Power BI Desktop
MySQL Connector ODBC
Install 8.0.23 exactly. Download the ODBC Connector.
DataOS Username
Your DataOS user ID, found under Profile → Id.
Generate from Profile → Tokens, or copy a token from Before you begin.
Install the MySQL ODBC connector
Download and install version 8.0.23:
https://downloads.mysql.com/archives/get/p/10/file/mysql-connector-odbc-8.0.23-winx64.msiAllow third-party connectors in Power BI
Open Power BI Desktop
Go to File → Options and settings → Options → Security.
Under Data Extensions, select Allow any extension to load without validation or warning.
Click OK and restart Power BI Desktop.
Install the DataOS Power BI connector
Download the DataOS.mez file and place it in your Power BI\Custom Connectors folder.
The exact path varies by system. The default location is:
If the Custom Connectors folder doesn't exist, create it.
Set the cleartext authentication variable
Search for Edit the system environment variables in Windows and open it.
Go to the Advanced tab and click Environment Variables at the bottom.
Under System variables, click New.
Enter the following:
Variable name:
LIBMYSQL_ENABLE_CLEARTEXT_PLUGINVariable value:
1
This enables MySQL's cleartext authentication plugin, which allows Power BI to authenticate with servers that require mysql_clear_password. Restart Power BI Desktop after adding the variable.
Connect to your semantic layer
Open the Power BI guide from the Data Product. Open the Data Product in DataOS. Go to Activate → BI Tools and open the Power BI guide.

In-product Power BI setup page showing the one-time setup, .pbip download, and credentials Download the
.pbipfile. Click Download. The.pbippackage comes pre-configured with the endpoint and semantic model references for that Data Product.Extract the archive. The download is a ZIP. Extract it before opening anything inside. You should see:
File or folderWhat it containstenant_name_<product_name>.pbipThe entry point. Double-click this to open the project in Power BI Desktop.
public_<product_name>.Report/Report metadata, including
definition.pbir.public_<product_name>.SemanticModel/Semantic model files, including
definition.pbismandmodel.bim.Open the
.pbipfile. Double-click it. Power BI Desktop opens it automatically. If you get a connectivity or security dialog, click OK.Enter credentials. When prompted:
Username: your DataOS User ID.
Password: your DataOS API token.
Semantic models are loaded. After authentication, the semantic models load into the Fields pane. Dimensions and measures are ready to use in visuals, dashboards, and reports.
Troubleshooting
"There weren't enough elements in the enumeration..."
Wrong ODBC version. Uninstall all MySQL ODBC connectors and reinstall 8.0.23.
DataOS connector doesn't appear in Power BI
Check: .mez file is in the Custom Connectors folder and the security setting allows extensions. Restart Power BI.
"cleartext password not allowed"
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1 is not set in the system environment. Add it, then restart Power BI Desktop.
Connection times out
Check VPN / firewall. Re-download the .pbip if you switched tenants.
For data types, best practices, limitations, governance, and a curl-based download, see the Power BI Desktop reference in References.
Last updated
Was this helpful?