Alteryx Designer Desktop Discussions

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

Does Alteryx support using BETWEEN function

Mary456
6 - Meteoroid

Is it possible to execute a query using BETWEEN function in Alteryx

For example using : Between Date '2012-01-01' and Date '2014-01-01'

5 REPLIES 5
IraWatt
17 - Castor
17 - Castor

Hey @Mary456,

Interesting question, the filter tool does support a configuration called range which is equivalent to between (shown below):

IraWatt_0-1664203471915.png

Though the actually code implementation of this is just using the <>= operators:

[Date1] >= "2022-09-26" AND
[Date1] <= "2022-09-26"

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

CarliE
Alteryx Alumni (Retired)

@Mary456 

 

You will have to do [Date]>= '2012-01-01' and [Date] <='2014-01-01'

Carli
DataNath
17 - Castor

As the others have mentioned, you currently have to handle this with a bit of a long-winded approach, though it looks like after some back and forth this should hopefully be getting added to Designer soon!

 

https://community.alteryx.com/t5/Alteryx-Designer-Ideas/Add-quot-BETWEEN-quot-as-an-operator-functio...

Mary456
6 - Meteoroid

Thank you !

 

apathetichell
18 - Pollux

Are you querying from Snowflake? If so - the answer is yes as part of Snowflake SQL.

Labels