Connecting to Promethium from PowerBI
Prerequisites
To connect to Promethium from PowerBI, you'll need the following:
- Trino ODBC driver
- Trino custom PowerBI connector
- Driver license key
Contact your Promethium point of contact for any of the above if not yet provided.
Connecting to PowerBI Desktop
Promethium provides access to assets to connect via PowerBI Desktop using an ODBC driver and a DSN.
Steps to Install ODBC Driver
- Install either the 32-bit or 64-bit driver using the respective installer.
Simba Trino 2.3 32-bit.msiSimba Trino 2.3 64-bit.msi
Steps to Install the License
- Navigate to the install directory of the ODBC driver, typically
C:\Program Files\Simba Trino ODBC Driver. - Move the
.licfile to thelib/sub-directory.
Steps to Enable the PowerBI Custom Connector
Installation
- Move
trino_odbc.mezto%USERPROFILE%\Documents\Power BI Desktop\Custom Connectorsfor Microsoft Store installations or%USERPROFILE%\Documents\Microsoft Power BI Desktop\Custom Connectorsfor installations using the standalone installer.- If the install method is unknown, only one of these folders should exist.
Configuration
- Start PowerBI Desktop.
- Navigate to Options and Settings > Options > Security.
- Under Data Extensions, enable "Allow any extension to load without validation or warning."
- Under Authentication Browser, enable "Use my default web browser."
- Select OK and close PowerBI Desktop.
For further information, please refer to the PowerBI documentation
Establishing Connectivity
- Open the 32-bit or 64-bit ODBC Data Source manager aligning with the installed driver version.
- Create a new DSN (User or System level).
- Select the "Simba Trino ODBC Driver."
- Name your data source. This will be the reference used in PowerBI Desktop to connect.
- Authentication Type -> OIDC Authentication
- User -> Leave empty
- Host -> Trino URL, e.g.
<subdomain>-trino.prod.promethium.ai - Port -> 443
- Advanced Options:
- Enable Remove Type Name Parameters
- Enable Cache Access Token
- (Optional) Set
AccessTokenCacheLocationto the desired location for the cached access token
- Select "Test...". This should open the usual Promethium SSO flow.
- After a successful test, select "OK."
- Open PowerBI Desktop.
- Navigate to PowerBI's searchable connector list (e.g. "Get data from other sources" / Blank Report -> Get Data -> Other).
- Search for "Simba Trino (Custom)."
- DSN -> Data source name from 2.2 above.
- (Optional) Enter Native query. This requires specifying a data source name in the optional Catalog field.
- Data Connectivity Mode -> select Import or DirectQuery.
- Select OK.
- When the DSN name is presented, select Connect.
Connecting to PowerBI Service
Pre-Requisites
To connect to PowerBI Service you'll need admin access to the machine running an On-premises Gateway.
Driver Installation
See "Connecting to PowerBI Desktop" > "Steps to Install ODBC driver" and "Steps to Install the License"
Steps to Enable the PowerBI Custom Connector
- Open the On-premises data gateway administrative panel.
- Navigate to the Connectors tab.
- Note the folder under "Load custom data connectors from folder:" input. Modify as needed.
- Move
trino_odbc.mezto the location above. - Ensure the gateway's service account has access to the folder.
- Service account is found under the Service Settings tab.
- From the Service Settings tab, restart the gateway after relocating the connector
mezfile.
Establishing Connectivity
Pre-Requisites
- A Promethium user that can authenticate with Trino using LDAP / username & password.
DSN Creation
- Open ODBC data sources (32- or 64-bit dependent on the driver version installed).
- Create a new System DSN.
- Select the "Simba Trino ODBC Driver."
- Name your data source. This will be the reference used in PowerBI Service to connect.
- Authentication Type -> LDAP
- User -> Username from pre-requisites
- Password -> Password from pre-requisites
- Password Options -> Select "All Users of this Machine"
- Host -> Trino URL, e.g.
<subdomain>-trino.prod.promethium.ai - Port -> 443
- Advanced Options:
- Enable Remove Type Name Parameters
- Test the connection with "Test..."
- After a successful test, select "OK."
PowerBI Service Connection
- Create a cloud connection using:
- The name of the On-premises gateway from above
- The name of the DSN created above
- Anonymous authentication (leverages LDAP from the DSN)
Connecting PowerBI Desktop Reports to PowerBI Service
After publishing a report from PowerBI Desktop for consumption in Service, you may see a "Your file was published, but disconnected" warning. If so, modify the DSN mapping for the report's semantic model:
- Select Dataset Settings > Gateway and Cloud Connections
- This can be found at
https://app.powerbi.com/groups/<group_uuid>/settings/datasets?experience=power-bi.
- This can be found at
- Under the gateway above, map the following data source to the cloud connection configured in PowerBI Service above:
"Extension{
"extensionDataSourceKind": "SimbaTrino",
"extensionDataSourcePath": "{\"DSN\": \"<Gateway_Machine_DSN_Name>\"}"
}"
Frequently Asked Questions
Q: Why do I see "Trino Query Error: Error listing tables for catalog..." when browsing catalogs in Power BI Desktop?
Issue: When exploring catalogs in Power BI Desktop, you may encounter the error message "Trino Query Error: Error listing tables for catalog..." This occurs when Power BI attempts to query all available catalogs, but one or more catalogs in your Trino environment are unhealthy or unavailable at the time of connection.
Resolution: To avoid this error and ensure a successful connection, populate the optional Catalog field when establishing your connection to Promethium (step 9 in "Establishing connectivity") with the specific healthy catalog you want to connect to.
- By specifying a catalog, Power BI will scope its queries to only the designated catalog rather than attempting to list tables across all catalogs.
- This approach ensures your connection succeeds even when other catalogs in the environment may be temporarily unavailable.