transformations:append
Table of Contents
APPEND ANOTHER TABLE
Category: Transform / Basic
Description
This action appends another table to the current dataset. This action can operate in 2 modes:
- Append rows
- Append columns
Use cases
- Append rows.
The other table (dataset) is appended as new rows at the bottom of the current table. Columns with the same name in both tables appear as one column in the result table. Columns in the appended table that don't exist in the main table are appended on the right.This mode has the useful feature of preserving the order of columns of the main dataset to which the other dataset is appended. - Append columns.
The other table (dataset) is appended as new columns to the right of the current dataset. Columns from the appended table with the same name as in the main table are automatically renamed. The length of the resulting table is the longest length of the two tables. - Concatenation of similar datasets.
- Incremental loading.
Remarks
To append multiple datasets, apply the "Append" action multiple times.
Action settings
Setting | Description |
---|---|
Table to append | Select the dataset to append to the current one. |
Mode | Options: Append rows at the bottom (columns with the same name are concatenated into one column), and, Append columns to the right (columns with the same names are automatically renamed) |
Regardless of the mode, a dotted line will connect this action to the appended dataset in the application window.
Examples
Example #1
Append Table 2 to Table 1 as additional columns.
Before (source table)
Table 1: Rivers list
River | Continent |
---|---|
Nile | Africa |
Amazon | South America |
Table 2: The outflow
River | Outflow |
---|---|
Nile | Mediterranean |
Amazon | Atlantic Ocean |
After (result table)
River | Continent | Outflow |
---|---|---|
Nile | Africa | |
Amazon | South America | |
Nile | Mediterranean | |
Amazon | Atlantic Ocean |
Action parameters
Append columns to the right
Community examples
- Compare two Excel sheets with EasyMorph (Project; Module: Main; Group: Compare column names; Table: Compare column names; Action position: 2)
- Product of Rows in a Column (Project; Module: Main; Group: Tab 1; Table: Result; Action position: 2)
- Sort column in an export alphabetically (tab) (Project; Module: Main; Group: Enum/pivot/append; Table: Result; Action position: 2)
- How to parse EDI file (e.g. X12 transaction set 837) (Project; Module: Build line; Group: Append result; Table: Result;
Action position: 5) - Excel: Import Date Headings as number (Project; Module: Main; Group: Group 1; Table: New header; Action position: 6)
See also
transformations/append.txt · Last modified: 2025/01/10 16:23 by craigt