Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Multiples invoices within a very short period of time

Hussein982
8 - Asteroid

Hi All: 

 

The goal here is to be provided with a workflow that identifies suppliers who have submitted invoices within a short period of time.

 

Short period of time = number of days between the invoices do not exceed 5 days (good example is Transaction ID # 1 through 5 - please see below table where you will notice that the invoice dates are back to back).

 

The file I have contains more than 300,000 lines with different suppliers and different invoice date, number and amounts. However, I would like to highlight all invoices provided that falls within short period of time.

 

Thank you in advance.

 

Transaction ID # Supplier nameInvoice #Invoice date           
1A10Jan 1 2021
2A20Jan 1 2021
3A30Jan 2 2021
4A40Jan 3 2021
5A50Jan 4 2021
6A60Feb 15 2021
7A70March 30 2021
8B80April 5 2021
9C90May 10 2021

 

 

4 REPLIES 4
binuacs
21 - Polaris

@Hussein982 One way of doing this

binuacs_0-1676580033507.png

 

Hussein982
8 - Asteroid

@binuacs thank you!

martinding
13 - Pulsar

Hi @Hussein982 ,

 

Please find attached a sample workflow.

Hussein982
8 - Asteroid

@martinding thanks Martin!

Labels
Top Solution Authors