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.

Create dta from last 3 days

aaniqshaf
6 - Meteoroid

I want to create data for last 3 days. Example:

If Nike start date is on 2021-07-13 and the ticket creation yes then it will npt calculate after the next 3 days and will appear back on fourth days which on 2021-07-16 if teh ticket creation yes. So right now, i want ot generate data that create last3 days and just take current month data without taken previous month data (Example : dta from 5 month ago)

1 REPLY 1
apathetichell
20 - Arcturus

I'm not quite sure what you want - but you can generate the last 3 days give a start date in proper formatting via generate rows.

 

create a new date field (but keep RowCount as the name for now)

 

initial value is [start date]

 

condition is

RowCount >= datetimeadd([start date],-4,"days")

 

increment is:

datetimeadd([RowCount,-1,"days")

 

That will create days counting backwards using generate rows.

Labels
Top Solution Authors