Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Data Tranforamtion

SomuGS
8 - Asteroid

Hi,

 

I'm looking to transform columnar data into matrix form and assign ID (like catalogue ID)

 

Any help would be appreciated.

 

Thank you!

bsomeshe_0-1681794633393.png

 

3 REPLIES 3
flying008
15 - Aurora

Wow ! like a BOM form !

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @SomuGS ,

I have two approaches.

One is to use Network Analysis tool, but it turned out to be not effective in this case.

 

Network Analysis Tool

Yoshiro_Fujimori_0-1681802437259.png

Output

Yoshiro_Fujimori_0-1681805180330.png

 

 

Another is to use Join tool multiple times until you do not find any child node.

Join Tool

Yoshiro_Fujimori_2-1681804816489.png

(I guess your data is wrongly connected at the row below, and corrected it to Level 7.)

Yoshiro_Fujimori_3-1681804861939.png

 

Output

As I am not sure the sorting order, I just sorted at each level.

Yoshiro_Fujimori_4-1681804906866.png

 

I hope this is of some help.

SomuGS
8 - Asteroid

Konichiwa Fujimori Yashiro sama!

 

Thanks for looking this and your second solution was of great help. And with regarding to your observation on incorrect data connection "Item T" is at level 7 with two inputs.

 

Also, I wanted to sort the final results in ascending order at each level.

 

Arigato gozaimasu!

Bharat S

Labels
Top Solution Authors