Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

text to columns: headers as well

Greenlama254
8 - Asteroid

Hi all,

 

Before I just used another directory in which I manually placed the most recent file csv file for my flow. Therefore I used the (simpler?) Input Data tool and I did not need to use the text to columns tool: all the data is automatically converted to columns, headers included.

 

However, I thought it would be better to automatically select the latest CSV file that I want to process by using the Directory tool, Sort tool and Sample tool 

From there I wanted to use the Text to columns tool to proceed as an excel file but the headers are not split while the rest of the data is.

 

Question: How do I get the headers split to columns to match the underlying data?

 

Thanks in advance

Regards,

Roger

2 REPLIES 2
FinnCharlton
13 - Pulsar

Hi @Greenlama254 , you can do this using the Field Info and Dynamic Rename tools:

Screenshot 2023-06-27 160941.png

Hope this helps!

Greenlama254
8 - Asteroid

Hi FinnCharlton

 

That is perfect!

 

Thank you very much!

Regards,

Roger

Labels
Top Solution Authors