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.

Data Preparation-hierarchy

Ragini1
8 - Asteroid

 

Hello Everyone,

This is the input and the desired output. Can someone please help me with creating a workflow for this.

 

Regards,

Ragini

Input-->

Level 1Level 2Assignment
10000100001

3100004

10000100001

3100005

100001000013100006
100001000013100007
100001000023100008
100001000023100009
100001000023100010
100001000023100011
20000 2000013100012
200002000013100013
200002000013100014

 

Output->

High Level GroupLow Level GroupProfit Center
 10000 
10000100001 
100001 3100004
100001 3100005
100001 3100006
100001 3100007
10000 100002 
100002 

3100008

100002 3100009
100002 3100010
100002 3100011

 

20000 

20000

200001 

200001

 3100012
200001 3100013
200001 3100014
1 REPLY 1
pedrodrfaria
13 - Pulsar

HI @Ragini1 

 

Please see below for the solution you are looking for:

 

I separated the the workflow into different summarizes doing each part of the table you are trying to get together and then sorting it all by the original order to get it in the correct order and format.

 

pedrodrfaria_1-1610321335560.png

 

Please assign the solution if your questions have been answered.

 

Pedro.

 

Labels
Top Solution Authors