Hello,
A very basic programming feature that Alteryx doesn't seem to have is the ability to change multiple columns to varying outputs if a condition is true.
For example:
If contains([text], "German Shepard") AND (contains([text], "dog") or contains([text], "Canine")) then
[genus]="Canis" and [species]="German Shepard"
else [genus] = null() and [species]=null()
endif
For my use case, I'm looking at text, and if it contains certain keywords, that informs four other columns (i.e., text is placed into four other columns). Right now, every time I want to add one item, I have four separate formulas I have to update. I have hundreds of these keywords so you can imagine how annoying and impractical this all is to keep all of these formulas synced. What can I do to easily overcome this? Is there a tool I'm missing?
edit: I know the multi-field formula will apply the same equation to multiple columns, but I need different values in those columns if a match is detected.