Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula for date time

Hi2023
8 - Asteroid

I am needing to retrieve the previous one month data from this column CRG_STAT every time report is run.

 

is this correct?  I am using SQL Editor in Alteryx

 

DateTimeFormat(CRG_STAT) >= DateTimeFormat(DateTimeAdd(DateTimeNow(), -1, "month"))

1 REPLY 1
Luke_C
17 - Castor
17 - Castor

Hi @Hi2023 

 

Is this a duplicate post or different issue than your other topic? https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/previous-month-daate/td-p/1126...

 

Labels
Top Solution Authors