Hello,
I am looking for the way to calculate percentage in particular column based on the string in other columns. Math formula doesnt let me do so, as it doesn’t read string columns. Are there any nodes that solve this problem?
Hello,
I am looking for the way to calculate percentage in particular column based on the string in other columns. Math formula doesnt let me do so, as it doesn’t read string columns. Are there any nodes that solve this problem?
Hi! But this wont solve my issue, as the column I am basing on contains string (no number)
I think you can either do it with @HansS solution Convert the Strings to Number then do the math formula
Or use the column expression nodes (though the rule engine had the same functions)
Attached a small example workflow
KNIME_project10.knwf (10.1 KB)
I guess if you want to keep the string columns as is - then the column expression node would be better - if you actually want a number instead of the string columns (for future use) then use the string to number node
Hi there @beezee,
welcome to KNIME Community!
Can you give us simple example how percentage calculation should look like? This always helps when suggest proper nodes/solution
Br,
Ivan
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.