The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.

Many2One

Aggregates several columns into one single column.
In each row, it finds a matching column from the set of selected columns and places the name of that matching column into the aggregated result column. Which column matches depends on the selected "include method" and the include pattern.
If no column matches a missing value is added. If multiple columns match execution fails and no output is generated.
Missing values in the selected columns are ignored. If all selected columns of one row consist of missing values a missing value is put in the aggregated column. All include methods except the regular expression require columns which are double compatible.

Dialog Options

Columns
Select those columns which should be condensed.
Appended column name
Name of the aggregate column.
Include Method
Choose the method to determine the matching column:
Include Pattern
Enter the regular expression pattern if RexExpPattern was chosen as include method
Keep original columns
If checked, the selected columns are kept in the output table, otherwise they are deleted.

Ports

Input Ports
0 Data
Output Ports
0 Data with aggregated column
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.