The Inspire Pin contest has begun! Win a free pass to Inspire by submitting your design to be made into a real-life pin! Submission details can be found 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 find data between a specific two dates

binsell
8 - Asteroid

Hi All - I'm hoping someone could kindly help me. I have some data with various dates and I want to return 'Yes' in a new column if the data is between 01/08/23 and 01/12/23 and 'No' if the date falls outside of this criteria. I know I can use the formula tool but not sure how I would write this statement. I have attached my data before and after so you can see what I'm trying to achieve. Any help would be appreciated :) 

4 REPLIES 4
binu_acs
21 - Polaris

@binsell 

image.png

IIF(DateTimeParse([SCSSTARTDATE],'%d/%m/%Y') >= '2023-08-01' AND DateTimeParse([SCSSTARTDATE],'%d/%m/%Y') <= '2023-12-01','Yes','No')
nagakavyasri
12 - Quasar

@binsell Another way:

Screenshot 2024-12-02 141301.png

binsell
8 - Asteroid

Thank you as always for your wonderful help! :)

binsell
8 - Asteroid

Thank you for taking the time to reply :)

Labels