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

Alteryx Designer Desktop Discussions

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

Replace null with max of date value in date column

Sharat055
6 - Meteoroid

Hi,

 

I have date field and it contains null values. I need to replace null with max of date value. How to do it.

 Please help.

Example

Date

12-03-2022

13-03-2022

 

13-03-2022

 

14-03-2022

15-03-2022

 

15-03-2022

 

I need to replace null or empty record by max date that is 15-03-2022.

 

4 REPLIES 4
AngelosPachis
16 - Nebula

Hi @Sharat055 ,

 

Use a summarize tool to find the max value in your date field and append it back to your data. Then with a formula tool, check if the cell values are null and if they are, use the max date taken from the summarize tool

 

AngelosPachis_0-1647556179551.png

Hope that helps,

Angelos

Qiu
21 - Polaris
21 - Polaris

@Sharat055 
Just try another approach. A bit length though. 😁

0318-Sharat055.PNG

Sharat055
6 - Meteoroid

Thank you so much for the reply, i will get back to you when i test it. 

Sharat055
6 - Meteoroid

Thank you so much for the reply. I will get back after i test it.

Labels
Top Solution Authors