Migrating from Looker
Engeene imports Looker models two ways, and they behave differently — choose deliberately:
- LookML files (
.lkml/.lookml) — views become datasets and explore joins become References. - Looker API (4.0) — credential-driven, and it reads the schema Looker has already resolved. Each explore becomes one dataset, with the joined views' fields flattened into it. A join between two explores still becomes a Reference, but only where the translation is exact (see below); where it is not, the joined fields simply stay flattened in.
Choose LookML when your model is a set of views you want mirrored one-for-one; choose the API when you want a dataset per explore and no dev session.
Upload the whole project, not one file at a time. Zip your LookML project (or download it from Looker) and upload the zip. Engeene reads every
.lkml/.lookmlin it: the views and models become your model, and each*.dashboard.lookmlbecomes an Engeene dashboard. Uploading one file gives you one view — and no dashboards. Zipping the project also resolvesinclude:for you, because every referenced file is present.
Vocabulary mapping
| Looker | → Engeene | Notes |
|---|---|---|
view |
Dataset | LookML path. (API path: one explore → one dataset, joined views flattened in.) |
sql_table_name |
CSV source | Last segment after .. |
dimension with primary_key: yes |
Id | API: primary_key: true. |
dimension of type number/int/double/decimal |
Measure | |
dimension of type string/yesno/zipcode/… |
Attribute | |
dimension_group of type: time |
Time | First one on the view becomes the primary time. |
measure (sum, count_distinct, min, max, average, median, percentile) |
Measure with that default aggregation | |
measure of type: count |
a row count | Engeene has no separate row-count aggregation. A dashboard tile that uses it is imported as a Count of the view's Id — the same number. |
measure with its own filters: [status: "complete"] |
Measure without the filter | The measure on its own is the unfiltered number, and the import report says so. Every dashboard tile that uses it carries the filter as a condition on that measure, so the tile shows the number it showed in Looker. |
measure of type: number over other measures (${revenue} / NULLIF(${orders}, 0)) |
no measure | It reads no column of its own. Every dashboard tile that uses it gets a computed measure with the same formula. + - * /, numbers, COALESCE, IFNULL and a NULLIF(…, 0) divisor convert; CASE and other SQL do not, and are named in the import report. Engeene divides exactly — if your warehouse truncates whole-number division, Looker showed the truncated value. |
parameter of type: number with a default_value |
Variable | On both paths (API: a number parameter with a default value and no choices). Its value is the default value, and each user can set their own — the way a Looker user changes a parameter. Nothing uses the variable until you pick it, so no number changes. A parameter with allowed_value choices, a text, date or yes/no parameter, and SQL or Liquid that reads a parameter are named in the import report. |
explore … join … sql_on: ${a.fk} = ${b.id} |
Reference | The FK dimension is rewritten to a Reference. On the API path the same join is translated when it is exact — see below. |
dimension: country { drill_fields: [state, city] } |
Hierarchy | LookML path only. Looker's drill_fields lists the fields shown when you click, which is a hierarchy only when every one of them is a plain dimension: then the dimension and its drill fields, in order, become a drill path named after the dimension (Country → State → City); a set named as detail* is expanded. A list that holds a measure, a date (dimension_group), a field that did not come across, or a set the import cannot find is named in the import report and not imported. drill_fields on a measure or on the whole view lists the rows shown on click, not levels to drill into, and is reported too. The Looker API does not expose drill_fields, so the API path brings no hierarchies. |
What does not come across
- Derived tables (PDTs) — not materialized; build them upstream and ingest the result.
- Custom SQL in a dimension beyond a
${TABLE}.columnreference — falls back to the dimension name as a placeholder; re-point it after import. - Multi-equality joins (
sql_on: … AND …) — only the first equality is imported. - Unparseable
sql_on:— that join is skipped; add the Reference manually. - Liquid templating (
{% … %},{{ _user_attributes }}) — stripped. access_filter/access_grants/required_access_grants— set up roles in Engeene instead.filter:fields, andparameter:fields other than a numeric one — rebuild as query filters.extends:inheritance — flatten in LookML before importing.include:directives — resolved automatically when you upload the whole project as a zip. Aninclude:that names no file in the zip (a file you left out, or another project's//project/…path) is named in the import report; when you upload a single file, paste the referenced LookML into it first.
Dashboards
Upload the project zip and every *.dashboard.lookml in it becomes an Engeene dashboard. In Looker, any dashboard can be turned into one of these files: open it, then ⋮ → Get LookML.
| LookML | → Engeene |
|---|---|
dimensions: and pivots: on a tile |
segments |
measures: |
measures, aggregated the way the view's measure declares |
fields: |
split into the two above by what each field is in your model — exactly as Looker does |
a dimension-group timeframe (created_month, created_date, created_year, …) |
a time segment at that grouping. A timeframe Engeene has no grouping for (raw, time, …), or a time field used with no timeframe, is grouped by month. Change the grouping after import if another fits better |
type: looker_column / looker_bar / looker_line / looker_area / looker_scatter / looker_pie / looker_funnel / looker_grid |
the matching chart (a looker_bar is horizontal, a looker_column vertical — as in Looker) |
filters: with a plain value or comma-list (a leading - negates) |
an is / is not filter. A value that itself contains a comma comes across as one value when it is quoted the way Looker writes it ("Smith, John",Roe) |
a tile filters: on a measure the tile shows (orders.total_revenue: ">1000") — 5, NOT 5, >, >=, <, <=, two of those with AND, 1 to 10, [1,10) |
that measure's Filter by value: the tile keeps the rows whose total is in the range, as Looker's HAVING does |
dashboard filters: that every tile listens to on the same field |
a dashboard filter: its default value selected, or nothing selected when it has no default |
dashboard filters: with a default that only some tiles listen to |
the default as a filter on each tile that listens — every tile shows the rows it showed in Looker |
sorts: |
the table's sort |
row / col / width / height |
the tile's place on the grid — Looker's canvas is 24 columns wide, Engeene's is 12, so widths halve |
type: text tiles |
Markdown tiles, so your notes and headings survive |
What a dashboard cannot bring
Each is named in the gap report rather than approximated:
- Table calculations and custom fields (
dynamic_fields) — rebuild as computed measures. - Looker filter expressions —
>100,-NULL,%abc%,last 7 days,NOT complete. Only a literal value or comma-list converts, and a range on a measure the tile shows (above). Re-create the rest on the visualization, where a relative time filter is a first-class control. - Dashboard filters with a relative-date or expression default (
last 7 days,>100), on a field that is not in your model, or with no default that only some tiles listen to — reported; add them as dashboard filters after import. - Maps (
looker_map,looker_geo_choropleth, …) — 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 or read Looker's map layers. Switch the visualization to a map yourself when the dimension it groups by names countries. - Box plots (
looker_boxplot) other than five measures over one column — minimum, 25th percentile, median, 75th percentile and maximum, in that order — are imported as a line chart, one line per measure, without the boxes. A box plot of exactly those five becomes a Box Plot. Engeene computes a percentile by the nearest-rank method and a median as the middle value (the mean of the two middle values for an even count), which can differ from what your warehouse computed for Looker. - Donut multiples — imported as one pie. A scatter tile with a single measure arrives as a bar chart.
- Merged results — only the primary query comes across.
- Custom visualizations, button and extension tiles, alerts and schedules — not imported.
- An average, median or percentile of a joined view follows the same rule as Looker's symmetric aggregates: Engeene counts each row of the other dataset once, however many rows join to it.
When an API-path join becomes a Reference
On the API path a join is translated only when the translation is exact — anything else is left flattened and named in the gap report, never guessed. All of the following must hold:
- The joined view is itself imported — another explore in the same import carries the join's alias, its
from, or itsview_nameas its explore name. - The join condition is unambiguous: a
foreign_key, or asql_onthat is a single equality of two field references (${a.x} = ${b.y}). CompositeANDconditions, expressions, functions and casts are not parsed. - The source side resolves to a column of the source dataset, and is not that dataset's own Id.
- The target side is the target dataset's Id — a join onto a non-key column has no Engeene equivalent.
- The
relationshipis notone_to_manyormany_to_many, which put the foreign key on the other side.
A dataset that two joins would point at the same way keeps the first and reports the second as ambiguous.
How to import
From LookML files
- Open Models → Import Analytics Model → From File….
- Choose the zip of your LookML project — or a single
.lkml/.lookml/.model.lkmlfile, after pasting the files itinclude:s into it. Flattenextends:first either way. - 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.
Live from the Looker API
- Open Models → Import Analytics Model → Looker….
- Fill in host, client id, client secret, and the LookML model name.
- Click Import. Engeene fetches every explore in that model, saves the result — named after the LookML model — and opens it in the editor.
- Read the gap report, then fix what matters. Each correction is stored as you make it.
Credentials are used for that one request and are never stored.
After the import
- Set decimal scale on money measures.
- Re-point any placeholder measures (custom-SQL dimensions/measures) to their real columns or computed measures.
- Add any References for joins the gap report says it could not translate.
- Recreate
access_filterrules as Engeene roles/protected attributes. - Load your data and verify a known measure.
See also: Vocabulary Map · Product Differences and Workarounds.