Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Re: Adding space between text(white space) in text/Image chart

Thank you Michael for the answer, but 2 objects are not an option, as dynamic change (screen resizing etc.) and difference in font size between text and measure for example makes those 2 objects not lined up.

But yes, some people would definitely find the answer helpful, as i have some of my work set up this way.

whm
New Contributor

Re: Adding space between text(white space) in text/Image chart

One way is to add the text like 1234 between your text and metric and change the color of text to white, this way it will be hidden and you will have spaces as well.

Highlighted
Not applicable

Re: Adding space between text(white space) in text/Image chart

I found another solution:

='Current year:' & Chr(160) & Chr(160) & Chr(160) & <measure>

Chr(160) = Space

godfreydaniels
New Contributor III

Re: Adding space between text(white space) in text/Image chart

Hi Oredas,

I got a similar thing to work by doing the following:

  • Add ' . . . . ' in the middle of the text
  • Highlight only the ' . . . . '
  • Select white in the color dropdown
santoswg
New Contributor

Re: Adding space between text(white space) in text/Image chart

Another solution:

=Repeat(Chr(160),10) & <measure>


10 = quantity of spaces

vanand3535
Contributor

Re: Adding space between text(white space) in text/Image chart

How to add space between two values or texts in QLik sense:-

Syntax:

For one space:-

&chr(160)

For more than one:-

&chr(160)&chr(160)&chr(160)[this is for  3 space]


or


Syntax:-

='Overall sales'&Repeat(Chr(160),4) &  Num( Avg(Sales),'#,0')


Note:-

Here "4" is equal to number of spaces . you can also give 5,6,7,....so on


I have tried this syntax in my app and it's working fine



Screenshot (549).png


Screenshot (550).png

Screenshot (551).png

Screenshot (552).png

Community Browser