Merge Over Empty Cells

The Merge Over Empty Cells transformation merges row or column contents over empty cells. This transformation is useful when you want to span cells with dynamically created content where you cannot use the Span Cells functionality.

Note: This transformation also merges equal spanned cells.

Prerequisites

The instructions in this topic assume that you have already added the transformation to your table by following the instructions in the Add a Transformation to a Table or Table Type subsection of the Table Transformations topic here.

Example

The below screenshots show three examples of the same column, before and after the application of the Merge Over Empty Cells transformation.

  1. The first is the original column, with individual empty cells.
  2. The second is how the column appears after applying the transformation. Cells are merged from top to bottom.
  3. The third is how the column appears after applying the transformation and checking the Reverse Direction box in the Merge Over Empty Cells dialog (more information is provided in the steps below). Cells are merged from bottom to top.

Steps

  1. After adding the transformation, under Parameters, click the ellipsis button (). The Merge Over Empty Cells dialog displays.

  1. Click the ellipsis button () to launch the Select Row/Column dialog.

After clicking Add, either a Row or Column field displays, depending on whether you are selecting a row or column. Click the ellipsis button () to launch another Select Row/Column dialog. This is identical to the previous 'Select Row/Column' dialog, except without the Group option. Click OK after making your selection.

Click Add again on the 'Select Row/Columns to be grouped' dialog to repeat the previous steps and add more columns to the group. Click OK when done.

Enter the starting and ending column numbers in the Column From and To fields, then click OK when done. To enter a range that will contain the remainder of the table if rows or columns are added later, enter a large number in the 'To' field such as 5999. Note that these fields can only contain integer values.

  1. Check the Reverse Direction box to merge over the empty cells from bottom to top instead of top to bottom. See the example given at the beginning of this topic for an illustration.
  2. Click OK when done.