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

Limitation of field size in Transpose tool

zqsoh
5 - Atom

My header was cut off after transpose due to the size limit exceeding 255 characters. 
Screenshot 2024-05-28 102608.png

5 REPLIES 5
danilang
19 - Altair
19 - Altair

Hi @zqsoh 

 

Can you provide some sample data or at least some before and after screen shots?  The transpose tool does not limit the size of text columns and will increase the size of the resulting column to fit all the data.  

 

Dan

zqsoh
5 - Atom

Hi Dan,

Thanks for the reply. But it was my column header that was cut off, not the data in the column.

PangHC
13 - Pulsar

here the sample workflow. I faced similar issue.

 

@danilang 

Screenshot 2024-05-29 130054.png

danilang
19 - Altair
19 - Altair

Hello @zqsoh 

 

Sorry for the misunderstanding.  There does indeed appear to be a 255 character limit on field names, though it's not explicitly stated anywhere that I could find.  Depending on the number of long column names that you have you might be able to work around the problem.  If there's only one, just use the shortened name and just before your output, add new row to the top of the data with the complete field name and export without column names, by selecting the skip field names option.

 

If there are multiple and/or they're dynamic because you need to crosstab, calculate the hash of the value using the MD5 function appropriate to your needs, MD5_ASCII(), MD5_Unicode() or MD5_UTF8().  These should give you unique values that will be short enough to use for column names.  Add in a row of the correct column names before output again.

 

Dan

Labels
Top Solution Authors