Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Merging rows

SaiJanani
7 - Meteor

Hi,

 

I am completely new to Alteryx and need help to get the below output. Thank you in advance.

 

Sample Input:

Col ACol BCol CCol DCol ECol FCol GCol HCol  I
ABC1231123456ABCAxUSD4/20/20214/27/20210.042
DEF1871123456ABCAxUSD2/19/20212/26/20210.042
GHF1971123456ABCAxUSD3/19/20213/26/20210.042
HML3211123456ABCAxUSD1/20/20211/27/20210.042
LKH4561123456ABCAxUSD5/20/20215/28/20210.042
LMB8791123456ABCAxUSD6/18/20216/28/20210.042
MNC54651654789XYZBxUSD6/18/20216/28/20210.034914
LU23551654789XYZBxUSD6/18/20217/8/20210.028417
NY98551654789XYZBxUSD6/18/20216/28/20210.002449
GHF1975459873PQRSCxUSD6/18/20216/18/2021-0.02352
DEF1875459873PQRSCxUSD6/18/20216/8/2021-0.04949
ABC1235459873PQRSCxUSD6/18/20215/29/2021-0.07546

 

 

 

 

 

 

Sample output needed as per below:

 

 

Col A/Col BCol CCol DCol ECol FCol GCol HCol  I
1123456ABC     
ABC123  AxUSD4/20/20214/27/20210.042
DEF187  AxUSD2/19/20212/26/20210.042
GHF197  AxUSD3/19/20213/26/20210.042
HML321  AxUSD1/20/20211/27/20210.042
LKH456  AxUSD5/20/20215/28/20210.042
LMB879  AxUSD6/18/20216/28/20210.042
51654789XYZ     
MNC546  BxUSD6/18/20216/28/20210.034914
LU235  BxUSD6/18/20217/8/20210.028417
NY985  BxUSD6/18/20216/28/20210.002449
5459873PQRS     
GHF197  CxUSD6/18/20216/18/2021-0.023519
DEF187  CxUSD6/18/20216/8/2021-0.049487
ABC123  CxUSD6/18/20215/29/2021-0.075455

 

3 REPLIES 3
mbarone
16 - Nebula
16 - Nebula

Hi @SaiJanani , it will probably take a combination of a Crosstab tool, a Transpose tool and a Summarize tool.  The Tool Mastery Index has links to help learn many of the tools.  

atcodedog05
22 - Nova
22 - Nova

Hi @SaiJanani 

 

Here is my take on the usecase

 

Workflow:

atcodedog05_0-1635251616911.png

 

Hope this helps : )

 

SaiJanani
7 - Meteor

Thank you, problem solved

Labels