community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

How to output empty CSV files

Asteroid

Hello, I have a CSV input file which I am renaming the file and outputting to another folder.

The issue which I have is that sometimes the input file is empty, if this is the case I want to outputting the empty file with the column headers.

 

Has anyone encountered this and have a solution please

 

regards

Steve

 

Pulsar

Quick question: if the input file is empty, does it have the column headers as the 1st line?

Asteroid

I David, yes it does have the column headers on the 1st line.

 

thanks

steve

 

Pulsar

In that case, if you uncheck "First row contains Field Names" in both the Input Data tool and the Output Data tool, it will work.

Labels