KNOWLEDGE BASE

Text Wrapping for Long Strings in Text Tables


Published: 07 Aug 2015
Last Modified Date: 01 May 2017

Question

How to enable text wrapping for long String fields in a text table in Tableau Desktop.

For example, my column widths are non-negotiable, but my long strings are getting truncated with ellipses: 
Roses
Tulips
Rhododen...

I want the text to wrap:
Rhododen
drons

Environment

Tableau Desktop

Answer

Option 1

Spaces in string fields enable text wrapping to occur, regardless of the length of the string. Create a calculated field of the desired string field to add a trailing space:
[Flower Type]+" "

The newly created calculated field will wrap by default, however please note that you may need to still manually adjust the width or height of the field. 

Option 2

To display a long header wrapped in the cell, see the alternative workaround below: 
  1. Right-click the Dimension and select Format > Alignment  > Automatic > Wrap  > ON
  2. Resize the column height Manually. 
Did this article resolve the issue?