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.
SOLVED

Sorting the data based on due date and product

NakulMalisetty
7 - Meteor

Hi Everyone,

 

I need some help on the sorting, the sorting should be done on 'due date' then grouped by 'Product' for each row. The data with lesser due days is 2 so, it should be the first record however, instead of picking 'due date' 3 as the next record, it should group the 'Product' for the first record then it should go to next 'due date' and do the same.

 

Below tables show the input and expected output. Any suggestions would be appreciated.

 

INPUT    OUTPUT  
OnlineA10  Order TypeProductDue Days
OfflineA3  OfflineC2
Third partyA11  Third partyC4
OnlineB4  OnlineC8
OfflineB5  OfflineA3
Third partyB6  OnlineA10
OnlineC8  Third partyA11
OfflineC2  OnlineB4
Third partyC4  OfflineB5
     Third partyB6

 

Thanks

Nakul

11 REPLIES 11
alexnajm
18 - Pollux
18 - Pollux

Have you tried my solution on your data? I have tried multiple times and it still works.

 

if it doesn’t for you, provide a concrete example of it not working and a working input and output data result

NakulMalisetty
7 - Meteor

Thank you Alex! 

Labels
Top Solution Authors