I have a list of identifiers ([Search String]) to search a string field ([Search Field]) to create categories for a customer. I would like to create a mapping document in excel that would generate/update the conditional formula in Alteryx that creates the [Category Name] field. The customer periodically has new items they want to add to the list. If I hardcode it in Alteryx, I'll be stuck updating the formula manually every time. Unfortunately, I can just use the [Category Name] field as a join field as it would be a 1 to many join.
I've included a dummy example table below the customer would maintain.
| Category Name | Search String |
| Indoor Plants | Alpha |
| Outdoor Plants | Beta |
| Vegetable Plants | Gamma |
The resulting formula field [Line of Business] in Alteryx would look like this:
IF Contains([Search Field], "Alpha" THEN "Indoor Plants"
IF Contains([Search Field], "Beta" THEN "Outdoor Plants"
IF Contains([Search Field], "Gamma" THEN "Vegetable Plants"
ELSE "Uncategorized"
ENDIF
Hope I explained that well! Has anyone come across a situation like this before? I've hit the wall!! Thanks in advance 🙂