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

Filter by Max Date in Formulae Tool

Tommy_Alterax
8 - Asteroid

Hi Guys,

 

I have a column of dates in Alteryx - Using the formulae tool I want to create a new column with the MAX date from the column of dates

 

Regards,

             Tommy

9 REPLIES 9
atcodedog05
22 - Nova
22 - Nova

Hi @Tommy_Alterax 

 

You can use a summarize tool and get max.

 

https://help.alteryx.com/current/designer/summarize-tool

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@Tommy_Alterax ,

 

 I'd like to add to @atcodedog05  and suggest that you want to use the APPEND FIELDS tool to add the max date value(s) onto the original records. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Tommy_Alterax
8 - Asteroid

Hi - i dont want to break up my data and rejoin it then - Is there a way to do this using a formuale tool to create a new column and insert the max date out of all the months 

atcodedog05
22 - Nova
22 - Nova

Hi @Tommy_Alterax 

 

Nope thats not possible. You need to find max using summarize and use append tool to add it back.

atcodedog05
22 - Nova
22 - Nova

Hi @Tommy_Alterax 

 

Honestly its not that complex. Workflow will look like this.

atcodedog05_0-1605888268929.png

Hope this helps 🙂

Tommy_Alterax
8 - Asteroid

This is great  - I have never used the Append tool before - thanks for this again

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Tommy_Alterax 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

sagarghimire
7 - Meteor

Could you help me figure best way to filter this dataset to max date and second max date (closest one to max date but not equal to or greater than it). 

DanN
6 - Meteoroid

sumarise tool - to get your record list

sort - to order them

sample - to take just the top / newest 2

sample tool again if you want to split the 1st and second oldest

 

seems convoluted but think this is the easiest way

Labels
Top Solution Authors