DataGraph
Print

How to Fill with Previous

A common way of organizing data in tables is with subheadings, where only the first row of a section has the subheading listed. This format can make it easy to view data and may be appropriate for presentation, but to filter or sort data properly, each row entry should be populated.

For example, here is a table containing three groups of data labeled “Control,” “Exp1.” and “Exp2.” Only the first row shows the series name.

DataGraph has an automated action to fill these entries quickly.

Data Side Panel

To fill the entries of a column with a previous value from the data side panel:

  1. Click the gear menu on the column object.
  2. Select “Fill empty rows with previous non-empty row.”

Here is the result, where the column “Series” has an entry in every row.

Data Table

To fill the entries of a column with a previous value from the data table:

  1. Hover your cursor over the column.
  2. Control-click to open a pop-up menu.
  3. Select “Fill empty rows with previous non-empty row.”

The rows will be filled with the prior value. The new values will extend down to the last row shown, based on the longest column in the data table.

Demo: Watch the process of filling the leftmost column with the subheadings.

You can select a column with any data type: text, numbers, or dates.

On This Page