Convert multiple columns for each year of data into a single column and date column

Hi @zm004433 and welcome to the forum.

Try this workflow out and see what you think. It works on your sample data, but I think it should be fairly extensible to your larger dataset. The trick is making sure you understand how the configuration of the Unpivoting and Pivoting nodes work.

2021-06-16 14_37_03-KNIME Analytics Platform

2021-06-16 14_35_31-Pivot table - 0_6 - Pivoting

UniversityDataUnpivotExample.knwf (12.3 KB)

4 Likes