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.

Find data within last 6 months

bh1789
Asteroide

2022-08-01 is the date format in the data field "Month"

 

what formula could I use to pull data for last 6 month only?

 

Thank you

2 RESPUESTAS 2
MilindG
Cuásar

@bh1789 See if this works

[Date] >= DateTimeFormat(DateTimeAdd(DateTimeToday(),-180,'days'),'%Y%U')

Christina_H
Magnetar

You can also use month in DateTimeAdd to subtract six months.  This goes back 6 months from the first of the current month

[Month]>=DateTimeAdd(DateTimeFirstOfMonth(),-6,"month")

Etiquetas
Autores con mayor cantidad de soluciones