Hello,
I'm pretty new to Alteryx and this is my first time posting here so thank you in advance for your patience.
I am trying to figure out how to how categorise a country field. Sounds like it should be straightforward right?
I have a field name, 'country' which could contain anything from 'UK' to 'UK,ROI,Spain,Germany,Italy,France' etc. the list could cover as many countries as you can think of. What i would like to achieve is to have a field which is populated with either 'domestic' or 'international'.
I.e.
if the country field = UK or ROI or UK & ROI or ROI then i would like the new field to say domestic.
if the country field doesn't contain UK or ROI at all then i would like the new field to say international
If the country field contains Spain,Germany,ROI,Italy,France,UK, i need to be able to flag this for review.
I have tried a nested IF contains formula but it seems to stop searching through the field as soon as it gets a match. I have tried parsing the data into different columns and using a multi-field formula but that doesn't seem to allow me to apply the result to a single field. I have even tried using a number of filter tools but the country names could be in any order so a simple filter may not work.
Please let me know if anyone knows how i can get around this issue.
Thank you all in advance.