ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Output all fields including empty field in .txt

rockeylearning
アステロイド

hello Community,

 

I have multiple Unions, and I've set the properties to Ignore - Continue Processing Records and Output All Fields option, my Output file format is .txt with \0 delimiters. But when it output, it doesn't include the empty fields, how can I get it to include it?

 

Edit: these are all fixed length fields

 

Thank you

4件の返信4
SPetrie
パルサー

Use .flat as your file format. You can still give the file name the .txt extension and it will create two files, one .txt and and one .flat

I use that for my fixed width files and have no issues. Usually end up just deleting the .flat and keeping the .txt

If that doesnt work, we may need to see an example input with expected output to try to troubleshoot further.

rockeylearning
アステロイド

hi @SPetrie I tried the flat you mentioned, it looks to be working. I've never saved as .flat before, and if I am reading it right, it creating two files one is .flat and the other is .asc. and the Asc. is what I need to change it to .txt afterward. But is there a way to automatically have it .txt without having to do another workflow to rename the file?

SPetrie
パルサー

You can setup the output file name to be whatever you want really.

You can specify the specific file name you want in the output tool, or use an additional field to change the file name.

In this screenshot example, I would end up with a test.txt and test.flat file for the output

flatfile.PNGflatfile2.PNG

rockeylearning
アステロイド

thank you

ラベル
トップのソリューション投稿者