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

create new columns in loop and join to existing data

Hilda
6 - Meteoroid

Hi,

 

This is my input data

Hilda_0-1643973937948.png

and this is my lookup table

Hilda_1-1643973985517.png

if the word "beep" is present in the data under Field_6 then the column Tones will be updated as 1 else 0 and joined with the main data. Same for the rest.

So is it possible to dynamically create the columns with the respective filters ?

 

Thanks for the help..

 

6 REPLIES 6
binuacs
21 - Polaris

@Hilda please provide some sample data and expected result

Hilda
6 - Meteoroid

sample data

Data
Cat is a domestic animal. Cat and dog are very beautiful.cat is friendly
Cat is a domestic animal. Cat and dog are very beautiful.dog is more friendly tan cat

lookup table

SearchBucket
catcat
dogdog
puppydog

sample output

Datacatdog
Cat is a domestic animal. Cat and dog are very beautiful.cat is friendly31
Cat is a domestic animal. Cat and dog are very beautiful.dog is more friendly tan cat32

there can be more entries added to the lookup table. so depending on the buckets new columns has to be created

@binuacs

gabrielvilella
14 - Magnetar

Hi @Hilda, here is one way of doing this.

gabrielvilella_1-1644246994178.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @Hilda 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1644247176657.png

 

Hope this helps : )

 

Hilda
6 - Meteoroid

@gabrielvilella @atcodedog05 Thank you.!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Hilda 

Cheers and have a nice day!

Labels