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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Genarate Rows having last date of particular Month

harshal98
8 - Asteroid

I Only Want Rows which has the last day of the particular month

InputInputOutputOutput

2 REPLIES 2
Emil_Kos
17 - Castor
17 - Castor

Hi @harshal98,

 

I have used part of this workflow in order to prepare a solution for you. 

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-find-last-month-last-business-d...

 

Emil_Kos_0-1610540024726.png

 

Ladarthure
14 - Magnetar
14 - Magnetar

Hi @harshal98,

 

you can use the datetimeformat([date], '%Y%m') to get the year and month. You can then sort your data by month, and by date and finally use a sample tool to get the last row for each month.

 

Hoipe it helped!

Labels
Top Solution Authors