Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!

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