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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

DataBricks filter in DB

nicktekippe
8 - Asteroid

nicktekippe_0-1680279042411.png

I need this filter to work in the in-DB tool or I need something that accomplishes the same thing in the code(SQL). I am pulling from databricks/edl

1 REPLY 1
phottovy
13 - Pulsar
13 - Pulsar

Hi @nicktekippe ,

 

Here is a link to all the date functions in Databricks:

https://docs.databricks.com/sql/language-manual/sql-ref-functions-builtin.html#date-timestamp-and-in...

 

For your example, you should be able to use this logic:

 

`NOTIFICATION_DATE` >= date_sub(current_date(), 730)

 

 

Labels
Top Solution Authors