I'm trying to create a new column that formulates a text string, using other columns of data. The formula I have right now is:
IF [Column 2] != "N" THEN "Went from" + [Datapoint1] + "to " + [Datapoint2] ELSE " " ENDIF
I am getting a parse error 'Type mismatch in operator +. I've tried putting the column names in " ", but then it just surfaces the text of the column names (looks like "Went from [Datapoint1] to [Datapoint2]".
I want the column to be dynamic, where if the row of data meets the IF criteria, it says "Went from 1 to 4", or "Went from 1 to 500" depending on the values in the corresponding datapoint1/datapoint2 columns. What am I missing? It's been awhile since I've used Alteryx so a little rusty 🙂