What's new ⬇ Download Reportworq
⬇ Guide PDF

Build a data model from a workspace file#

A data model does not have to bind to a connection in Settings > Integrations. When the file it needs to read - an Excel workbook or a SQLite database - already lives in the same workspace as the model, point the model straight at that file. No connection is added to Integrations, so dropping many workbooks or databases into a workspace folder never clutters the datasource list.

A workspace file is one source among possibly several: a model can read any number of workspace files and Integrations connections side by side, and each view draws from one of them. This is the recommended way to model a workbook or database that belongs to one workspace and one purpose. If instead the file should be shared as a connection other workspaces or other models can also use, see Connect Excel and Connect SQLite for Configure as data source, the admin path that creates a real Integrations connection from the same file.

Before you begin#

Two ways to start#

From the file, in the workspace browser#

  1. In the workspace's file tree, find the Excel workbook or SQLite database.
  2. Open its ⋮ (more actions) menu and choose Create data model.
  3. Reportworq creates a data model in the same folder, named after the file, already bound to it, and opens it in the editor.

From an existing data model's Sources tab#

  1. Open the data model (new or existing), select Source in the rail, then the Sources tab.
  2. Select Add workspace file… (on a model with no source yet, this is also how you start).
  3. Pick an Excel workbook or SQLite database from this workspace's files. The picker lists only files you can see, filtered to Excel and SQLite.

The file appears in the list of sources, named by its path, with how many views read it. Change… on its row picks a different file, and Remove takes it out (the confirmation names the views that read it). To start a view on the file, use + Add on the rail's Source node and choose the file.

Build the views#

Once the file is picked, the rest of the data model editor works exactly as it does for a connection in Integrations:

Portability#

The data model stores the file's path inside its own workspace - never a workspace id. That is what makes the model portable: when you export the workspace and import it elsewhere, the model resolves the same path in the new workspace and keeps working, with nothing to reconfigure.

The trade-off is the same one any relative path carries: if the file is later renamed or moved to a different folder, the model's reference breaks. Open the model's Sources tab and use Change… on the file's row to pick its new location.

How your data stays secure#

If the source breaks#

The editor never fails to open just because a file source is broken. If the file was renamed, moved or deleted, that source's row on the Sources tab shows a problem, and the rest of the editor still opens normally. Use Change… on the row to pick the file again - either the same file at its new location, or a replacement.

What happens on import#

When you import a workspace (or a data model) that was exported from elsewhere:

Notes and limits#

Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.