Alteryx Designer Desktop Discussions

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

Concatenate All Fields Dynamically

ricoo
8 - Asteroid

Hi All,

 

Is there a way in  Alteryx where in I could dynamically concatenate all columns from a data set? I’m thinking of using Multi-Field Formula, but I don’t know how I could apply it. I needed it to be dynamic so that it can accept different data structure from different data sets. If I could make it work, I'm thinking of using it inside a macro.

15 REPLIES 15
flying008
14 - Magnetar

Hi, @ricoo 

 

FYI.

 

录制_2023_09_08_12_10_57_316.gif

ricoo
8 - Asteroid

Hi @flying008 Thanks for this. I'm gonna try this one. I haven't tried yet this rightmost tool in grey yet. I'll respond on the results that I would get. 

flying008
14 - Magnetar

If can help you get your want, please mark it as a solution and give a like for more share.

ricoo
8 - Asteroid

Hi @flying008 it worked! Thank you so much. This is my first time to use the Dynamic Replace tool though so I have to figure out how to use this. And I had to discover this myself to tick the checkbox "Values are Expressions/Formulas" in order to get the actual values concatenated.

DynamiceRename.png

Also, I wonder why do we have to set the Bool column hardcoded to be "1"? I just copied your method but I didn't exactly know the reason why?

Formula.png

 

flying008
14 - Magnetar

1 is true, then the formula action can be enable.

ricoo
8 - Asteroid

Right. Thanks!

lhanson2
7 - Meteor

Hi @flying008 ,

I am reaching out for similar assistance with concatenating fields dynamically. I saw the solution; however, I don't understand how to configure the tools. Here's an example of my output. 

idfilterclassificationvinoptid.1optid.2optid.3optid.4optid.5optid.6
1validpassenger125487963908521147896758987758986758982758985
2validpassenger125478936808521708521608521508521408521108521

 

I would like to know how to concatenate the columns containing "optid" dynamically because they vary. Any help that you can provide will be greatly appreciated. 

 

 

Thank you, Lisa Hanson

flying008
14 - Magnetar

Hi, @lhanson2 

 

You only need filter name first.

 

录制_2024_01_23_10_11_55_740.gif

lhanson2
7 - Meteor

Hi @flying008 ,

This is great! Thank you very much for the help. Can you please share the Dynamic Replacement tool's configuration? 

Labels