Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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