Skip to content

docs: Add a guide for connecting Power BI to Trino - #963

Open
lfrancke wants to merge 1 commit into
mainfrom
docs/power-bi
Open

lfrancke wants to merge 1 commit into
mainfrom
docs/power-bi

Conversation

@lfrancke

@lfrancke lfrancke commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Adds a how-to guide under Guides that answers "I run Power BI X, how do I reach Trino on SDP?"

We've had this question a lot this year and it's not easy with so many options.
I hope this clarifies it.

@netlify

netlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stackable-docs ready!

Name Link
🔨 Latest commit 3cf836d
🔍 Latest deploy log https://app.netlify.com/projects/stackable-docs/deploys/6ad76e58129d47f3d23fbc81
😎 Deploy Preview https://deploy-preview-963--stackable-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lfrancke lfrancke self-assigned this Oct 20, 2026
@lfrancke lfrancke moved this to Development: In Progress in Stackable Engineering Oct 20, 2026
@lfrancke

Copy link
Copy Markdown
Member Author

@lfrancke lfrancke moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Oct 20, 2026
@adwk67
adwk67 self-requested a review October 20, 2026 13:49
@adwk67 adwk67 moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Oct 20, 2026
@sbernauer

Copy link
Copy Markdown
Member

I didn't read the content (@adwk67 does), but to me https://docs.stackable.tech/home/stable/trino/usage-guide/connect_to_trino/ would be a good place to have this.
We could e.g. add a sub-page for every Trino client

@adwk67 adwk67 left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really helpful - thank you! Just minor things. I think it fits better in the Trino ODBC driver repo, though (users may well need this without SDP, and if they use SDP they will need the ODBC driver anyway), and linked to from our (trino) docs and the postgresql-trino gateway.

Per-user restrictions have to be Power BI row-level security.
A DirectQuery model can use only one custom-connector data source, and Kerberos with Windows authentication isn't available for custom connectors through the data gateway.

If the data gateway machine must not run custom connectors or third-party drivers, use the <<postgresql-to-trino-gateway>> instead.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If the data gateway machine must not run custom connectors or third-party drivers, use the <<postgresql-to-trino-gateway>> instead.
If the data gateway machine should not or cannot run custom connectors or third-party drivers, use the <<postgresql-to-trino-gateway>> instead.

== Power BI Desktop

Power BI Desktop is a Windows application on the analyst's PC.
It queries Trino directly from that PC, without Microsoft's cloud in the path.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think "(the) Microsoft Cloud" is a more natural fit than "Microsoft's cloud"

|===

Where both routes work, the ODBC driver is the recommended one, because the connector sends Trino SQL straight to Trino.
The PostgreSQL-to-Trino gateway adds a component in Kubernetes and has to rewrite the PostgreSQL that Power BI generates into SQL that Trino parses.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a word missing here? DML, commands, dialect, or something...

Suggested change
The PostgreSQL-to-Trino gateway adds a component in Kubernetes and has to rewrite the PostgreSQL that Power BI generates into SQL that Trino parses.
The PostgreSQL-to-Trino gateway adds a component in Kubernetes and has to rewrite the PostgreSQL commands that Power BI generates into SQL that Trino parses.


To use the PostgreSQL-to-Trino gateway instead, deploy it as described in <<postgresql-to-trino-gateway>> and connect with Power BI's built-in *PostgreSQL database* connector.

== Power BI Service

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should test PowerBI service soon. PBI is not included in our Azure subscription, though. Prices: https://www.microsoft.com/en/power-platform/products/power-bi/pricing


The Power BI Service runs in Microsoft's cloud and reaches Trino only through Microsoft's on-premises data gateway.
The data gateway is a Windows service that you install on a machine that can reach Trino.
The data gateway talks to both the Power BI Service and Trino, and passes queries and results between them.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The data gateway talks to both the Power BI Service and Trino, and passes queries and results between them.
It talks to both the Power BI Service and Trino, and passes queries and results between them.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

3 participants