If clause depending on lenght of table

Hello there,

is it possible to create an if clause depending of the lenght of the table?
Sometimes I have a table of a semster and sometime a table of a year. The table of the year has six more columns. I delete the month column so after it I have equal amount of columns and the if clause can be closed.

All the best

Try Extract Table Dimension node. https://nodepit.com/node/org.knime.base.node.util.extracttabledimension.ExtractTableDimensionNodeFactory
Then https://nodepit.com/node/org.knime.base.node.switches.manualif.ManualIfNodeFactory
Then Column filter. https://nodepit.com/node/org.knime.base.node.preproc.filter.column.DataColumnSpecFilterNodeFactory

How can I say if there are 22 columns take the top output. If there are only 16 columns take the bottom output?

Sorry you need this node https://nodepit.com/node/com.vernalis.knime.flowcontrol.nodes.fv.varvalifswitch.FlowVarFvvalIfSwitchNodeFactory2


It works!

Thank you very much! :smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.