We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

recursive multi row concatenation

Tamanna_Patil
6 - Meteoroid

Hi,

 

I have a list of data values that I need to concatenate. 

 

use case: Below table contains the products purchased by a customer and I want to see what all products he was holding before purchasing a new product. Similarly, the same goes with other customers  The column 'desired result' is the expected output.

 

Customer  idDateOrder_numProductdesired result
11-Jan-181xx 
12-Jan-182yyxx
13-Jan-183zzyy,xx
14-Jan-184wwzz,yy,xx
15-Jan-185ssww,zz,yy,xx

 

I have an idea that this can be achieved by Multi-row formula but I am stuck in between. Kindly help.

 

Thanks

2 REPLIES 2
RolandSchubert
16 - Nebula
16 - Nebula

Hi @Tamanna_Patil ,

 

I think, you can solve it using the Multi-Row Formula tool. I've attached a sample workflow.

 

Let me know if it works for you.

 

Best,

 

Roland

Tamanna_Patil
6 - Meteoroid

Hey Roland,

 

Thanks a lot for your help. This is working exactly as expected.

Labels
Top Solution Authors