Power BI connects to eMondrian with a live connection, the same way it connects to Analysis Services. Your cubes appear as a Power BI semantic model — measures, dimensions and hierarchies, ready for visuals. Nothing is imported: every visual sends a DAX query, eMondrian evaluates it against the model and queries your database.
Power BI needs the DAX module. It’s included in the Community download and unlocked by a license key — a free 30-day evaluation key is available.
Connect (Power BI Desktop)
- Activate a key on
http://localhostif you haven’t yet — see Evaluation key. - Get data → Analysis Services.
- Server:
http://localhost/xmla(orhttp://<server-address>/xmla— see Access from another machine). - Database: the catalog name, e.g.
OnTime(optional — you can pick it in the next step). - Select Connect live and click OK.
- With authentication on, Power BI asks for credentials: choose Database and enter your eMondrian user name and password, or your personal token as the password. If Connect live keeps asking (it sends no saved password), use as the server the address with your token in it,
PUBLIC_URL/xmla?emondrian_token=<token>: issue the token atPUBLIC_URL/account/tokensor with Power BI live connection on the main page. See Personal tokens.
- With authentication on, Power BI asks for credentials: choose Database and enter your eMondrian user name and password, or your personal token as the password. If Connect live keeps asking (it sends no saved password), use as the server the address with your token in it,
- Pick the cube, e.g. OnTime (attributes).
To try it without installing anything, use the public demo: server https://demo.emondrian.com/xmla, database OnTime or FoodMart. Its data is read-only.
The Data pane now shows the model. Build visuals as usual — for example a bar chart of On-Time Rate by Airline, or a line chart of Flights by Time with drill-down from Year to Month.
See the DAX Power BI sends
- Optimize → Performance analyzer → Start recording.
- Refresh a visual.
- Expand the visual and click Copy query.
This is the DAX eMondrian receives. The matching SQL is in mondrian-sql.log (Logs).
What works
The DAX module targets the queries Power BI generates for common visuals — tables, matrices, charts, cards, slicers, filters and hierarchy drill-down. Test your own reports — see DAX support for details.
Publish to the Power BI Service
A report with a live connection to eMondrian can be published to the Power BI Service. The Service reaches eMondrian through the on-premises data gateway, using the gateway’s built-in Analysis Services connection type. Nothing database-specific is installed on the gateway: no ClickHouse ODBC driver and no custom connector. The gateway only needs to reach eMondrian’s XMLA address.
What you need
- eMondrian 10.0.62 or later (Community release 2026.11.02 or later — see its changelog). Earlier versions open published reports, but the Service’s model check fails and dashboard tiles do not refresh.
- A report with a live connection to eMondrian, built in Power BI Desktop as above or by an agent.
- The on-premises data gateway in standard mode (not personal mode), on a Windows machine that can reach the eMondrian address, e.g.
https://<server-address>/xmla— see Access from another machine. - A Power BI account. With a Free licence you can open the report in My workspace; sharing it with others needs Pro or Premium Per User.
1. Add the connection to the gateway
Install the gateway and sign in. Then, in the Power BI Service: Settings → Manage connections and gateways → New → On-premises.
| Field | Value |
|---|---|
| Gateway | your gateway |
| Connection type | Analysis Services |
| Server | eMondrian’s XMLA address, e.g. https://<server-address>/xmla |
| Database | the catalog name, e.g. OnTime |
| Authentication | Windows, for a server with eMondrian’s authentication off |
| Privacy level | Organizational |
2. Publish from Power BI Desktop
Open the report in Desktop, click Publish and choose a workspace. The Service matches the report to the gateway connection by server and database. If it does not, open the semantic model’s Settings → Gateway and cloud connections and map it to the connection from step 1.
3. Open it in the browser
Every visual queries the model live through the gateway. Nothing is imported into Power BI, and the report itself needs no scheduled refresh.
4. Pin visuals to a dashboard
Pin visuals to a dashboard as usual. The tiles show live data and refresh automatically through the same gateway connection (eMondrian 10.0.62 or later).
5. Export and edit
These work in the Service as they do with other live sources:
- Export data from a visual to
.xlsxor.csv. Underlying data is offered too; on a live connection it returns the same aggregated rows as the visual. - Export the report to PDF or PowerPoint, with every visual and its data.
- Edit the report in the browser: add or change visuals and save.
Every viewer of a published report is served as the gateway connection’s user, so all viewers see the same data.
Tested with Community 2026.11.07.2, gateway 3000.338.2 and a Power BI Free licence. Subscriptions, Export with live connection and the mobile app need a paid Power BI licence and weren’t tested.
Limitations
Not supported by Microsoft
Power BI connects through its Analysis Services connector. Microsoft officially supports only a few third-party semantic models, and eMondrian is not one of them. In practice it works, and we test new Power BI releases — but Microsoft support won’t help with this setup. eMondrian Enterprise includes support for it.
- Live connection only. Measures come from the eMondrian schema. Power BI treats eMondrian as a multidimensional source, so New measure, Quick measure and Visual calculation are unavailable in the report. Define every measure in the schema, including time calculations such as previous year or year-to-date: they are calculated members in the cube, and visuals reference them like any other measure.
- Smart narrative and the Q&A visual aren’t available. Power BI doesn’t support Smart narrative on a live connection to Analysis Services and says so in its own message; the Q&A visual isn’t offered.
- License required for metadata too. Power BI reads the field list through the DAX module. Without a valid key, Power BI can’t even show the fields; Excel keeps working.
Troubleshooting
| Problem | What to check |
|---|---|
| Connection error, or no fields | Is a key activated on http://localhost and not expired? If Excel works and Power BI doesn’t, check the key first. |
No eMondrian licence found | No key activated — see Evaluation key. |
Your eMondrian licence expired | Request an extension and activate it — no restart needed. See Evaluation key. |
| A visual fails | Copy its DAX from Performance analyzer and open an issue. |
Service: dashboard tiles don’t refresh, or the refresh fails with FailedDeserializeSchema | Upgrade to eMondrian 10.0.62 or later. |
| Service: the report can’t find a gateway connection | The gateway connection’s server and database must match the report’s exactly; map it under the semantic model’s Settings → Gateway and cloud connections. |
Reports built by AI agents
An AI agent connected over MCP can build a Power BI report for you: a Power BI project (PBIP) with a live connection to your eMondrian model, which you open in Power BI Desktop and can then publish as above. The agent can also change the report while it is open in Desktop. See Build Power BI reports with an agent.
More: Troubleshooting.