Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

How to select the last month date in a column, per Vin Number

JohnDella
7 - Meteor

Hello All,

 

I am still fairly new to ALteryx, and I am looking for some guidance on how to select the last day of the month in a column, for each VIN number.

 

In the example, my data looks like this:

 

DateTotalMilesVIN #
5/6/202084020019243
5/2/202084020019243
4/30/202084020019243
4/28/202084020019243
4/26/202084020019243
5/12/202091539228315
5/10/202091505228315
3/30/202091505228315

 

 

From the Above Data, I want to convert it into the Below: 

Vin #MARCH 2020March 2020 MilesApril 2020April 2020 MilesMAY 2020May 2020 Miles
019243NANA                   04/30/2020                     84,0205/6/202084,020
2283153/30/2020                       91,505NANA5/12/202091,539
       

 

 

This is small sample data, I will have a list of 1000+ Vin#s with various dates.

Please let me know if any of this is possible.

Thanks

 

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi,

 

I believe my solution requires a little bit more work to make it automated(as the order of columns in the perfect order) but I think it will be something that you can work with.

 

 

PhilipMannering
16 - Nebula
16 - Nebula

Hi John,

 

This might help get you started,

 

PhilipMannering_0-1598029266187.png

 

JohnDella
7 - Meteor

Thank you. This was very helpful

Labels
Top Solution Authors