Back to Cube

Microsoft Power BI

docs-mintlify/admin/connect-to-data/visualization-tools/powerbi.mdx

1.6.573.4 KB
Original Source

Microsoft Power BI is a popular business intelligence tool.

Cube Cloud works with both Power BI Desktop and Power BI Service. If you're using Power BI Service, you need to set up an on-premises data gateway.

<iframe width="100%" height="400" src="https://www.youtube.com/embed/vgrFPOMuJJs" title="YouTube video" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

Connect to the DAX API

Cube Cloud provides the DAX API for the native Power BI connectivity.

<Info>

Previously, Semantic Layer Sync was recommended as a way to connect to Power BI. Since the introduction of the DAX API, it's now the preferred method.

</Info>

In Power BI Desktop, choose the SQL Server Analysis Services database option when connecting to a data source. Then, enter the DAX API credentials and choose Windows authentication. It accomodates both Kerberos and NTLM methods.

To find your DAX API credentials, go to the Integrations page, click API credentials, and choose the DAX API tab.

Authentication methods

Cube Cloud supports the following authentication methods for Power BI:

ApplicationAuthenticationNotes
Power BI DesktopNTLM🟡 Works well for testing purposes
Power BI DesktopKerberos🟢 Recommended for production
Power BI ServiceNTLM + Kerberos🟢 Recommended for production.
Requires on-premises data gateway

Connection methods

Cube uses Power BI's live connection mode. You compose queries using the Power BI UI, and they run against your Cube semantic model in real time, so you always work with up-to-date data and an up-to-date model.

<Warning>

Power BI's other connection methods, DirectQuery and import mode, are not supported. Because writing your own DAX queries requires DirectQuery, custom DAX queries are not supported either.

</Warning>

Connect to the SQL API

You can connect a Cube deployment to Power BI using the SQL API as if Cube is a Postgres database. It would provide much more limited functionality than the DAX API. However, this is the only option when using Cube Core.