FAQ¶
What are the minimum system requirements for installing XLTable?¶
See System requirements.
After installation, I see a message that no license is found or that xltable.lic is missing.¶
You need to upload a license file. Open the Admin Panel (see Admin panel).
Send the server ID to the vendor or partner who provided your distribution package. Then upload the license file you receive through the Admin Panel.
I cannot connect to the XLTable server from Excel.¶
I get errors such as “Connection failed, target computer actively refused it,” timeout errors, or an error on the first step of the connection wizard.
Check the connection guide: Connecting Excel
Run diagnostics: Support
In the Excel server field, always use the full URL with protocol:
http://...orhttps://....Also verify access to XLTable over ports 80/443.
Excel asks for a password although single sign-on (AD) is configured.¶
Single sign-on works over Kerberos only, and Kerberos is strict about how the server is addressed:
Connect by the DNS name the SPN was issued for (e.g.
https://olap.company.local) — for a connection by IP address Windows cannot obtain a ticket and Excel falls back to the password prompt.The workstation must be joined to the domain and able to reach a domain controller; a machine outside the domain always signs in with a password.
The clock on the workstation and the server must be within 5 minutes of the domain time (a domain default).
On Linux, single sign-on is performed by the front (Apache or a load balancer): check its configuration and the
TRUSTED_PROXYkey — see Single sign-on on Linux: an authenticating front.When you fall back to a login and password behind the Linux front, type the name without the domain:
user1oruser1@COMPANY.LOCAL, notCOMPANY\user1— the front checks it against Kerberos, which does not know theDOMAIN\userform.
Excel shows an XML parsing error, or curl returns HTTP 500 from the server.¶
Validate settings.json against the documented schema: settings.json reference.
Required blocks (including WRITE_LOG and CREDENTIAL_DB) must be present.
Changes are picked up automatically within a few seconds of saving (a file with
a JSON syntax error is ignored and logged, the previous configuration keeps
working) — test the Excel connection again after saving (see Connecting Excel).
Can I store cube metadata in one ClickHouse instance and actual data in another?¶
Yes. Connections are defined in settings.json (CREDENTIAL_DB block), while cube definitions are stored in the olap_definition table.
More details:
XLTable cannot connect to ClickHouse databases.¶
Check CREDENTIAL_DB parameters (host, port, secure) using the examples in Database connections.
If ClickHouse accepts only TLS/HTTPS, install the correct certificate chain on the XLTable server and try again.
The connection fails with SSL: CERTIFICATE_VERIFY_FAILED (self-signed certificate in certificate chain).¶
The warehouse uses TLS with a certificate signed by a private CA — typical
for managed cloud ClickHouse (for example, Yandex Cloud). The error may be
shown under a generic “Host is unreachable” heading, but the SSLError
text is the real cause.
Fix it without turning TLS off:
install the provider’s CA certificate on the machine running XLTable (cloud providers publish it in their connection guide), or
as a fallback, set Verify certificate = no while keeping Secure (TLS) = yes — the traffic stays encrypted, only the certificate check is skipped.
Do not set Secure = no to silence this error: that sends your warehouse
password and data over the network unencrypted.
The Create cube wizard fails at the classification step with a database error (Not enough privileges / ACCESS_DENIED).¶
The table list of the wizard shows all tables and views of the
warehouse — including those your account cannot read. Generating a cube
requires the SELECT right on the chosen table (the wizard profiles its
columns), so a table you have no access to fails at the classification
step with the warehouse’s own error text. Pick a table your account can
read, or ask your administrator for a SELECT grant on it.
A successfully generated cube is saved as a plain .sql file into the
cubes folder (with the installer — Documents\XLTable\cubes); the
Cubes page of the web application (Cubes page) lists every cube
the server sees.
Excel shows “Cannot read the list of cubes in database …” instead of the cube list.¶
The server connected to the warehouse but could not read the
olap_definition table of the selected database; the text after the
colon is the warehouse’s own error. Typical causes:
the account from
CREDENTIAL_DBhas noSELECTright onolap_definition(Not enough privileges/ACCESS_DENIED/permission denied) — ask the administrator for the grant;the connection was lost mid-request (
Lost connection,timed out) — retry; if it persists, check the warehouse and the network between it and the XLTable server.
A database that has no olap_definition table at all is not an error: it
is listed with no cubes. MCP clients and the REST API receive the same text
as an error result; the metadata cache does not keep the failed attempt, so
the next request after the cause is fixed reads the list again.
Note
Snowflake reports a missing SELECT grant with the same error as a
missing table (Object '…' does not exist or not authorized), so on
Snowflake a database the account cannot read is listed with no cubes
rather than with an error — check the grant on OLAP_DEFINITION.
Where is the specific ClickHouse database configured?¶
The target database and connection parameters are configured in settings.json, in the CREDENTIAL_DB block:
If the olap_definition table does not exist, create it as shown in Cube definition storage.
Can we add extra columns with technical information to the olap_definition table?¶
Yes, this is safe and does not affect cube operation. XLTable never selects
the whole table: it only reads the id column (to list the cubes) and the
definition column (to load a cube definition), always referencing these
columns by name. Any additional columns — owner, change date, comments,
versioning info and so on — are simply ignored by the server.
The only requirements:
keep the existing
idanddefinitioncolumns unchanged (names and types);make sure the database user XLTable connects with keeps read access to the table.
How can I see SQL queries that XLTable sends to the database?¶
Set WRITE_LOG=true in settings.json (picked up automatically, no
restart needed) and check XLTable logs:
You can also find the queries on the database side: every query is tagged
with the app:xltable marker — see How can I view the query history of XLTable users in the database?.
How do I specify multiple users in settings.json?¶
Use this format:
"USERS": {
"user1": "password1",
"user2": "password2"
},
"USER_GROUPS": {
"user1": ["group_name"],
"user2": ["group_name"]
}
How can I view the query history of XLTable users in the database?¶
Every SQL query generated by XLTable carries a marker comment that identifies the application and the XLTable user who requested the data:
/* user:ivan.petrov, app:xltable */
SELECT ...
The comment is placed at the beginning of the query (for Snowflake — at
the end, because Snowflake strips comments preceding the statement from
its query history) and is preserved in the query history of every
supported database, so you can always filter the history by
app:xltable (and by user:<name> for a specific user). Below are
ready-to-use queries per database.
ClickHouse — in addition to the comment, XLTable sets the same marker
in the log_comment setting, which is stored as a separate column of
system.query_log and allows exact filtering:
SELECT
event_time,
query,
user,
query_duration_ms
FROM system.query_log
WHERE log_comment LIKE 'user:%, app:xltable'
ORDER BY event_time DESC
LIMIT 10;
Greenplum — currently running queries are visible in
pg_stat_activity:
SELECT pid, usename, query_start, state, query
FROM pg_stat_activity
WHERE query LIKE '/* user:%, app:xltable */%';
For a persistent history, enable statement logging on the server
(log_statement = 'all' or log_min_duration_statement) and search
the server log for app:xltable.
StarRocks — queries are recorded in the FE audit log
(fe/log/fe.audit.log); search it for app:xltable. If the
AuditLoader plugin
is installed, the history is queryable with SQL:
SELECT `timestamp`, `user`, queryTime, stmt
FROM starrocks_audit_db__.starrocks_audit_tbl__
WHERE stmt LIKE '%app:xltable%'
ORDER BY `timestamp` DESC
LIMIT 10;
Trino — recent queries are kept in coordinator memory and shown in the Trino Web UI; with SQL:
SELECT created, user, state, query
FROM system.runtime.queries
WHERE query LIKE '%app:xltable%'
ORDER BY created DESC
LIMIT 10;
Snowflake — up to 365 days via ACCOUNT_USAGE (shows queries of
all users; requires access to the SNOWFLAKE database, e.g. the
ACCOUNTADMIN role; new queries appear with up to ~45 minutes of
latency):
SELECT start_time, user_name, total_elapsed_time, query_text
FROM snowflake.account_usage.query_history
WHERE query_text LIKE '%app:xltable%'
ORDER BY start_time DESC
LIMIT 10;
Databricks — via the Query History page of the workspace UI, or with SQL if system tables are enabled:
SELECT start_time, executed_by, total_duration_ms, statement_text
FROM system.query.history
WHERE statement_text LIKE '%app:xltable%'
ORDER BY start_time DESC
LIMIT 10;
BigQuery — via INFORMATION_SCHEMA.JOBS of the region your datasets
live in (replace region-eu with your region):
SELECT creation_time, user_email, total_bytes_processed, query
FROM `region-eu`.INFORMATION_SCHEMA.JOBS
WHERE query LIKE '%app:xltable%'
ORDER BY creation_time DESC
LIMIT 10;
DuckDB — the embedded database has no server-side query history; use
WRITE_LOG=true in settings.json to see the queries in XLTable logs
instead.
Data in storage updates frequently; we need to refresh cache. Is configurable cache TTL planned?¶
The cache TTL is configurable: the METADATA_CACHE_TTL setting (600 seconds
by default) limits how long cube metadata and query results are served from
the cache before being re-read from the database, and SQL_CACHE_TTL
(default: the METADATA_CACHE_TTL value) limits how long SQL query results
are shared between users. See Caching and settings.json reference.
To refresh immediately, use the standard methods:
Refresh in Excel (Refresh / Refresh All)
Clear Metadata Cache in the Admin Panel
POST /api/cache/clearfrom your ETL pipeline — clear the cache automatically right after the warehouse data is updated, so users get fresh data without waiting out the TTL (see Cache management API)
Documentation:
Why are cube changes not visible to users after updating the cube?¶
An edited cube definition is picked up automatically within
METADATA_CACHE_TTL (600 seconds by default). To apply it immediately, use
Clear Metadata Cache in the Admin Panel (http://<server>/admin) —
users stay signed in — or click Refresh in Excel for an individual user.
Excel queries run too long or timeout; a ClickHouse view is slow while a physical table is faster.¶
Enable logging first and verify the actual SQL query. To improve performance, reduce the number of fields/dimensions in the model and PivotTable. For heavy sources, use narrower views or materialized tables in ClickHouse.
Why is the number of rows returned by XLTable higher than in another analytics system with a similar report layout?¶
Row counts may differ due to different result granularity. XLTable can include intermediate totals, not only leaf-level rows. Compare systems with identical dimensions, filters, and subtotal settings.
See SQL generation logic.
How does XLTable generate SQL from a cube definition: are all CTEs executed or only the required ones?¶
XLTable generates a query based on the current context of the fields selected in Excel. Only the required tables and fields are used, not the entire model.
For CTEs, only the parts actually used in the query participate in execution.
Useful documentation sections:
The XLTable service does not start automatically after server reboot.¶
Check the service management instructions: Service Management.
On Linux, the default setup is often supervisor. Check:
status:
sudo supervisorctl status 'olap:*'logs:
sudo tail -f /var/log/supervisor/olap*.logexecute permissions for the binary file
What access is usually required for a contractor to configure a cube?¶
Typical access includes:
SSH/admin access to the XLTable server
XLTable access to ClickHouse
permissions on
olap_definitionfor cube upload/updatenetwork access for Excel users to XLTable over 80/443 (or via VPN)
Step-by-step docs:
The client is migrating from Microsoft SQL Server and SSAS. Can we avoid creating extra objects in ClickHouse?¶
Yes. You can reduce the number of intermediate ClickHouse objects by moving part of the logic into the XLTable cube definition (SQL + tags).
References:
SSAS comparison: Comparison with SSAS
Cube definition rules: OLAP cube definition
We need to combine two attributes from different tables into one dimension, but an error occurs.¶
For attributes from different tables, create separate dimensions and join sources using LEFT JOIN in the cube definition.
Working example: Unified example.
ClickHouse does not allow nesting window functions inside aggregates like MDX in Microsoft tools. How can we replicate multi-step measure logic?¶
First check whether Excel already does it: share of total, share of the parent row, running total, rank and difference from the previous item are Show Values As calculations of the pivot table, computed by Excel from the numbers it already has — nothing is added to the cube (Show Values As (additional calculations)).
For an expression over already-aggregated values — a ratio, a share via a window function, growth between two measure groups — a calculated field is usually enough: it is computed in the outer SELECT, after aggregation. For logic that must change the generated SQL itself, use Jinja scripts in the cube definition: they inject filters and transform SQL before execution.
Documentation:
Does XLTable work with Excel for Mac?¶
Not for PivotTables. Excel for Mac cannot open Analysis Services (XMLA) connections — a Microsoft limitation that applies to SSAS and to every XMLA server, not only XLTable.
Options for Mac users:
open the same cubes as a pivot table in the browser — the web pivot table looks and behaves like the Excel pivot table and needs nothing installed;
ask the same cubes questions in an AI chat — Claude Desktop and other MCP clients run on macOS and connect to the XLTable server (see AI clients);
run Excel for Windows in a virtual machine (Parallels) or on a remote desktop;
use a Windows PC.
How does XLTable perform on large cubes (billions of rows)?¶
XLTable stores no data and pre-aggregates nothing itself: every PivotTable action becomes one SQL query pushed down to the warehouse, so the speed is that of ClickHouse, Snowflake or BigQuery on your data. Three things keep it fast:
the shared SQL result cache — an identical query from several users (or several sessions) runs in the database once per
SQL_CACHE_TTLand the others are served within milliseconds (see Cache layers);the two-stage SQL form — the fact table is aggregated by its keys before dimension names are joined, so ClickHouse projections and StarRocks materialized views can serve the query; on a one-billion-row ClickHouse table typical PivotTable queries went from seconds to well under a second (see Two-stage SQL form (pre-aggregation friendly));
the warehouse’s own partition pruning — filters reach the fact table directly, without a copy of the data in between.
Size the warehouse for your PivotTable workload as you would for any BI tool; XLTable itself needs the resources listed in System requirements.
Which Excel and Office versions are supported?¶
Excel for Windows 2016 or later, including Microsoft 365, with the Analysis Services OLE DB provider (MSOLAP) — it ships with Office in most installations. Excel connects through the standard From Analysis Services dialog; no add-in is installed (see Connecting Excel).
Excel for Mac and Excel for the web cannot open XMLA connections (see the previous question) — their users work with the same cubes in the web pivot table. The XLTable server runs on Linux or Windows — see System requirements.
What is the license cost and trial period length?¶
Pricing information is available at: https://xltable.com/#pricing
How are licensed users counted?¶
XLTable licenses are per named user, not per concurrent connection. A licensed seat is assigned to a user on their first request and stays assigned to that user — signing out, closing Excel or clearing the server cache does not free the seat. A seat is released:
automatically, after a period of user inactivity defined by the license (30 days by default) — so seats of employees who left are recycled without administrator involvement;
manually, by an administrator on the Seats page of the admin panel (the Release button, which also signs that user out).
When all seats are taken, a new user receives a clear “Named user limit reached” message in Excel; existing users are unaffected. The admin panel shows who occupies the seats and when each user was last active. To add seats, contact the vendor for an updated license file.
MCP access (AI assistants) is a license feature flag ("mcp": true), not
a separate seat count: when the license includes MCP, seats are still counted
per named user regardless of the interface — a user connecting from both
Excel and an AI assistant occupies one seat. A license without the flag means
MCP is disabled while Excel keeps working. See MCP server for details.
The web pivot table works the same way: it is a license feature flag
("web": true), and a user who opens a report in the browser takes the
same named seat as in Excel — one person in Excel, the browser and an AI
assistant occupies one seat. See Web pivot table.
Is the license tied to a specific server?¶
Yes. The license file is bound to the machine it was issued for: the License page of the admin panel shows a server ID (a fingerprint of the machine), which you send to the vendor when requesting a license. A license issued for one server ID does not work on another machine — when migrating the server to new hardware, changing its hostname or moving to another VM, request a replacement license file for the new server ID (the admin panel of the new installation shows it even before a license is uploaded). The license also carries an expiry date and a maximum product version; both are shown on the License tab.
Is a trial installation on Microsoft Windows available? Why would a Windows server be needed?¶
Yes, a Windows Server distribution is available on request.
Installation instructions: Windows Server (IIS).
For pilots, Linux deployment is usually simpler. Windows is typically chosen when IT policy requires IIS and Microsoft domain integration.
Can XLTable be connected from LibreOffice or OpenOffice?¶
Not as a Pivot Table client: of desktop spreadsheets only Excel for Windows connects over XMLA. Users without Excel work with the same cubes in the browser — see Web pivot table.
I opened the server address in a browser and see a page, not data.¶
That is expected: the server address itself (https://server/) is the
data endpoint for Excel and AI assistants. Since 2.1.1 a browser gets a
short page that says so and points to the admin console (/admin,
administrators only), the MCP endpoint (/mcp) and the documentation.
Excel connects to the same address through the Data Connection Wizard. To
work with the cubes in the browser, open the web application at
https://server/reports — see Web pivot table.
Excel cannot connect to the server.¶
Verify the server address is reachable from the client machine (port 80 or 443).
Check that the front is running:
sudo systemctl status apache2(nginxon installations made before 2.1.1); its log is/var/log/apache2/olap_error.log.Check that XLTable is running:
sudo supervisorctl status.
I get an authentication error in Excel.¶
Verify the username and password in
settings.jsonunder theUSERSkey.If using Active Directory, verify the
CREDENTIAL_ACTIVE_DIRECTORYsettings.Changes to
settings.jsonare picked up automatically within a few seconds of saving.
The Pivot Table shows no data.¶
Confirm the
olap_definitiontable exists in the database and contains at least one cube definition.Enable logging and check the generated SQL queries for errors.
Verify the database credentials in
CREDENTIAL_DBhave read access to the relevant tables.
Queries are slow.¶
Enable
WRITE_LOGto inspect the generated SQL and identify bottlenecks.Pre-aggregate data in the database where possible.
Reduce the number of dimensions selected in the Pivot Table.
The Pivot Table reports “too many data cells”.¶
The result size limit is measured in cells of the pivoted table (rows × columns × measures), set by the required
MAX_CELLSkey insettings.json(100,000 in the shipped configuration). Adjust it if needed (the legacyMAX_ROWSkey is still accepted).Add filters in the Pivot Table to reduce the result set.
A separate message appears when the columns area produces more than 16,384 columns (the Excel sheet limit) — move fields from columns to rows or apply filters.
The XLTable service does not start on Linux.¶
Check the service status and the Supervisor logs:
sudo supervisorctl status 'olap:*'
sudo tail -f /var/log/supervisor/olap*.log
The XLTable service does not start on Windows.¶
XLTable on Windows runs under IIS (FastCGI):
Check that the IIS application pool is started (IIS Manager → Application Pools).
Verify the FastCGI application is registered with the correct paths to
python.exeandwfastcgi.py(see Windows Server (IIS)).Check the Windows Event Log and the XLTable
logfolder for error output.