We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Discussions

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

Append row (name/value) to the column name

RajatK
7 - Meteor

Hi,

 

I need help with the below scenario. My data looks something like this:

 

CompanyCodeBalance AmountMonthName
ABC1001000May 

 

What I want the data to look like: 

 

CompanyCodeMay - Balance May - Amount
ABC1001000

 

Please let me know if you have a feasible solution for this. 

 

Thank you in advance!! 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @RajatK 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1630392234554.png

 

1. Using transpose tool to convert data columns to rows.

2. Using formula tool to create new col name.

3. Using crosstab to convert it back to table.

4. Using dynamic rename to fix naming.

 

Hope this helps : )

RajatK
7 - Meteor

Thank you so much, @atcodedog05 ! This is very helpful! 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @RajatK 

Cheers and have a nice day!

Labels