In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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