Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Split source data in two files

RodrigoOlmedo
6 - Meteoroid

Hello

 

I need to separate this file in diferent files, every new table starts with "1" and detail of those tables starts with "2":

 

RodrigoOlmedo_0-1615482689538.png

Thank you in advance

 

2 REPLIES 2
ggruccio
ACE Emeritus
ACE Emeritus

Hi @RodrigoOlmedo,

 

This logic should work for you.  Basically I take the table name and append to each of the rows below it. 

 

ggruccio_0-1615488641898.png

Then use that as a field to split on file save in the output tool.

 

ggruccio_1-1615488722460.png

This output assumes I'm splitting the files and saving them in c:temp, but you can change the directory.

 

ggruccio_2-1615488849234.png

 

 

RodrigoOlmedo
6 - Meteoroid

Thank you very much !!! it works...

Labels