Free Trial

Alteryx Designer Desktop Discussions

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

Merging columns data into rows

Abcdefg090921
5 - Atom

Hi all, I have just transposed my data in to this orginal input. How do i merge the last 2 columns in the table into the rows from Name to Total amount? As the table and chair columns are the breakdown of the total amount. Attaching the file 'input' tab is the one i believe will be input into alteryx, while the 'output' tab is only for reference of the final output desired. 

 

Would appreciate all help thank you in advance!  

 

Original input: 

Name Date of purchaseReceipt numberItemTotal amountTable Chair
Alex01-Jan-246Table & chair251015
Bryan15-May-2412Table & chair502030
Catherine26-Jun-2434Table & chair753045
Dini14-Jun-2465Table & chair251015
Ethan28-Mar-2443Table & chair502030
Frank13-Apr-2418Table & chair1004060

 

 

Expected output: 

Name Date of purchaseReceipt numberItemTotal amount
Alex01-Jan-246Table & chair25
Alex01-Jan-246Table10
Alex01-Jan-246Chair15
Bryan15-May-2412Table & chair50
Bryan15-May-2412Table20
Bryan15-May-2412Chair30
Catherine26-Jun-2434Table & chair75
Catherine26-Jun-2434Table30
Catherine26-Jun-2434Chair45
Dini14-Jun-2465Table & chair25
Dini14-Jun-2465Table10
Dini14-Jun-2465Chair15
Ethan28-Mar-2443Table & chair50
Ethan28-Mar-2443Table20
Ethan28-Mar-2443Chair30
Frank13-Apr-2418Table & chair100
Frank13-Apr-2418Table40
Frank13-Apr-2418Chair60
3 REPLIES 3
flying008
15 - Aurora

Hi, @Abcdefg090921 

 

FYI.

 

录制_2024_11_07_11_20_50_617.gif

 

录制_2024_11_07_11_26_58_956.gif

Abcdefg090921
5 - Atom

Hi flying008, it seems like it is exactly what i was looking for! Do you have the workflow as reference for the formula? 

flying008
15 - Aurora

Hi, @Abcdefg090921 

 

The formula and tool's option all in the gif, please look again !

Labels
Top Solution Authors