Alteryx Designer Desktop Discussions

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

Limit a field to the first 75 characters, and trim extra?

pacbloyd
7 - Meteor

Hello - I need the column "NAME" to NOT exceed 75 characters, and if it does, to TRIM off the extra characters.

 

Which formula does this?

2 REPLIES 2
Luke_C
17 - Castor

Hi @pacbloyd 

 

the 'LEFT' formula does. So for this:

LEFT([FieldName],75)

 

Note: Field must be a string, if its numeric you could wrap it in a tostring() function or convert via select tool.

pacbloyd
7 - Meteor

@Luke_C  thank you!!

Labels