Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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