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.

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 Source tab#

  1. Open the data model (new or existing), select Source in the rail, then the Connection section.
  2. Under Source, choose Workspace file instead of Connection.
  3. Select Browse… and 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.

Either way, the model's Source screen now shows the picked file's path instead of a connection name, and every view built from here reads that 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. Reopen the model's Source tab and Browse… to the file's new location to repoint it.

How your data stays secure#

If the source breaks, or you don't have access to the file#

The editor never fails to open just because its file source is broken. If the file was renamed, moved, deleted, or you no longer have permission to see it, the model's Source tab shows a warning explaining why, and the rest of the editor still opens normally (using the standard connection editor as a stand-in). Select Browse… 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.