We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Chain Sorting

jt98
7 - Meteor

Hi all, I have a data where currently it is all sorted and I have over 2 million records. There is a parent ID and can have multiple children and I want to sort them in a way where i can see the chain of each path like below:

 

Sale date Parent IDID
2022-05-05 005
2022-05-05005008
2022-05-05008010
2022-05-05010017
2022-05-05008015
2022-05-05015019
2022-08-10 800
2022-08-10800865
2022-08-10865900
2022-08-1090058



Using a normal sort wont work as it will sort ascending and will not show the chain effect. Maybe I could use iterative macro but im not familiar with it. 

Thanks in advance for any help!

2 REPLIES 2
gawa
16 - Nebula
16 - Nebula

Hi @jt98 

 

This would not be exactly solution to your question, but if you want "Chain", then try iterative macro like attached workflow.

 

image.png

Amol_Telore
11 - Bolide

@jt98 , will you be able to share some sample input data?

Labels
Top Solution Authors