Skip to content

CSV & Excel mapping

CSV and Excel sources are mapped the same way: you select a place in the sample file and tell DASH which definition property it fills. For each mapping you choose whether the value appears once (a single cell) or repeats down a column (one value per row, such as test results).

  1. Open the map on its Field Mapping tab.
  2. Drag a sample onto Upload Sample CSV File (a .csv file) or Upload Sample Excel File (.xlsx or .xls), or select Upload CSV File / Upload Excel File to browse.
  3. DASH shows the file in a preview grid (CSV Preview for CSV; one tab per sheet for Excel), with chips such as 6 rows and 9 columns. On the right, the Definition Properties panel lists every property and whether it is mapped.

When you reopen a saved map, the sample is restored and marked Restored. Use Change File to load a different sample, or Clear All to remove every mapping.

  1. In the preview, select a single cell, or select a column (or a range down a column).
  2. The Map Selection to Property dialog opens, showing the cells you selected.
  3. Choose the Mapping Type:
    • Single Cell: a static value that appears once, such as a batch number or a manufacture date.
    • Column (Each Row): repeating data where each row is one value, such as the results in a test-results table.
  4. In Target Property, type to search and pick the definition property.
  5. Leave Value Transform on Direct copy to use the value as it is, or choose a transform. See Field transforms & row rules.
Map Selection to Property: a column mapped as Column (Each Row), with the Value Transform list open
Map Selection to Property: a column mapped as Column (Each Row), with the Value Transform list open
  1. Select Apply Mapping. The mapped cells are outlined in the preview, and the property in the Definition Properties panel shows its source cell or column and any transform.
  2. Select Save at the top of the map.

To change or remove a mapping, select the mapped cells again. The dialog opens as Edit Mapping with Currently Mapped at the top; choose Update Mapping or Remove Mapping.

A saved CSV map: mapped cells outlined in the preview, and each property's source and transform in the panel
A saved CSV map: mapped cells outlined in the preview, and each property's source and transform in the panel

Map each column of a results table with Column (Each Row). Every row of the source then becomes one instance of the repeating entity in the definition. In the certificate’s review screen and PDF, the results are shown as a table: the property names are the columns, and each source row is a row.

A value that is the same on every row, such as a shared method, can be mapped from a single cell. It is filled in for every instance.

Some Excel files hold more than one results table that feed the same properties. Map the column in the first table, then select the matching column in the next table and map it to the same property. Each table is added as another source for that property, and the panel shows one chip per table.

When the certificate is produced:

  • the XML merges the rows from every table into one repeating group; while
  • the PDF and the review screen keep each table as a separate section, so the layout matches the original document.