Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Sorting and extracting the data from database

hishashvat
6 - Meteoroid

Guys  I have a situation where i have got  different SKU which are being shipped to different countries with unique order no.

 

Now i have to find out/extract/identify the last order shipped with the help of delivery date along with quantity of the particular SKU for the given country.

 

Database attached over here

 

example : 

order highlighted in red is the last order delivered till date for United Kingdom

order highlighted in Blue is the last order delivered till date for Switzerland

order highlighted in Pink is the last order delivered till date for Ireland..

Likewise for other SKU as well 

and if there is no delivery date that means that order has not been shipped yet

533054GBUnited Kingdom10014797264227-01-20
533054GBUnited Kingdom10014797274209-03-20
533054GBUnited Kingdom10014797284220-04-20
533054GBUnited Kingdom10014797294217-05-20
533054GBUnited Kingdom10014797304228-08-20
533054CHSwitzerland 10014797321003-10-19
533054CHSwitzerland 10014797337806-02-20
533054IEIreland10014797401004-05-20
533054CHSwitzerland 10014797434811-08-20
533054GBUnited Kingdom10014797454217-06-20
533054GBUnited Kingdom10014797488427-07-20
533054CHSwitzerland 100147975420006-08-20
533054CHSwitzerland 1001479759514-04-20
533054CHSwitzerland 1001479772530-06-20
533054CHSwitzerland 1001479775525-08-20

 

 

Thanks in Advance 

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi @hishashvat I mocked up a workflow that I think does what you ask let me know what you think?

hishashvat
6 - Meteoroid

Yes it works. Thank you 

Labels