Record counts: How DataMergeStudio knows where your data ends

Detecting where the data ends and counting records

Before you merge, it helps to know exactly how many records DataMergeStudio will produce. The record count is that number – and where your data "ends" decides it.

One master row, one record

Your record count comes from the master sheet: each master row is one record. Five product rows means five product documents; two hundred attendee rows means two hundred badges. Secondary rows don’t add to the count – they’re pulled into records through data groups, not counted as records themselves.

Where your data ends

DataMergeStudio works out the extent of your data so it doesn’t merge empty trailing rows. The practical advice is to keep your master sheet tidy: real records in a continuous block, no blank rows scattered in the middle, and nothing stray left far below the last record. A clean sheet makes the count obvious and predictable.

Use the count as a sanity check

The record count is one of the fastest ways to catch a data problem before you produce anything:

  • Higher than expected? You may have stray rows or blank lines being counted.
  • Lower than expected? A gap in the data might be cutting the range short, or rows may be filtered out.

Check the count, and if it doesn’t match what you intended, fix the sheet and reload before merging.

Next

Back to the start of the data story, or on to the layout: What Is a Datasource?

Not found what you're looking for?

Datasource · Last updated 1 month ago

Copyright ToolboxCode UG