Skip to main content
Sometimes you may want to use data in an analysis that isn’t already in a database schema, for data enrichment or an initial exploration. With a data input table, you can add data to Omni by entering it manually or by uploading a CSV or XLSX file, without changes to your data pipelines.

Requirements

To add data input tables, you’ll need:
Omni recommends creating a schema in your database where Omni can write the table uploads. See the setup guide for your database for more information.

Limitations

Currently, data input tables:
  • Must be added in a workbook
  • Are limited to 500,000 rows
  • Can’t be used in joins unless the table is pushed to a database. Adding a schema to the connection’s Schema for table uploads setting enables this functionality. Refer to the setup guide for your database for more information.

Creating data input tables

Data input tables can be added in the workbook of any document.In a workbook, navigate to Edit > New blank table. A new tab with a blank data input table displays.To get data into the table, you can manually enter it or upload a CSV or XLSX:
  1. In the first row, add the names of the columns. The first row must be a header row to allow Omni to generate a schema for the table.
  2. Enter data into the cells. To add line breaks, use Ctrl + Enter.
  3. To add rows or columns, use the Add Row and Add Column buttons.
  4. When you’re finished editing the table, click Save changes near the top right corner of the page.
  5. Enter a Name for the table.
  6. If you have Querier permissions or higher, you’ll see a Create topic checkbox. Select this checkbox to create a topic from the data you entered. If you’re a Restricted Querier, Omni creates a topic automatically.
  7. Click Save.
Use the Columns section in the Details panel to change a column’s data type. See Column types for more information.
To upload a CSV or XLSX:
  • The first row must be a header row
  • The file can’t exceed 500,000 rows
Additionally, if the XLSX file contains multiple sheets, Omni uploads only the first sheet.
  1. Click the Upload CSV option near the top right corner of the page.
  2. Browse for or drag the file you want to upload into the upload dialog.
  3. Review each column’s detected type and format, and change them if needed. If you select Date or Timestamp, you’ll also need to select a Format. Note: Changing a column’s type re-reads the file using the updated schema. If a value doesn’t match the new type, Omni highlights the row where it occurs.
  4. If you have Querier permissions or higher, you’ll see a Create topic checkbox. Select this checkbox to create a topic from the uploaded file. If you’re a Restricted Querier, Omni creates a topic from the file automatically.
  5. Click Upload to upload the file.
If the view name for a new upload is already taken, Omni adds a numeric suffix (for example, orders_2) instead of merging the upload into the existing view.
You can manually update the table’s data - including values, column types, and formatting - at any time in the table’s source tab.

Using data input tables

You can query data input tables like any other table. For example, you can use the field picker, the SQL editor, calculations and formulas, and joins.

Querying

After there’s data in the table, click Use in query to create a query using the data:
Data input table with five rows of data in the Omni UI, with the Use in query button
The table will also become available in the field picker in other queries.

Joining data

How you join data from a data input table to other data depends on whether table uploads are enabled for the database connection used by the workbook:
Traditional joins with data input tables require that connections have a Schema for table uploads configured.
If table uploads are enabled for the connection, you can use traditional joins, in point-and-click queries or in SQL, to create relationships between data input tables and other data.If you try to use a data input table in a traditional join and table uploads aren’t enabled, you’ll see this validation error in the model IDE:

Modeling and promoting data input tables

When a data input table is added to a workbook, a few things happen in the workbook model:
  • Omni creates a view representing the data input table. Omni automatically adds an uploaded_table_name parameter to these views:
    products.view
  • Omni creates a topic based on the data input’s view if:
    • Create topic was selected while uploading a CSV or XLSX, or
    • A Restricted Querier performed the upload
    Topics created from table uploads automatically receive empty required_access_grants, meaning they don’t inherit model-level default_topic_required_access_grants and are accessible to all users by default.

Promoting data input tables

Views and topics created from data input tables can be modeled like any other view or topic. To make the changes available outside the workbook, promote them to the shared model.

Updating data input tables

When making updates to a data input table, keep the following in mind:
  • Changes must be promoted to the shared model to be accessible outside the workbook. This is necessary even if the table was previously promoted to the shared model.
  • If table uploads are enabled for the connection, Omni creates a new table in the database each time the table is saved. You can manage previous versions of the table in the Upload management page.
To update a data input table’s data:
  1. In a workbook, locate the table in a query tab.
  2. Click the icon next to the table’s name, then Edit Table.
  3. The data input table opens in a new tab where you can edit the table’s data, column types, and formats.
  4. Click Save changes when finished.
Upon a successful save, the updated table will immediately become available in the workbook. Omni will also log a new version of the table in the Upload management page.

Table data

Use the sheet in the table’s source tab to edit the table’s data: Click Save changes when you’re done. If a value doesn’t match the column’s type, Omni shows an error and doesn’t save.

Table details

The top section of the Details panel displays information about the table, including the file name, size, created and updated dates, and date and time formatting options. To rename the table’s underlying file, use the File name field and save the changes. This changes the name of the file and how it displays in the workbook, but not the name of the underlying view used in queries.

Column types

Use the Columns section in the Details panel to select data types for the columns in the table. Omni supports the following data types for data input tables: When you save, Omni converts the column’s data to the new type. If a value doesn’t meet the requirements for its type in the table above, Omni shows an error and doesn’t save your changes. For example, Omni can’t save a Boolean column that contains 1 instead of true.

Date and time formats

Date and time formats tell Omni how to read the values in Date and Timestamp columns. Each format applies to all columns of that type in the table. When you create a table, the formats are set to Automatic, and Omni detects the formats from the data. After you save the table with a format, Automatic isn’t available. To change the formats:
  1. In the Details panel, click the icon next to Date or Time.
  2. In the Date and time formats dialog, select a Date Format and a Timestamp Format. To use a format that isn’t in the list, select Custom and enter a format string. Format strings use DuckDB format specifiers. For example, %d.%m.%Y reads 01.09.2026 as September 1, 2026.
  3. Click Save.

Managing previous table versions

Every time you create or update a data input table, Omni adds an entry to the Upload management page. Each item in the list represents a version of the table. Entries are sorted by the time they were created, beginning with the most recent. Navigate to Settings > Uploads and select the CSV option to display the uploads:
The Upload management page in Omni with the file type set to CSV

Explore and delete previous versions

Querying previous table versions

To create a query using a specific version of a table, click the Explore button next to the table version. This opens a new workbook that uses the specified version of the table.
If you promote the changes from an older version of the table, they overwrite the data currently in the shared model.

Deleting table versions

Deleting a table version can’t be undone. Before continuing, note that:
  • Omni permanently deletes the version of the table from your Omni instance. If table uploads are enabled, Omni also deletes the version from the database.
  • Queries, views, and topics built on the version return errors after the deletion.
Organization Admins can use the Upload management page to delete previous versions of a data input table:
  1. Navigate to Settings > Uploads.
  2. Locate the version you want to remove and click Delete.
After the deletion is complete, you’ll also need to:
  • Remove views and topics built on the version from the model
  • Update or remove queries using the version