Alteryx Designer Desktop Discussions

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

Adding rows based on time frame and criteria

Neico
7 - Meteor

Hi,

 

My data is in the following format:

 

IDTypeYearMonth
5low20091
5medium20123
5high20135

 

I would like to add rows such that the data fits into the desired time frame from 1-2008 until 6-2021 and takes the corresponding "Type" variable:

IDTypeYearMonth
5 20081
5 20082
5 20083
... ......
5 200812
5low20091
5low20092
5low20093
............
5low20121
5low20122
5medium20123
5medium 2012 
5medium 20125
............
5high20135
5high20136
............
5high20216

 

I really appreciate your help!

 

1 REPLY 1
Sebastiaandb
12 - Quasar

Hi @Neico,

 

This should work for you :-)!

 

Sebastiaandb_0-1637822761306.png

 

Let me know if it gives you the right solution!

 

Greetings,

 

Seb

 

 

Labels