Migrating from Qlik
Engeene reconstructs a Qlik data model from the app's data-model metadata — its tables, fields, and field tags — and infers the joins from Qlik's associative model. Import from the metadata file or live from Qlik Cloud.
Qlik Cloud only for live import. The live path reads the app's
/data/metadata. For Qlik Sense Enterprise on-prem, export the metadata JSON and import the file.
Your sheets can come too, but they live in a different export from the data model — see Bringing your sheets across.
How Qlik's associative model maps to joins
Qlik joins tables implicitly by shared field names rather than declared foreign keys. Engeene reproduces this: a field that is a key (tagged $key) or appears in two or more tables becomes an Id on one table and a Reference on the others. The Id owner is the smaller table — fewest rows, then fewest fields, then name — i.e. the dimension side, and the larger measure table points at it. A $key field that turns out to live in only one table is simply an Id, with nothing pointing at it.
Vocabulary mapping
| Qlik metadata | → Engeene | Notes |
|---|---|---|
table (non-system) |
Dataset | |
field tagged $key, or shared across 2+ tables |
Id (owner) + Reference (others) | Owner = smallest table; auto-joins by field name. |
LOAD … X as Y rename in the load script |
The field's source column | Recovered when the script travels with the metadata — see below. |
RENAME FIELD / RENAME FIELDS USING an inline map |
The field's source column | Applied to every table carrying the field, as Qlik does. |
AutoNumber(field) as Key |
The key's source column | The raw field carries the same association; the key values differ. |
QUALIFY / UNQUALIFY |
Table.Field naming |
The qualified in-app name is matched to the physical column. |
field tagged $timestamp / $date |
Time | First per table becomes the primary time. |
field tagged $numeric / $integer (non-key, non-time) |
Measure | Default aggregation SUM. |
field tagged $text / $ascii / untagged |
Attribute | Catch-all for strings. |
Bringing your sheets across
Qlik has no single "export my app as text": a .qvf is a binary container, and the data-model metadata Engeene builds your datasets from contains no sheets. So a full migration is two files, zipped together:
| Half | Where it comes from |
|---|---|
| the data model | GET /api/v1/apps/{appId}/data/metadata (or the live import) |
| the sheets | qlik app unbuild --app <id> (Qlik CLI) |
qlik app unbuild writes your app out as a directory:
MyApp-unbuild/
app-properties.json
script.qvs your load script
dimensions/*.json master dimensions
measures/*.json master measures
objects/sheet/*.json each sheet and its charts
Drop the metadata JSON into that directory, zip it, and upload it under Models → Import Analytics Model → From File…. Each sheet becomes an Engeene dashboard.
Unbuild the whole app, not selected objects. A chart referencing a master measure whose file is missing imports without that measure, and the gap report says so.
The script.qvs in the archive is used automatically to recover field renames.
What a sheet becomes
| Qlik | → Engeene |
|---|---|
| a chart's dimensions (including a master dimension) | segments |
| a chart's measures (including a master measure), when the expression is one aggregation of one field | measures |
Sum, Avg, Min, Max, Count(distinct …), Median |
the matching aggregation — Count(distinct) stays exact in Engeene |
Stdev |
Sample Standard Deviation — Qlik's Stdev is the sample statistic (it divides by n − 1), and Engeene's unsuffixed Standard Deviation is the population one, so the name changes and the number does not |
Count(field) over the table's key field |
Count of that Id — the same number. A Count of any other field is left off |
| a dimension over a date field | a time segment grouped by month — Qlik's dimension carries no grain. Change the grouping after import if the chart used another |
| bar, line, area, combo, pie, scatter, treemap, funnel charts | the matching chart (a bar chart keeps the horizontal/vertical orientation you set). A scatter plot with a single measure arrives as a bar chart |
| a waterfall of two or more measures that all add | a Waterfall chart, one step per measure in your order. A subtotal on the last measure becomes the closing Total bar; with no subtotal there is none. A subtotal between steps is not drawn (the steps still float from the running total), and the gap report says so |
| straight table, pivot table, KPI, gauge | a table |
| a text & image object | a Markdown tile |
| a sheet's grid position and size | the tile's place — Qlik's sheet is 24 columns wide, Engeene's is 12, so widths halve |
Because Qlik is associative, one chart can mix fields from several tables. Engeene keeps every column qualified with its dataset and joins the datasets through the model's references, so those charts still work.
What a sheet cannot bring
Each is named in the gap report rather than approximated:
- Set analysis —
Sum({<Year={2024}>} Sales)is an aggregation with a filter baked in. It is reported specifically as a lost filter, not just a lost measure, because the chart would otherwise show a different number. Add the equivalent as a per-measure filter on the visualization. Aggr(), inter-record functions (Above,Below,RangeSum) and any expression that is not a single aggregation of one field — rebuild as computed measures.- Calculated dimensions (
=If(...)) — Engeene groups by stored column values. - Drill-down groups — imported at their first level; Engeene has no defined drill hierarchies.
- Filter panes — Engeene filters a dashboard from its filter bar, not from a tile on the canvas. Every pane is reported so you can add the equivalent dashboard filter.
Sterr,Fractile,Only,Concat,Mode,MaxString/MinString— no exact single-column equivalent. (Sterris the standard error, a different number from the standard deviation, so it is refused rather than mapped to one.)- Maps — imported as a table with the numbers intact. Engeene's maps — a filled map or plotted points — place each value by looking its country name up in a built-in table of countries; they cannot plot raw latitude/longitude. Switch the visualization to a map yourself when the dimension it groups by names countries.
- A waterfall measure set to Subtract — Engeene's waterfall steps by each measure's own sign, so a subtracted step would move the running total the wrong way. The chart arrives as a table with every measure's number instead. A waterfall that also has a dimension arrives as a bar chart, where each bar starts at zero.
- Alternate states, bookmarks, actions/buttons, containers, themes and extension objects — not imported; an unrecognised extension arrives as a table.
What does not come across (the model)
- Synthetic-key tables (
$Syn …) — the whole table is skipped; resolve synthetic keys in your Qlik load script first (e.g. with a composite key), then re-export. - Load-script transformations beyond renames and single-field keys — an expression alias (
Sum(x) as y), a compositeAutoNumberHash128(a, b)key,ApplyMapvalue substitution, or aJOIN/CONCATENATEtable merge. Each is named in the gap report with the column your extract must then provide; do the transform upstream and ingest the result. - Master items / master measures — not in the metadata; rebuild as Measure aggregations or computed measures.
- Set analysis — re-express as query filters / per-measure filters.
- Section access (row-level security) — set up roles in Engeene.
- System fields and tables — ignored.
- Hidden fields — imported. Engeene has no hidden state, so delete what you do not want.
Field names and the load script
The field names in Qlik's metadata are the in-app names, which your load script may have renamed away from the physical columns of the extract Engeene ingests. Hand the load script (.qvs) over with the metadata and Engeene parses it, pointing each column at its real physical name.
How to hand it over. Qlik's /data/metadata response does not include the script, so add it yourself:
- Live import — the Qlik import dialog has a Load script (optional) box under the API key. Copy the script out of the app's data load editor and paste it there; leave it empty and nothing is sent.
- File import — a zip made from a
qlik app unbuildexport already carries it. For the metadata JSON alone, add the script as a top-level"script": "…"member.
Without a script, every property's source column stays the in-app field name.
Recovered:
- plain
X as Yrenames, including throughRESIDENTloads, chained transitively; RENAME FIELD a TO b,RENAME FIELDS (a TO b, …)andRENAME TABLE(S) …;RENAME FIELDS USING mapwhenmapcame from aMAPPING LOAD … INLINE […]literal — the one mapping form whose contents the script itself states;AutoNumber(field) as Key(alsoAutoNumberHash128/…256) over exactly one field: the generated integers are app-local and cannot be reproduced, but the function is one-to-one over that field's values, so the key is pointed at the field's physical column — the joins stay exact and the gap report notes that the key values themselves will differ from Qlik's;QUALIFY/UNQUALIFY, which decides whether the in-app name isFieldorTable.Field;SET/LETvariables with literal values, expanded into$(var)references.
Left as the in-app name: an expression alias, a composite AutoNumber… key, a variable Engeene could not resolve (including $(=…)), RENAME … USING a mapping that was not an inline literal, a field loaded from two sources or renamed onto an existing name, a JOIN or CONCATENATE, and anything under IF, FOR or SUB. A QUALIFY wildcard (Sales*) stops rename recovery for the whole script. The gap report names the column your extract must supply.
When the metadata mentions a script that was not handed over, the gap report says so.
Because measures default to SUM and the metadata carries no scale, set decimal scale on money fields after import.
How to import
Live from Qlik Cloud
- Open Models → Import Analytics Model → Qlik….
- Fill in tenant URL (e.g.
trailspark.qlikcloud.com), app id, and an API key. - Optionally paste the app's load script (
.qvs) into the Load script box. Qlik Cloud's metadata response does not carry it, so this is the only way the live import can recover field renames and key derivations — see Field names and the load script for exactly what is recovered and what is refused. Leave it empty and every property keeps its in-app field name. - Click Import. Engeene reads the app's data-model metadata, saves the converted model — named after the app id, since the metadata carries no app title — and opens it in the editor.
- Read the gap report, then fix what matters. Each correction is stored as you make it.
The API key is used for that one request and is never stored.
From a file
- Export the app's data-model metadata JSON.
- Open Models → Import Analytics Model → From File… and choose the JSON.
- The format is detected, the model is saved under a name taken from the file, and it opens in the editor. Read the gap report and fix what matters.
After the import
- Resolve any synthetic-key tables upstream and re-import if datasets are missing.
- Confirm the Id owner for each shared key landed on the dimension you expect.
- Set decimal scale on money fields.
- Rebuild master measures as aggregations or computed measures.
- Load your data and verify a known total.
See also: Vocabulary Map · Product Differences and Workarounds.