In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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
Top Solution Authors