Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sjb34300
Contributor III
Contributor III

Line break in text box?

I want to add a line break in a text box in Qlik Sense.  Any ideas how to do that?  The text box doesn't seem to respect html or ascii.  It just shows that code as text.

14 Replies
mhoudas78
Contributor III
Contributor III

Chr(10) or chr(13) don't work. 

there is a limitation and the answear is not the reponsible design

smgt90
Contributor II
Contributor II

char(10) was what worked for me

krzohi
Contributor III
Contributor III

For me also none of those proposals work..

This issue is from 2015 and now is almost 2022 for gods sake!!! 

Qlik WAKE UP!!!!

SrikarSiddarth
Partner - Contributor II
Partner - Contributor II

Hi, 

For all users using Qlik on Windows, we need to add both \r\n (carriage return and newline characters) to obtain a new line.

source: .https://www.geeksforgeeks.org/whats-the-difference-between-n-and-rn-in-php/#:~:text=%5Cr%5Cn%20%3A,s... 

Thus we need to add both chr(10) & chr(13) in the same order. For example:
='abc' &  Chr(10) &  Chr(13) & 'def'
source: https://community.qlik.com/t5/New-to-Qlik-Sense/Line-Break-in-Label/td-p/107737 

krzohi
Contributor III
Contributor III

Hi, 

this solution doesn't wotk

krzohi_0-1689837088062.pngkrzohi_1-1689837111147.pngkrzohi_2-1689837137994.png