Icon

Data Wrangling _​ Conditional Loop based on Sepcific Column Value (two sources)

https://forum.knime.com/t/conditional-loop-based-on-specific-column-value/64155

old databefore 2020new data after 2020full outer join years wideshape yearslong formatvalidate ID max YEARstart loop ID / max YEAR to variablefilter case IFID YEAR == max YEARfilter case IFID YEAR == max YEARCase TRUEcolect max YEAR validated dataTable Creator Table Creator Joiner Unpivoting GroupBy Table Row ToVariable Loop Start Rule-basedRow Filter Rule-basedRow Filter End IF Loop End old databefore 2020new data after 2020full outer join years wideshape yearslong formatvalidate ID max YEARstart loop ID / max YEAR to variablefilter case IFID YEAR == max YEARfilter case IFID YEAR == max YEARCase TRUEcolect max YEAR validated dataTable Creator Table Creator Joiner Unpivoting GroupBy Table Row ToVariable Loop Start Rule-basedRow Filter Rule-basedRow Filter End IF Loop End

Nodes

Extensions

Links