Alteryx Designer Desktop Discussions

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

Find the Min and Max dates to calculate the number of days

Sammy22
8 - Asteroid

I have data which contains quote dates and sold dates with flags showing which row is for what. I want to calculate the earliest date a transaction happened, the latest date and the number of days between the quote taking place and the transaction taking place. Quote column being 1 means it is a quote, sold column being 1 means it is a transaction that sold. Min date and max date are the dates related to the sold transaction. days (max) would just be the difference between the quote date and the max date which is found. Any idea?

 

Quote NodateSoldQuoteMax dateMin DateDays (Max)Days (Min)
11/1/20211     
12/1/20211     
112/3/2020 12/1/20211/1/20216029
25/1/20211     
28/1/20211     
23/1/2021 18/1/20215/1/202115361
1 REPLY 1
PhilipL
Alteryx
Alteryx

@Sammy22 

Check out the attached. I may have over simplified this, so please review that it hits the mark.

Labels