ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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