Alteryx Designer Desktop Discussions

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

Stack Multiple Value columns but maintain column name in new field

jbassin
5 - Atom

I am trying to stack my data by each value field while maintaining the column name they came from within a new field.

 

See illustrative example below:

Before:

Classification 1Classification 2Classification 3Value 1Value 2
A12b110
A12b220
B22b330
A22d430
A22d530
A22d630

 

After:

Classification 1Classification 2Classification 3Value CategoryValue
A12bValue 11
A12bValue 12
B22bValue 13
A22dValue 14
A22dValue 15
A22dValue 16
A12bValue 210
A12bValue 220
B22bValue 230
A22dValue 230
A22dValue 230
A22dValue 230

 

Any help would be greatly appreciated.

 

Thank you!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @jbassin 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1642783419171.png

 

Hope this helps : )

 

jbassin
5 - Atom

Thank you so much for the quick reply! This is exactly what I needed. My configuration of the transpose function was off but this was what I needed.

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @jbassin 

Cheers and have a nice day!

Labels