Alteryx Designer Desktop Discussions

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

Append Column Names to Data Rows

vinayR96
7 - Meteor

Hi, 

 

I've a Dataset where I want to append column names to the Data.

 

For example,

BrandProduct
11
12
23
24

 

To Be converted to 

BrandProduct
Brand 1Product 1
Brand 1Product 2
Brand 2Product 3
Brand 2Product 4

 

I'm not able to figure out a way. Any help would be appreciated!

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @vinayR96 I mocked up a workflow that produces your output. Let me know what you think?

meljaafari
Alteryx Alumni (Retired)

Hi,

 

You can leverage the CrossTab and Transpose as a way to bring column headers to rows, concatenate the bring them back to columns.

The record ID at the start is what allows us to still identify every single row within your data.

 

Here is what the workflow based on your data looks like, and I have attached the sample workflow

meljaafari_0-1594133413458.png

I hope this helps,

 

Cheers,

Mo

 

vinayR96
7 - Meteor

Thanks Joseph! This is very helpful!

vinayR96
7 - Meteor

Thanks Mo! This is very helpful!

Labels