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: 
andrew_smith200
Contributor III
Contributor III

Spaces in the title of each worksheet

I am trying to enter the following into the title of my worksheet:

'Name                                                               MyName'

Unfortunately Qlik displays this like this:

'NameMyName' - it doesn't recognise the white space.

I have tried ='MyName '&chr(32)&chr(32) etc & 'MyName' but that still yields the same results.

Any one have any ideas on how to overcome this?

 

2 Solutions

Accepted Solutions
lorenzoconforti
Specialist II
Specialist II

I tried it now in Chrome and indeed it doesn't work for me either

Try this

='MyName ' & chr(127) & chr(127) & chr(127) & chr(127)  & 'MyName' 

View solution in original post

andrew_smith200
Contributor III
Contributor III
Author

Yes that did it – many thanks

View solution in original post

4 Replies
lorenzoconforti
Specialist II
Specialist II

This works for me in the title expression (Sheet properties):

 ='MyName ' & chr(32) & chr(13) & chr(32) & chr(13) & chr(32) & chr(13) & chr(32)  & 'MyName' 

 

I think what happens is that consecutive white spaces are being trimmed. The workaround is to trick Qlik into thinking they are not consecutive thus adding the line brake chr(13)

 

andrew_smith200
Contributor III
Contributor III
Author

Thanks but it didn't work for me - is this anything to with the browser?

lorenzoconforti
Specialist II
Specialist II

I tried it now in Chrome and indeed it doesn't work for me either

Try this

='MyName ' & chr(127) & chr(127) & chr(127) & chr(127)  & 'MyName' 

andrew_smith200
Contributor III
Contributor III
Author

Yes that did it – many thanks