Coming from Qlik
This page is for people who build in QlikView or Qlik Sense and are moving that work to Astrato. It gives the order to move an app in, then maps each Qlik concept to the Astrato feature that does the same job and says where the two behave differently.
The main difference: Astrato does not copy your data into a store of its own. There is no load script, no QVD and no reload. A semantic layer describes the tables in your data source, and each query runs as SQL in that source.
Move a Qlik app
Section titled “Move a Qlik app”Before you start: the tables your Qlik app reads must be in a data source Astrato can connect to, and you need a workspace role that can create data connections. See Create a connection.
- Create a data connection to the warehouse that holds, or will hold, the app’s data.
- Create a semantic layer and bring in the tables the app reads. Draw the joins its associations relied on; see The data model.
- Rebuild the app’s master items as measures and dimensions, then publish the layer. See Master items and Set analysis.
- Decide what to build on the layer: a workbook, a Data App or an app you host yourself. See Choose how to build. Your first Data App walks through a Data App end to end.
- Compare the numbers with the Qlik app before you move people over. Expressions that relied on the current selection, or on a field your load script generated, often need a different definition in the layer.
When several Qlik apps repeat the same model and expressions, you can usually bring them together into one semantic layer and build each dashboard on it.
Qlik concepts at a glance
Section titled “Qlik concepts at a glance”| Qlik | Astrato |
|---|---|
| App (data model, master items, sheets) | A semantic layer, with workbooks and Data Apps built on it |
| Load script, QVDs, reload tasks | Tables in your data source, read through a data connection |
| Inline loads and mapping spreadsheets | An Inline table, or an uploaded CSV file; see Start from a CSV file |
| Associations between tables | Joins on the Map View canvas |
| Master measures | Measures in Business Context |
| Master dimensions and drill-down groups | Dimensions in Business Context, including drill-throughs |
| Set analysis | A Measure filter, the Total option, a time intelligence measure or a set filter; see Set analysis |
P() and E() in a set modifier |
Associative filters, labelled Set Filter |
Aggr() |
A nested calculation in a calculated measure |
| Alternate states | Separate selection groups in a Data App, or chart filters in a workbook; see Selections and alternate states |
| Section access | Security rules, or per-person access to Snowflake |
| Streams and QMC security rules | Collections and roles and groups |
| NPrinting | Scheduled reports |
| Mashups and embedded objects | Embed a dashboard |
| Writeback extensions | Business Workflows, where enabled |
Apps become a semantic layer and what is built on it
Section titled “Apps become a semantic layer and what is built on it”A Qlik app bundles the data model, the master items and the sheets. Astrato separates them. The data model and the governed definitions live in a semantic layer. The visual work lives in workbooks and Data Apps that read the layer. Several workbooks and Data Apps can share one layer, so they show the same numbers from the same definitions. Choose how to build compares a workbook, a Data App and an externally hosted app.
The load script and QVDs
Section titled “The load script and QVDs”Astrato has no extract layer. What your load script does to shape data moves into your data source, as tables or views, or into the semantic layer. In the Map tab of the semantic layer editor, the Add menu offers:
- Custom SQL Query, a query kept in the model and used like a table.
- Custom field, a calculated column on a table. See Add a custom field.
- Inline table, up to 300 rows and 20 columns typed into the model, for the job an
INLINEload does in Qlik. - Upload a CSV file, which loads a file into a new table on a connection that allows writes. See Start from a CSV file.
Custom SQL Query and Custom field appear only where your connection supports them; see What each source supports. Upload a CSV file is always listed, but the upload dialog refuses a connection that cannot take writes, such as a read-only one. For larger transformations, shape the data in your warehouse and point the layer at the result.
The data model
Section titled “The data model”In Qlik, fields with the same name associate automatically, and you rename fields, add link tables or concatenate to avoid synthetic keys and circular references. In Astrato, a field’s name does not join tables. You draw each join on the Map View canvas by dragging from a field in one table to a field in another. Dragging a whole table onto another asks for join suggestions between the two. Queries follow those joins.
If your team keeps logic in SQL functions in the warehouse, register them in UDFs so the layer can call them.
Master items
Section titled “Master items”Master measures and master dimensions become measures and dimensions in the layer’s Business Context tab. Once you publish the layer, every workbook, Data App and Nash answer on it uses the same definitions. What Business Context is for explains the tab.
| Qlik | Astrato |
|---|---|
| Master measure | A measure: standard, calculated, time intelligence or conditional |
| Master dimension | A field dimension |
| Drill-down group | A drill-through |
Calculated dimension that bands a number, such as Class() |
A bucket |
Calculated dimension that maps values, such as If() or Pick(Match()) |
Custom groups |
A question your Qlik users ask often, such as revenue by region this quarter, can be stored in the layer as a business question, so everyone gets the same answer. Business questions are available only where they are enabled for your Astrato environment.
Set analysis
Section titled “Set analysis”Astrato has no set expression syntax. Each common use of set analysis has its own feature.
A fixed selection inside an aggregation, such as Sum({<Year={2024}>} Sales), is a
standard measure with a Measure filter. The
filter is part of the measure’s definition, so everyone who uses the measure gets it. Say what it
filters in the measure’s name or Description.
A measure filter does not replace a selection on the same field, as Year={2024} does in Qlik. It
counts only the rows the query’s own filters keep, so with 2025 selected the measure finds no 2024
rows. In a workbook, a chart’s global filter settings
can ignore the selection on that field for that chart.
The TOTAL qualifier, for a share of total, is the measure’s Total option, under
Options. It ignores the chart’s dimensions. See
What a measure holds.
Period comparisons, such as this year against last year or year to date, are time intelligence measures. They appear only where period comparisons are enabled for your workspace. For a like-for-like cut-off without a separate measure, a measure filter can use a predefined period such as YTD.
Element functions (P() and E()), such as customers who bought one product and never
another, are associative filters. In the editor they are labelled
Set Filter. You use one in a business question, in
the Data Explorer, in a Data App’s filter bar, or in a
workbook’s filter bar.
A set filter can be
stored in the layer and reused, and it can test a
measure, such as customers whose sales total more than 1,000. To group an answer by stored set
filters, add a sets dimension. A sets
dimension is available where business questions are enabled, and not in workbooks.
Aggr(), an aggregation at a finer grain before a second aggregation, is a nested calculation
on a calculated measure’s operand: Then take sets the outer aggregation and Per field the
grain. It appears only where business questions are enabled. See
Work a measure out per field first.
Selections and alternate states
Section titled “Selections and alternate states”In a Data App, charts, tables and filter objects in the same selection group filter each other. To compare two independent selections, the job alternate states do in Qlik, give the objects that need them separate selection groups. Selection groups are set in the app’s code; see Use one selection group. In App Builder, ask Nash for the filter instead; see Add a filter to a chart.
In a workbook, a chart filter applies to one chart, so two copies of a chart can compare different selections. See Chart filters.
For questions about related records, such as customers with no orders in a period, use an associative filter rather than a second selection state.
Section access
Section titled “Section access”Section access reduces the rows each person sees. In Astrato, a security rule does that job on a table in the semantic layer: a condition that compares one of the table’s fields with the email address or the groups of whoever is asking.
With Snowflake, you can instead have each person query with their own Snowflake user, so Snowflake’s grants, row access policies and masking policies apply to them. A Data App on a per-person connection cannot be made public. See Shared or per-person access to Snowflake.
Access to content is separate from access to rows. Workbooks and Data Apps are shared with people and groups, and collections take the place of streams. See How access works.
Reporting, embedding and writeback
Section titled “Reporting, embedding and writeback”- NPrinting. Scheduled reports and subscriptions are on the Reporting page; see Reporting and workflows.
- Mashups. Embed a workbook or a published Data App in your own page with an iframe; see Embed a dashboard.
- Writeback. Business Workflows let an app change rows in your warehouse through a named write registered in the semantic layer. They are available where enabled for your workspace; see Business Workflows. In a workbook, the table object has its own writeback; see Using the Table’s writeback/edit capability.