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.

Find Latest Date between the columns!!!

Dhilip_Kumar
8 - Asteroid

Hi All,

 

Dates are given in four difference columns, I want to find latest date on those fields. Please advise me how to find that.

 

Date1Date2Date3Date4 Latest Date
6/14/20246/4/20246/9/20246/11/2024 6/14/2024
6/2/20246/12/20246/9/20246/7/2024 6/12/2024
6/5/20246/7/20245/31/20246/10/2024 6/10/2024
5/29/20246/3/20246/8/20246/5/2024 6/8/2024
4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Done! You need to make all of the date field actual date values so the MAX function can work, then I format the date back to its original format

Dhilip_Kumar
8 - Asteroid

@alexnajm Thank You so much!!!!. It works...

alexnajm
18 - Pollux
18 - Pollux

No worries - if you could mark the post then as a solution, that would be great!

Qiu
21 - Polaris
21 - Polaris

@Dhilip_Kumar 
We can also use this a bit dynamic approach in case the number of columns would change.

Spoiler
0615-Dhilip_Kumar.png
Labels
Top Solution Authors