We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to join two sheets into one sheet and rename header with sheet2 header?

phoebe_90
8 - Asteroid

1.join two sheets into one sheet 

2.rename header with sheet2 header

3.sort by document number

sheet1

Document NumberInput_#2_AccountAmount in local currencyInput_#2_Cost CenterInput_#2_Profit CenterTax Code
19000498660200000.457061601J2
1900047765040000376.427095902J1
1900047765010000350.287095902J2
1900047765010000350.287095902J2
1900047765010000360.897095902J2
19000471660200008.497093901J2
1900049866020000107.17061601J1
1900047166020000191.447093901J1

sheet2

Document NumberAccountAmount in local currencyCost CenterProfit CenterTax Code
19000498245082100.45 900J2
1900047724508210376.42 900J1
19000477245082101061.44 900J2
19000471245082108.49 900J2
1900049824508210107.1 900J1
1900047124508210191.44 900J1
2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @phoebe_90 

 

Sounds like you'd want to use the Union tool followed by a sort tool. To keep the 2nd set of headers connect that data to the tool first (or set the order in the configuration)

https://help.alteryx.com/20223/designer/union-tool

 

gautiergodard
13 - Pulsar

Agreed with @Luke_C - something like the attached workflow should work.

If needed, you could also use the field info tool combined with a dynamic rename.

Labels
Top Solution Authors