Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Append row (name/value) to the column name

RajatK
8 - Asteroid

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
8 - Asteroid

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