Connect Excel via XMLA
What this covers
Connecting Microsoft Excel to a Tessallite workspace via the XMLA endpoint, selecting a model catalogue, and building a pivot table from the model's dimensions and measures.
Before you start
- Role required: Analyst (Viewer) or higher.
- You will need: Microsoft Excel for Windows with the Data tab available, your email address, and your Tessallite password.
- You will also need the XMLA endpoint URL. The gateway serves XMLA using one scheme selected at startup by
GATEWAY_XMLA_TLS_ENABLED:GATEWAY_XMLA_TLS_ENABLED=false(the default in local Compose) serves plain HTTP, for examplehttp://localhost:8080/api/v1/xmla/;GATEWAY_XMLA_TLS_ENABLED=trueserves TLS, for examplehttps://localhost:8080/api/v1/xmla/, and the gateway must have its TLS certificate and key configured. A reverse proxy may terminate TLS and publish anhttps://URL while the gateway listener behind it remains plain HTTP. The machine where Excel runs does not determine the scheme; the deployment setting and published URL do. - The scheme matters. Excel sends your email address and password on this connection, so use
https://whenever traffic leaves the machine. Use the exact scheme configured for the listener; a plain-HTTP listener does not answerhttps://, and a TLS listener does not answerhttp://. - The trailing slash in the URL is required. The connection wizard does not accept the URL without it.
- Windows Authentication is not supported. You must enter your email address and password manually.
Step 1: Open the connection wizard
- Open Excel.
- Click the Data tab in the ribbon.
- Click Get Data.
- From the menu, select From Database.
- From the submenu, select From Analysis Services.
- The Data Connection Wizard opens.
Step 2: Enter the server address
- In the Server name field, enter the XMLA endpoint URL using the scheme selected by
GATEWAY_XMLA_TLS_ENABLEDand the URL published by your administrator. For example, usehttp://localhost:8080/api/v1/xmla/when the setting isfalse, orhttps://localhost:8080/api/v1/xmla/when it istrue. - Under Log on credentials, select Use the following User Name and Password.
- In the User Name field, enter your email address.
- In the Password field, enter your Tessallite password.
- Click Next.

Step 3: Select a catalogue
- Excel connects to the gateway and retrieves a list of available catalogues.
- Each model appears at least twice in the list:
- The full model name
tenant__project__model(e.g.acme__sales__orders) — this is the business view, with curated fields and calculated measures. - The same name with
__technicalappended (e.g.acme__sales__orders__technical) — this is the unfiltered view, intended for modellers and power users. - Only these full names (or the model id) connect. A short name such as
ordersororders_technical, saved by an older workbook, is refused as not found. - A model that holds several lines of figures (fact groups) has further entries, one per fact group, each ending in the fact group's name. Choose one of these when you want to work on one line only. See Excel Catalogues per Fact Group.
- Select the catalogue you want to connect to. For most purposes, select the business view.
- Click Next, then click Finish.

Step 4: Build a pivot table
- Excel asks where to place the data. Select a cell in your worksheet and click OK.
- The PivotTable Field List opens on the right side. It shows the dimensions and measures from the selected model.
- Drag dimension fields to the Rows or Columns area.
- Drag measure fields to the Values area.
- Excel queries Tessallite and populates the pivot table with results.
Refreshing the data
Right-click anywhere in the pivot table and select Refresh to retrieve the latest data from Tessallite.
Tenant-specific URL
If your system administrator has set up per-tenant XMLA endpoints, the URL format is:
https://<hostname>:8080/api/v1/xmla/<workspace-slug>
Replace <hostname> with the gateway host and <workspace-slug> with your workspace identifier. This form does not require a trailing slash.
Use the scheme selected by GATEWAY_XMLA_TLS_ENABLED for a directly exposed gateway. If a load balancer or reverse proxy terminates TLS, use its published https:// URL even when the gateway's internal listener uses plain HTTP. Do not infer the scheme from whether <hostname> is localhost; ask your system administrator for the published URL. The wrong scheme either fails to connect or, for a remote plain-HTTP connection, sends your password in the clear.
Troubleshooting
| Symptom | Likely cause | What to do |
|---|---|---|
| "Unable to connect to data source" | Wrong URL format or gateway not running | Confirm the URL includes the trailing slash. Confirm the gateway service is running. |
| "Unable to connect" against a host that is running | Wrong scheme for how the gateway is published | Check GATEWAY_XMLA_TLS_ENABLED and any reverse-proxy configuration. A TLS listener does not answer http://, and a plain-HTTP listener does not answer https://. Use the published URL from your system administrator. |
| No catalogues appear after entering credentials | Authentication failed | Re-enter your email address and password. Do not select Windows Authentication. |
| Pivot table shows no data | No data in the model's source | Verify with the modeller that the source connection is active and data is present. |
| Pivot table figures appear incorrect | Wrong catalogue selected | Disconnect and reconnect using the plain catalogue name (business view), not the _technical variant. |