Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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.

1 Solution

Accepted Solutions
sunny_talwar

Try Chr(10) or Chr(13).

For instance:

Text & Chr(10) & Text or

Text & Chr(13) & Text

View solution in original post

14 Replies
sunny_talwar

Try Chr(10) or Chr(13).

For instance:

Text & Chr(10) & Text or

Text & Chr(13) & Text

sjb34300
Contributor III
Contributor III
Author

Thanks!  That worked.  And just to clarify for others, I had to add this in the expression of the measure.  I couldn't just add the ascii to the text box with only text in it.

'Hourly Revenue:  ' & HourlyRevenue &  chr(10) & 'Fixed Fee Revenue:  ' & FixedFeeRevenue

carlcimino
Creator II
Creator II

I can't get this to work for a label on a qlik sense map.  It still puts it side by side.  I tried both chr(10) and chr(13).  Any ideas?

=ZIP_CODE&chr(10)&

text(num(

(sum({<DateType={Create},YTD_FLAG={'Y'}>}QUOTED_PREMIUM)

/sum({<DateType={Create},PYTD_FLAG={'Y'}>}QUOTED_PREMIUM)

)-1,'#.#%'))

tarunakhemchand
Contributor
Contributor

@carl Same for me!!

robjackson_enta
Partner - Contributor
Partner - Contributor

Hi, you can try the following using <br> but it has to be wrapped in single quotes..

='LabelText' & Field Name & '<br>' & 'LabelText' & Field Name

JohannesHiller
Contributor
Contributor

Perfect. Using <br> and not chr(10) finaly made it work. Thanks.

Vince_CH
Creator III
Creator III

Dear All, I tried with Chr(10), Chr(13) and '<br>', all doesn't work in the footnotes where i want to break the lines. anyone has the successful experience there?

EliGohar
Partner - Creator III
Partner - Creator III

+1

tried all of the proposed solutions on Title, without success.

qlikdelqbz
Contributor III
Contributor III

same for me. both <br> and chr(13) do not work.