Skip to content
Learn › Get data in: open the docs menu

Add rows to a dataset or replace its data

Edit-level access to the dataset · Updated 9 Nov 2026

The Add data dialog loads new data into a dataset you already have: it adds rows on top of the existing data, or replaces it, from a file upload or from another dataset in the project. Open the dataset's panel in the Data Library and click Add data ("Append a batch, or swap the file for a newer one"). You need Edit-level access to the dataset.

To put the rows of two or more datasets together from the list (tick them, then Combine), see Combine datasets. Its Batches in one dataset option finishes in this dialog.

Open the Add data dialog

  1. In the Data Library, click a dataset row to open the dataset panel.
  2. Click Add data. You can also choose Add data from the row's ⋯ menu, or from the Batches section under Settings & history.

Add data is offered for datasets you upload files into. Datasets fed by a connection offer Retrieve instead, and datasets that follow a file link offer Get the latest.

The dialog is titled Add data, with the dataset name beneath, an Input file row and an Update method row.

Add data dialog for Daily Sales.csv with Input file (Upload file or Select existing), Update method Add to existing data, the drop zone and Column mapping

Your situationInput fileGo to
You have a new file (CSV, Excel and so on) to loadUpload fileAdd a file to a dataset
You want data from another dataset in your projectSelect existingAdd another dataset's rows

Choose add or replace: the update method

MethodWhat it doesUse it for
Add to existing data (Combine)Appends the new data as another batch. Previous data is kept and the dataset grows.Incremental loads (daily sales, event logs, transaction feeds); monthly or regional files building a full history; audit and compliance needs that require full lineage
Replace all dataDeletes all existing rows (and previous batches) and inserts the new data, so the dataset stays a consistent sizeFull snapshots (weekly inventory exports, complete dimension tables); latest-only data such as price lists, staff directories and status reports; correcting a wrong upload; real-time dashboards that need only the latest data
Combine: April_Sales_Data.csv (127 rows) + June_Sales_Data.csv (127 rows) = 254 rows in 2 batches
Replace: Yesterday_Inventory.csv (1,000 items) -> Today_Inventory.csv (1,050 items) = 1,050 rows, only today's data

Changing the Update method saves it to the dataset straight away, even if you then select Cancel: "This changes the update method of the whole dataset, not only this upload. It stays changed even if you cancel adding the file." The same setting applies to Upload file and Select existing, and you can also change it in the dataset's settings.

Update Method dialog: Replace all data or Add to existing data, with the warning that the change applies to the whole dataset

Use Replace with care: previous data can't be recovered once replaced, so keep a copy of important history first. If every previous batch was suspended, the new batch is created suspended. See Batches: see and fix what arrived.

Add a file to a dataset

  1. Drag a file onto the drop zone, or click Upload file to browse your computer.
  2. Choose the Update method: Add to existing data or Replace all data.
  3. Optionally set Column mapping (Default or Custom; see Set column mapping and type rules). This row is not shown for PDF files.
  4. With Replace all data and a file that is not a PDF, select Replace and use the new file's columns when the file has new or renamed columns. The dataset's columns then become the file's columns.
  5. Click Submit. The button stays disabled until a file is selected.

A callout in the dialog explains that uploading a PDF replays the dataset's saved recipe automatically, while a CSV or Excel file is appended directly by matching columns.

DetailValue
Maximum file size50 MB (Limits and quotas)
Accepted formatsThe same as for file upload: CSV, TSV, PSV, TXT, XLS, XLSX, XLSM, XML, JSON, JSONL, NDJSON, ZIP, BZ2, GZ, TAR, 7Z, PDF, TIFF, TIF, JPEG, JPG, PNG, HEIC, HEIF, WEBP

A new row appears in the Batches list. It reads Applying recipe while Mammoth structures the file, or Pending if the batch needs a column mapping, a sheet selection or a file password (see Fix a pending batch).

What happens after you submit

The dialog closes straight away and the operation runs in the background; you don't need to wait on it. Mammoth:

  1. Appends or replaces the rows in the destination dataset.
  2. With Replace all data, deletes the previous batch records.
  3. With Delete dataset after combining ticked (Select existing only), removes the source dataset.
  4. Updates the batch count in the dataset panel: one more batch with Add to existing data, or one new batch in place of the old ones with Replace all data.
  5. Reruns dependent Views and pipelines. A View whose incoming link has Auto-sync off is not rerun: the new batch stays pending, and Monitor shows "new batch received, auto-sync off" with Preview and Process buttons (see Views).
  6. Writes an Activity Log entry recording what happened, who triggered it and when.

Follow progress in the Batches section of the dataset panel (under Settings & history) or in the Activity log.

Troubleshooting adding and replacing data

SymptomCauseFix
Add data isn't offeredThe dataset is fed by a connection or follows a linkUse Retrieve or Get the latest instead
"These columns do not all match the dataset's, by name or by type."Column names or types differClick Review Column Mapping, or set aliases with Create new column mapping
The new batch shows PendingIt needs a column mapping, a sheet selection or a file passwordSelect the row to resolve it (see Fix a pending batch)
The update method changed although you cancelledChanging Update method saves straight awaySet it back in the dialog or in the dataset's settings
A View didn't update after the new dataAuto-sync is off on its incoming linkClick Process in Monitor, or turn Auto-sync on (see Views)
The source dataset disappearedDelete dataset after combining was ticked, which deletes the source permanentlyUntick it next time you want to keep the source
Was this page helpful?

Something wrong? support@mammoth.io