Alteryx Designer Desktop Discussions

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

Generate ID for every 12 month

NurulAtikah
8 - Asteroid

Hi everyone,

 

I wanted to create a column ID which is unique for every 12 months based on the scheduled start date and schedule due date. Is there any way to do this?

SCHEDULE START DATESCHEDULE DUE DATEID
14/4/201414/5/20141
14/5/201414/6/20141
14/6/201414/7/20141
14/7/201414/8/20141
14/8/201414/9/20141
14/9/201414/10/20141
14/10/201414/11/20141
14/11/201414/12/20141
14/12/201414/1/20151
14/1/201514/2/20151
14/2/201514/3/20151
14/3/201514/4/20152
14/4/201514/5/20152
14/5/201514/6/20152
14/6/201514/7/20152
14/7/201514/8/20152
14/8/201514/9/20152
14/9/201514/10/20152
14/10/201514/11/20152
14/11/201514/12/20152
14/12/201514/1/20162
14/1/201614/2/20162
14/2/201614/3/20162
14/3/201614/4/2016 
14/4/201614/5/2016 
14/5/201614/6/2016 
14/6/201614/7/2016 
14/7/201614/8/2016 
14/8/201614/9/2016 
14/9/201614/10/2016 
14/10/201614/11/2016 
14/11/201614/12/2016 
14/12/201614/1/2017 
14/1/201714/2/2017 
14/2/201714/3/2017 
14/3/201714/4/2017 
14/4/201714/5/2017 
14/5/201714/6/2017 
14/6/201714/7/2017 
14/7/201714/8/2017 
14/8/201714/9/2017 
14/9/201714/10/2017 
14/10/201714/11/2017 
14/11/201714/12/2017 
14/12/201714/1/2018 
14/1/201814/2/2018 
14/2/201814/3/2018 
14/3/201814/4/2018 
14/4/201814/5/2018 
14/5/201814/6/2018 
14/6/201814/7/2018 
14/7/201814/8/2018 
14/8/201814/9/2018 
14/9/201814/10/2018 
14/10/201814/11/2018 
14/11/201814/12/2018 
14/12/201814/1/2019 
14/1/201914/2/2019 
14/2/201914/3/2019 
14/3/201914/4/2019 
3 REPLIES 3
DavidP
17 - Castor
17 - Castor

Hi @NurulAtikah 

 

Have a look at the attached workflow - I've added documentation to explain the various steps. In this case I used scheduled start date to create the year groups. If this is not the logic you want, perhaps you can put into words how both start and due date should influence the creation of the groups.

 

Any questions, please let me know.

 

DavidP_0-1606212660975.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @NurulAtikah 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606213495310.png

Workflow:

atcodedog05_1-1606213510379.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Qiu
20 - Arcturus
20 - Arcturus

@NurulAtikah 
If purely every 12 records, we do it like this simple way

1124-NurulAtikah.PNG

Labels