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.
SOLVED

Crear una tabla a partir de una única fila de datos de entrada

JulioPwC
6 - Meteoroid

Tengo varios archivos .TXT entre 150 y 200 MB, el problema es que los datos se presenta en una sola línea y con "bloc de notas" no puedo editar el archivo de manera eficiente.

 

Quisiera crear una tabla, reporte o listado (filas nuevas) a partir de los datos que se presentan en el archivo .TXT

 

Creo que solo se debe cambiar los pipe |     por un enter pero no sé como

9 REPLIES 9
gawa
16 - Nebula
16 - Nebula

@JulioPwC 

No hablo español, así que uso software de traducción. Al leer los datos de entrada como datos de texto y analizarlos, puede formatearlos en un formato de tabla. Por favor, vea el archivo adjunto.

image.png

caltang
17 - Castor
17 - Castor

Hay un foro en español, amigo mío. Allí tendrás más contacto con la comunidad española.

 

Por lo demás, creo que @gawa  ha hecho un buen trabajo.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
DataNath
17 - Castor
17 - Castor

@gawa it looks like the flat file method is a little inconsistent and leads to a few extra rows with null values:

 

100-1.png

 

I brought it in as a delimited file, using no delimiter and parsing with Text-to-Columns before just trimming whitespace and renaming/clean up:

 

100-2.png

gawa
16 - Nebula
16 - Nebula

@DataNath  Nice amendment! That method seems better way, thank you.

JulioPwC
6 - Meteoroid

Thank you for your comments but now I have a problem when viewing the data, since with the previous procedure Alteryx does delimit the original .txt file into rows and when it separates the data by pipe or tab I "lose" the records whose information is shown in 2 rows

 

step 1

Captura de pantalla 2023-11-16 174231.png

step 2

Captura de pantalla 2023-11-16 173312.png

CoG
14 - Magnetar

You could try using the summarize tool to Concatenate (without a separator)

JulioPwC
6 - Meteoroid

To import as csv I need the record to be less than 16m.

 

I need to import it as flat with 24,547 lines and each one with 6,500 characters,

resulting in a universe of more than 2.5 million and approximately 30,000 incomplete lines

 

Captura de pantalla 2023-11-16 194227.png

Captura de pantalla 2023-11-16 194311.png

 

Captura de pantalla 2023-11-16 194331.png

 

 

   

CoG
14 - Magnetar

Ahh... That's interesting. This can still be fixed.

Prep Workflow.png

Stick this in at the beginning to fix mismatch.

JulioPwC
6 - Meteoroid

Thank you !!!

 

Captura de pantalla 2023-11-16 205131.png

Labels
Top Solution Authors