KNOWLEDGE BASE

Adding A Line Break in A Calculated Field


Published: 19 Apr 2013
Last Modified Date: 21 Nov 2016

Question

How to add a line break in a calculated field. 

Environment

Tableau Desktop

Answer

Option 1 

Surround it by quotation marks:
[State] + " 
"+ [Region]

Option 2

Use the following encoded value:
CHAR(10)

Additional Information

To add an empty line between the line break, add another carriage return:
[State] + " 
 
"+ [Region]
Did this article resolve the issue?