Convert an entire table (Strip + uppercase)

Hi guys,

Here is the fact: I have an input table (around 90 columns) and I need to uppercase and remove blanks for each column values using Knime.

I already know (and use) the “String Manipulation” node by which I am able to manipulate data column by column.
Does anyone knows or have experience with an “automatic” way to convert the whole 90 columns in one shot (maybe using a loop). I tried with the “Column List Loop” but with no success :frowning:

Thanks for the support

Cheers

Alessandro

Hi @AlessandroMarchesani -

Here’s the way I tackled this, as shown in the attached example workflow. I’m making use of the currentColumnName flow variable twice in the Column Expressions node - in both the expression itself and the output column.

If this isn’t what you were aiming for, let me know.

2018-09-05%2016_08_14-KNIME%20Analytics%20Platform

2018-09-05%2016_08_24-Manually%20created%20table%20-%203_18%20-%20Table%20Creator

2018-09-05%2016_08_34-Collected%20results%20-%203_21%20-%20Loop%20End%20(Column%20Append)

LoopOverColumnExpressionsExample.knwf (11.2 KB)

Hi Scott,

this is exactly what i needed! Thank you so much!!

You saved me a lot of time!

Cheers and thanks again!

Alessandro

1 Like

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