In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start 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