KNOWLEDGE BASE

Adding A Line Break in A Calculated Field


Published: 19 Apr 2013
Last Modified Date: 16 Oct 2017

Question

How to add a line break in a calculated field. 

Environment

Tableau Desktop

Answer

CLICK TO EXPAND STEPS

Option 1 

Surround it by quotation marks:
[State] + " 
"+ [Region]
Note:
To add an empty line between the line break, add another carriage return:
[State] + " 
 
"+ [Region]
To view the steps showed in the below video, please expand the above section.
Note: the video has no sound.
 
CLICK TO EXPAND STEPS

Option 2

Use the following encoded value:
CHAR(10)
Did this article resolve the issue?