Hi everyone
Since this is a very important part of my work and I haven't got a solution yet, I'll post it again.
I'd be very grateful if someone could help me with this
I'm pretty new to Alteryx and I am trying to check a condition for a range of values. the condition is:
If [field] = "1" then put the 14 previous rows in [new field] to "1"
or another way of saying this is:
If there is any 1 within the next 14 rows in [field] then put the current field in [new field] to 1 and so on.
Basically what i'm trying to do is to check the condition within the next 14 rows not every 14th row.
Would be great if anyone could help me to solve this and thank you in advance.
Requirements:
The data set is within a period e.g 31-03-2012 - 30-08-2013
Data recorded monthly
also it needs to be grouped by date and customer ID, each customer has number of different records within that period.
I'd really appreciate any help
Regards,
Afrooz