Alteryx Designer Desktop Discussions

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

Generate rows for each client

MohamedBourehil
5 - Atom

Hello guys, 

 

I have this table below,

 

ClientsClient_ID_End_DateStart Date
Client101/05/202001/01/2020
Client201/11/201901/09/2019
Client301/08/201901/05/2019

 

and i want to generate another column whch contains all the dates between the start and end dates for each client, in order to have a similar output as in the table below:

ClientsClient_ID_End_DateStart DateSample date
Client101/05/202001/01/202001/05/2020
Client101/05/202001/01/202001/04/2020
Client101/05/202001/01/202001/03/2020
Client101/05/202001/01/202001/02/2020
Client101/05/202001/01/202001/01/2020
Client201/11/201901/09/201901/11/2019
Client201/11/201901/09/201901/10/2019
Client201/11/201901/09/2019

01/09/2019

 

I've tried the Generate Rows and the Multi-Row Formula tools but it didn't provide the desired outcome, i'd appreciate it if anyone can help me on this one,

 

Thanks!

2 REPLIES 2
bhrmitra
10 - Fireball

Hi 

 

Using Generate Rows you can achieve the result.

Solution - Abhra Mitra.png

If this solves your issue please mark the answer as correct and also hit the like button, if not let me know! I've attached my workflow for you to download if needed.

 

Thanks,

Abhra Mitra

MohamedBourehil
5 - Atom

Thanks a lot @bhrmitra,

 

Your answer works perfectly, i've made the same thing before except that i've only put "=" in the condition expression thinking of it as a stop criterion.

 

Thanks again !

Labels