Create and manage data models
Build a data model to create a collection of table and input table elements that you can reference as data sources in workbooks and other data models across your organization. The familiar workbook-style format allows you to easily transform and analyze your data while streamlining data model permissions.
This document explains how to create and manage data models. For information about data model concepts, see Get started with data modeling.
After you create your data model, you can customize it and extend the functionality further to enable analysts and business users:
- Pass values from a workbook to a data model
- Define relationships in data models
- Create and manage metrics
- Configure column-level security
Sigma will continue to support the previous datasets version (legacy datasets) until data models are fully developed and can facilitate a seamless transition. For information about legacy datasets, see Create and manage datasets.
User requirements
The ability to create or manage a data model requires the following:
-
You must be assigned an account type with the Create, edit, and publish datasets permissions enabled.
-
You must be the data model owner or be granted Can edit access to the data model.
Create a data model with reusable elements
To create a data model, do the following:
-
Go to your Home page.
-
Click
Create New and select Data Model from the menu.
-
A new data model opens to the workbook page. Use one of the following methods to add data:
-
In the Add element bar, select a Data > Table or Input, then choose an input table element.
If you select a table or a linked input table, choose the element’s data source. The data source can be data from your data platform, a CSV upload, custom SQL, or an existing element from any data model.
Future data-level changes applied to the source can be reflected in the data model. Some changes, like filters, are automatically inherited. For other changes, like added or removed columns, Sigma displays a prompt when you reopen the data model workbook page. For those other changes, you can follow the prompt to either ignore the changes or update the reusable element. Display-level changes, like hidden columns or column groupings, are not inherited.
-
Copy and paste a table or input table element from an existing workbook or data model. For more information, see Copy and paste elements.
Reusable elements created from copy/paste are not synced with the original copied element and do not reflect future changes applied to the original element.
-
-
[optional] Create additional reusable elements and transform the data as needed. You can group columns, aggregate values, create child elements, add control elements, and more, just like in a workbook.
-
To save the new reusable elements, click Publish.
When the data model saves successfully, the overview page opens. You can then preview each reusable element and continue managing the data model.
Create a data model from a workbook table
You can also create a data model from a table in a workbook. For example, if you uploaded a CSV-formatted file to a workbook directly and now want to reuse the data from the file in another workbook, you can create a data model from the table element with the CSV-formatted file as a data source.
- Open the workbook that has the table element you want to convert to a data model.
- Right-click on the element, or hover over the element and click
More.
- Select Advanced options > Create data model....
- In the Create data model modal that appears, click Next.
- In the Add to a new data model modal, type a name for the data model and choose a destination location to organize the data model.
- Click Create. The data model opens in a new tab.
Map changed columns in a data model
When you make some changes to columns in a data model element, downstream elements such as workbooks and other data models, might display errors like the following: Unknown column [columnID]
, Column [ColumnID] does not exist
, or Reference to errored column: [columnID]
. Some example changes include:
- Deleting a column from a table.
- Deleting a column from a table, then adding it back from the list of source columns.
- Change the source of an element, such as from a joined table to a new table.
To prevent these errors from appearing in data models or workbooks that use a data model element as a source, Sigma detects these changes and prompts you to map changed columns when you publish the data model.
To map changed columns, do the following:
-
While editing a data model, make a change to a table that could cause errors in downstream elements.
-
Publish the data model.
The Map columns modal appears.
-
Review the changed columns for the affected table and optionally map the changed column in the published version of the data model to a replacement column in the to-be-published draft of your data model. By default, changed columns are mapped to No match, which causes the column to error in downstream elements.
For example, if you have a complex calculated column called Normalized Price that you want to update, add a new column called Revised Normalized Price with the updated calculation logic and delete the previous column. When you publish the data model, map the Normalized Price column to the Revised Normalized Price column.
To remove the Normalized Price column from the data model without mapping it to a replacement column, leave the default selection of No match.
-
After you finish mapping all relevant columns for all affected tables, select Save and publish.
Troubleshooting: Unable to select column
If you want to map a changed column to another column, but it is not available to select, do the following:
-
In the Map columns modal, turn off the No matches toggle.
-
Map the new column to No match, then map the deleted column to the new column.
For example, map Revised Normalized Price to No match, then map the deleted column Normalized Price to the replacement column Revised Normalized Price.

