In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Extract rows of information based on two dates

sriniprad08
11 - Bolide

Hi Team,

Hope you are well.

I need help. I have two date field and i need to extract the data between these two dates

 

1) Date period - 2023-01-01 to 2024-01-02

 

Criteria ([START DATE] BETWEEN  "2023-01-01" and  "2024-01-02" ) AND ([END DATE] BETWEEN  "2023-01-01" and  "2024-01-02" )

 

Please let me know how to go about it,

 

Thanks

Sr

1 REPLY 1
ChrisTX
16 - Nebula
16 - Nebula

If your fields are data type Date, try

 

[Start Date] >= "2023-01-01" AND
[Start Date] <= "2024-01-02" AND
[End Date] >= "2023-01-01" AND
[End Date] <= "2024-01-02"

 

You have to write out all of the >= and <= because Alteryx doesn't have a BETWEEN operator.

 

Chris

Labels
Top Solution Authors