Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

How to get Maximum of the date, when the dates are in same column

Sanjana_HS
8 - Asteroid

Hi,

Can someone help how to get later of the date when the dates are in same column.

What i need: If ID=ID then pick late date from Date column, attached example below:
Output: for Zyx need new date coloumn to show 6/22/2023 for abc need 2/7/2023 as new date


 IDName VisaDate 
Visa by Fragomen - 9.22.231234zyx[Null]ESTA6/22/2023 
Visa by Fragomen - 9.22.231234zyx[Null]J-15/22/2023 
Visa list by Susan - 8.1.237890abcnullB-11/6/2023 
Visa by Fragomen - 9.22.237890abc[Null]B-12/7/20232/7/2023





2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @Sanjana_HS here's one way I can think of doing it - just some date formatting so Alteryx can worth with your values and then conducting a join based on when we take the Max for each ID, followed by some clean up of fields:

 

123.png

Qiu
21 - Polaris
21 - Polaris

@Sanjana_HS 
We can do a sort, even not converting it to Date format, the easiest way is to use Multi-row tool. 😁

1008-Sanjana_HS.png

Labels
Top Solution Authors