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. 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.

Create Field with month end date

CDIns
8 - Asteroid

For my transaction list I have built in alteryx, I need to apply the last day of the current month. to make things even more complicated, I have to wait until the end of the month to create transactions list to I need it to be one month in arrears. For example, when I create my transaction list in Alteryx on 7/3/24, I need the 'Reporting Date' column to read 06/3/24. 

 

Any ideas? 

 

thanks, 

2 REPLIES 2
SPetrie
13 - Pulsar

In your example, you have 06/3/24 but you mention that last date of the month. Did you mean 6/30/24?

If so, you can use this formula to give you that last day of the previous month based on the day you run it,

datetimeadd(datetimetrim(DateTimeToday(),"Month"),-1,"days")

binu_acs
21 - Polaris

@CDIns I assume your date is in the format of mm/dd/yy

 

image.png

 

Labels
Top Solution Authors