Alteryx Designer Desktop Discussions

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

Get excel output with data type as 'Text' instead of 'General'

hf14
8 - Asteroid

I have an excel having all General format. I want it to be having the format as 'Text'. 

How do I convert it in alteryx. How do I create a template with specific format or datatype and then append the data as it to it.

 

In is my input file

out is my desired output format file (.xls) 

3 REPLIES 3
cjaneczko
13 - Pulsar

You cant. The best way to do it would be to setup the template in excel and then have Alteryx populate the template and preserve the formatting upon output. But if your columns are dynamic and change its going to be come trickier. 

 

You can convert an entire column in excel to Text by using the Text to Columns in Excel if that is the only thing you are looking to do with the file. 

Manoj_k
9 - Comet
  1. Connect the appropriate input tool based on your file format.
  2. Use the Formula tool to convert desired columns to "Text" format.
  3. Use either the Dynamic Format tool (recommended for finer control) or the Append tool with a template to define the formats and append data.
  4. Connect the final tool to an Output Data tool to save the results.
RyanWade
6 - Meteoroid

Just wondering @hf14 if you used any of these solutions since this post or tried something else.  I am having empty cells in my excel output from Alteryx that the output tool creates as general format.  When I load this data into Postgres, the cells become [Null].  Long story short is that Nulls are not accepted into where the next stage of the data transformation occurs.  Of course temporarily I updated these cells to '' empty strings and everything worked fine, but now I am trying to include that automation in my alteryx workflow.  Otherwise manual updates after defeats the purpose of an automated scheduled workflow for ETL.

Labels