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

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.

Requirement
Detail

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.msi

Allow third-party connectors in Power BI

  1. Open Power BI Desktop

  2. Go to File → Options and settings → Options → Security.

  3. 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.

archive · 32KB
Open

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

  1. Search for Edit the system environment variables in Windows and open it.

  2. Go to the Advanced tab and click Environment Variables at the bottom.

  3. Under System variables, click New.

  4. Enter the following:

    • Variable name: LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN

    • Variable 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

  1. 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
  2. Download the .pbip file. Click Download. The .pbip package comes pre-configured with the endpoint and semantic model references for that Data Product.

  3. Extract the archive. The download is a ZIP. Extract it before opening anything inside. You should see:

    File or folder
    What it contains

    tenant_name_<product_name>.pbip

    The 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.pbism and model.bim.

    Extract before opening. Opening the .pbip from inside the ZIP can throw missing-file errors.

  4. Open the .pbip file. Double-click it. Power BI Desktop opens it automatically. If you get a connectivity or security dialog, click OK.

  5. Enter credentials. When prompted:

    • Username: your DataOS User ID.

    • Password: your DataOS API token.

  6. 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

Symptom
Quick fix

"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?