ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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