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

Alteryx Designer Desktop Discussions

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

Split data and join them together

niteshsharma677
7 - Meteor

Hi Everyone,

 

 

I need to convert following input to following output. How can I achieve this ?

 

Input

F1F2F3
Sub1st attempt1st attempt passed
Eng4534
Math5632
SubAll attemptAll attempt passes
Eng5623
Math4422

 

 

Output

 

Sub1st attempt1st attempt passedAll attemptAll attempt passes
Eng45345623
Math56324422
4 REPLIES 4
ShankerV
17 - Castor

Hi @niteshsharma677 

 

Step 1: Use Multi row function to numbering

Step 2: Use Filter tool

Step 3; Join the datasets

 

Many thanks

Shanker V

niteshsharma677
7 - Meteor

@ShankerV 
Thanks for your input.
What exactly to be done in the multi row function ?

ShankerV
17 - Castor

Hi @niteshsharma677 

 

One way of doing this.

 

ShankerV_0-1686377310954.png

 

Step 1: Input

 

ShankerV_1-1686377337083.png

 

 

Step 2:

 

ShankerV_2-1686377369308.png

IF [F1]="SUB"
THEN [Row-1:Temp]+1
ELSE [Row-1:Temp]
ENDIF

 

ShankerV_3-1686377386043.png

 

Step 3:

 

ShankerV_4-1686377416211.png

ShankerV_5-1686377428787.png

 

Step 4:

ShankerV_6-1686377447800.png

ShankerV_7-1686377463756.png

 

Many thanks

Shanker V

niteshsharma677
7 - Meteor

Thanks a lot @ShankerV  !

Labels
Top Solution Authors