Any column mapped to No match can result in a column error in data models and workbooks that use this table as a data source.
Troubleshooting: Column is not listed
If the changed column that you want to map is not listed in the Map columns modal, the data model was previously published without mapping the column.
If you want to map an already published column to a different column, you must restore the draft of your data model to an earlier version and republish, then re-map the column.
For example, if you deleted the Normalized Price column and published the data model. When you published the data model, you mapped the column to No match.
Later, you create the Revised Normalized Price column and want to map the Normalized Price column to the new column, but it isn't available to map.

In this example, you must restore your data model to the version of the data model before you deleted the Normalized Price column to draft, then add the new column and delete the previous column without publishing in between the changes. Then when you publish the draft, the Map columns modal appears, allowing you to map Normalized Price to Revised Normalized Price.
For more details about restoring a previous version of a data model as a draft, see Document versions and version history.
Manage an existing data model
You can make changes to data model metadata, share a data model with others, or make changes to the data sources in the data model. You can also delete data models and recover deleted data models.
Edit a data model's name
Choose a unique name to make it easy for members to search for and identify the data model.
-
Open the data model you want to edit.
-
In the data model header, select the document name and choose File > Rename.
The document name becomes editable.
-
Rename the data model, then press Enter or click anywhere to apply the change.
-
Publish the data model to make the name change available downstream.
Edit a data model’s description
Enter a description to add context to the data model and its elements.
- Open the data model.
- On the overview page, in the About the data model section of the sidebar, click the description field and update the text. Sigma immediately applies the change.
Share the data model
Share a data model to allow members of your organization to use the elements as data sources. Users who are not granted access to use a specific data model cannot view or select its elements as data sources in workbooks and other data models.
-
Open the data model that you want to share.
-
In the data model header, select the document name to open the document menu, then select Share.
-
In the Share Data Model modal, search for and select an organization member, team, or email address.
-
In the Permission field, select an option:
Can view Allows selected users to view and use the data model and its reusable elements. Can edit Allows selected users to view, use, and edit the data model and its reusable elements. -
Click Share to save the permissions.
Enable or disable an element as a data source
By default, elements created in a data model are enabled for reuse as data sources in workbooks and other data models. You can disable or re-enable elements for reuse at any time. Elements disabled as a source are available on the workbook page but are hidden from the data model overview.
When you disable an element as a source, any element (in the same data model, different data model, or workbook) that references a disabled element displays a “Source not found” error message.
You can create a relationship between elements disabled as sources. For the related columns to be available for use in other data models or workbooks, the primary source in a relationship (or the highest level primary source in a hierarchy of relationships) must be enabled as a data source. See Define relationships in data models.
-
Open the data model containing the element you want to edit.
-
In the data model header, click Edit to open the workbook page.
-
In the element you want to update, click
to disable it as a data source or
to enable it.
Edit an element
Edit a reusable or disabled element in a data model as you would in a Sigma workbook.
-
Open the data model containing the element you want to edit.
-
In the data model header, click Edit to open the workbook page.
-
Locate the element you want to edit, then modify it as needed.
Delete an element
Delete a reusable or disabled element to permanently remove it from the data model.
-
Open the data model containing the element you want to delete.
-
In the data model header, click Edit to open the workbook page.
-
Hover over or select the element you want to delete, then click
More and select Delete element from the menu.
Delete a data model
To delete a data model you must be the owner of the data model, have Can edit access to it, or have the Admin account type.
- Select the data model name to open the document menu, then select File > Delete....
- On the Confirm Deletion modal, click Delete.
Recover a deleted data model
To recover a data model that has been deleted, you must be the owner of the data model or have the Admin account type.
- Go to your
Home page.
- In the navigation menu, select
Trash.
- In the Trash page, search the list of deleted documents and click the one you want to recover. You can sort the Name, Deleted on, or Deleted by columns to help identify the applicable document.
- In the Document has been deleted modal, click Recover. Sigma immediately opens the recovered document.
Updated about 12 hours ago