I’m trying to do a string manipution based on a condition, I downloaded the Column Expresions to do it but unfortunately I haven’t resolved the trouble. The situation is something like this:
IF (column(“TpId”)=“A” THEN substr(column(“ID”),0,9)
ELSE (other value diferent to “A” for column “TpId” = “ID”)
The idea is to replace the values in column “ID” according to the condional
I appreciate any help even with another suggested node.
This takes the 0 to 9 substring of ID whenever TpId is equals to A and otherwise keep the ID.
Please note: When posting a question in the forum, please include input and expected output, screenshots, (anonymized) data set, workflows, etc. as much as possible. To more you provide, the more accurate people can help you