community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Concat the Column Names from previous Row

Alteryx Certified Partner

Hi All,

 

The scenario is as follows:

 Sales  Profit  
ProductRetailer 1Retailer2Retailer 3Retailer 1Retailer2Retailer 3
A201015121314
B291243343454
C124353435424
D544312236478
E235644132343

 

The sales and profit needs to be concatenated with the next row.

 

ProductSales-Retailer 1Sales-Retailer2Sales- Retailer 3Profit-Retailer 1Profit-Retailer2Profit- Retailer 3
A201015121314
B291243343454
C124353435424
D544312236478
E235644132343

 

How would this be possible? 

Thank you in advance for the solution

Alteryx Certified Partner
Alteryx Certified Partner

Yes this is definitely possible and something that i've done a few times when client side.

 

Example workflow attached. One of the key elements is in the input tool and to check the option 'first row contains data'.

 

Ben

 

2018-11-20_07-41-30.png

Alteryx Certified Partner

Hi Ben!! 

 

The solution looks perfect. Can you please help me implement on the attached data?

 

Alteryx Certified Partner
 
Alteryx Certified Partner

Thank you Ben! It worked very well!

Labels