Free Trial

Alteryx Designer Desktop Discussions

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

splitting output records in half

kas
8 - Asteroid

Hello,

 

I've seen several different scenarios about splitting records, but none that I can adapt for my scenario.

I just need to simply split my final output into to two equal, or close if odd number of rows, files. Once split they get assigned to two different associates, therefore the need to split. The count of rows will change each month so I can't use a set number to split them.

One month there may be 274 rows, the next 315 etc. One further catch is they can't be random but must remain in the consecutive order they are in before the split.

 

Mock sample below if that helps.

Plan DatePlan #AgencyCoCodePolicy Number
2020-01-011850491001234567
2020-01-01139A0721001234568
2020-01-012750081001234569
2020-01-012340381001234570
2020-01-019570411001234571
2020-01-013090411001234572
2020-01-014071011001234573
2020-01-0140460431001234574
2020-01-0146790411001234575

 

Thanks in advance,

Kim

3 REPLIES 3
binuacs
21 - Polaris

@kas  Tile Tool would be helpful for this scenario and the Time Number will give you the two part

 

binuacs_0-1641588361948.png

 

Luke_C
17 - Castor
17 - Castor

Hi @kas 

 

I agree with @binuacs. Use the tile tool to get however many groups you need, then you can use those groups to come up with unique file names to generate separate outputs. Depending on your format (csv, xlsx, etc) the configurations would vary:

Luke_C_0-1641590369004.png

 

kas
8 - Asteroid

@binuacs - Simple solution and worked perfectly, thank you!

 

Kim

Labels
Top Solution Authors