Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Creating additional field that identifies Flats & Apartments

JamesDB
7 - Meteor

Hi There,

 

I'm relatively new to Alteryx and I'm looking to create a new field within my data that flags records where flat, apartment or variants of are within the address fields.

 

In MS Access I would run the query as shown in the screenshot attached.Flat query.PNG

 

How would I go about doing this please?

 

Many thanks in advance.

3 REPLIES 3
andyuttley
11 - Bolide
11 - Bolide

Hi @JamesDB 

 

One method would be to use a Contains([YourField], "Flat") function in a formula, e.g.:

IF Contains([YourField], "FLAT")  then "Flat"

elseif Contains([YourField], "APARTMENT") etc...

 

Let me know if you want an example

Andy 

jamielaird
14 - Magnetar

Hi @JamesDB 

 

Here's a simple example of how you could approach this:

 

Screenshot 2019-07-04 at 10.33.30.png

 

Example workflow attached.

 

Cheers,

 

Jamie

JamesDB
7 - Meteor

Hi Andy,

 

Many thanks for your input.

 

James

Labels