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.

Flat Structure to Hierarchy

MK_DUSI
6 - Meteoroid

What’s the best way to convert a flat file into a tree structure format? I’ve attached a file showing both the current flat structure and the desired tree format. Any advice or tools you recommend for this transformation? Thanks!

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@MK_DUSI 
It is very interesting one.

I use the transpose tool to bring the data to vertical structure and take only the unique data.

Then Cross-Tab back to original layout.

0826-MK_DUSI.png

CoG
14 - Magnetar

@Qiu , Nice solution! Simple and Sweet.

Qiu
21 - Polaris
21 - Polaris

@CoG 
Thank you for the kind word, especially from the master of Alteryx. 😁

Labels
Top Solution Authors