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

Date time struggles

chiragpatel_1
8 - Asteroid

Just been cheeky!

 

I have the below formula ad for some odd reason it is missing out the last day of May, (the 31st), what changes do i have to make in the formula

 

DateTimeMonth([Workflow Run])=DateTimeMonth(DateTimeNow())-1

 

//is it MTD?

 

very many thanks

3 REPLIES 3
binu_acs
21 - Polaris

@chiragpatel_1 IF you are looking for the last day of the previous month you can use the formula 

binuacs_0-1654512599482.png

 

 

[Workflow Run] == DateTimeAdd(DateTimeToday(),-DateTimeDay(DateTimeToday()),'days')

 

chiragpatel_1
8 - Asteroid

Hi Thank you, just to clarify, i don't want the last day in isolation, but I want all the days so below there should be another line for 31st

 

chiragpatel_1_0-1654512701523.png

 

binu_acs
21 - Polaris

@chiragpatel_1 yes, you need to use the >= in the filter condition. also please check your data has the date value 5/31?

 

binuacs_0-1654512907743.png

 

Labels
Top Solution Authors