Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Next line in thex object

Hi,

Is there a way to jump a line in a text object. I have tried '\n' it doesn't work.

Thanks,

1 Solution

Accepted Solutions
Not applicable
Author

Try this as the expression in the text box:

='The first line.'&chr(13)&'The second line.'

View solution in original post

5 Replies
Not applicable
Author

Try this as the expression in the text box:

='The first line.'&chr(13)&'The second line.'

Not applicable
Author

I would use line feed instead of carriage return:

='The first line.'&chr(10)&'The second line.'

QlikTech also uses line feed in their demo dashboards.

Not applicable
Author

Thanks, it works.

Could you tell me where to find this kind of syntax in the QV doc, I can't find it...

Thanks anyway,

prieper
Master II
Master II

Hi,

QV also recognizes a linefeed, if you literally type it:

"This is expression one

and now comes text 2" or you may combine two calculations with

& '

' &

/Peter

Anonymous
Not applicable
Author

Regarding "this kind of syntax in the QV doc" - see the chr() function. And, you need to know the ASCII codes for CR (carriage return, decimal 13) an d LF (line feed, decimal 10), but this is not from QV.