Alteryx Designer Desktop Discussions

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

Column of Dynamic Parameter Names and Column of Associated Values into 2 or 3 columns

asmith314
8 - Asteroid

Hello Everyone,

 

In the attached Sample workflow, I have a sample data set that consist of a Column that contains a Client Id, a column that consist of Parameter Names, and a column that consist of Parameter values. These Parameter Names are the Header for each Parameter value. These Parameter Names could be different for each client and the quantity number of parameters names could be different from client to client. I need a way to dynamically turn whatever quantity and values that are received into 2 or 3 columns that eventually looks like the output in the sample but in multiple columns.

 

Any suggestions? It is probably super easy to do but nothing I have tried so far has worked.

 

asmith314_0-1676821583822.png 

asmith314_1-1676821611327.png

Ultimately I need the data to look like this (I used a photo editor to make this with the fields)

 

asmith314_0-1676829325644.png

 

 

 

12 REPLIES 12
binuacs
20 - Arcturus

@asmith314 I like the way you arrange your table data, that is something new to me. Thanks for that. To avoid repeated steps I created a standard macro and added in the workflow

 

binuacs_0-1676842603242.png

 

 

binuacs
20 - Arcturus

@asmith314 I also updated your solution with macro

binuacs_0-1676844834391.png

 

asmith314
8 - Asteroid

That's awesome, Thanks a bunch @binuacs!

Labels