Alteryx Designer Desktop Discussions

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

Append Fields

jenner85
8 - Asteroid

Hi - how do I append fields in the following way:

 

Input:

 

 CountAmount
TOTAL CASH ADV3,6781,627,781.08
TOT GROSS SALES1,107,85894,289,705.50
CREDIT VOUCHERS29,3743,773,964.10

 

 

Desired Output:

 

 Value
Total Cash ADV_Count3,678
Total Cash ADV_Amount1,627,781.08
TOT GROSS SALES_Count1,107,858
TOT GROSS SALES_Amount94,289,705.50
CREDIT VOUCHERS_Count29,374
CREDIT VOUCHERS_Amount3,773,964.10

 

thanks!

3 REPLIES 3
vizAlter
12 - Quasar

Hi @jenner85 — Try this solution:

vizAlter_0-1600884097210.png

 

 

ImadZidan
12 - Quasar

Hello @jenner85 ,

 

Have a look at the workflow. it will give you an idea.

 

Any problems, give us a shout

cgoodman3
14 - Magnetar
14 - Magnetar

Hi @jenner85 

 

This is how you do it, the bit you need is a transpose tool to pivot the headers down into a new field and then use a formula tool to update the name.

Capture.PNG

I've gone one step further to convert the numbers into a numeric field type which means you can add the numbers up, which you can't do with a string field type.

 

Chris

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
Labels