Column Expressions nodes

I’m not finding the “Column Expressions” function and I’ve already selected the “all nodes” settings

Hi @matheusnelles

It’s part of an extension. Make sure you have this installed :wink:

You can drag and drop it into your KNIME

image

5 Likes

Thanks!

What function would I use to create a column if it didn’t exist?

Depends on your use case. You need to click on the plus icon to add a new column, set the definitions and then create the function accordingly.

if (isMissing(column(“C170”))) {
“default_value_C170”
} else {
column(“C170”)
}
I’m trying this function but it returns error

Please share your workflow or an example that shows the problem. It works fine for me if I use the same function :wink:

In my case, the entire column doesn’t exist and I wanted to create it

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