Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with spaces on webview

Hi,

I want to show spaces before my second and third values in my dimension.

So I gave my expression as

=if(match(%ESFilters2,'Initial Issuances [#]'),'   Initial Issuances [#]',

   if(match(%ESFilters2,'Repeat Issuances [#]'),'   Repeat Issuances [#]',%ESFilters2))

It works fine on my desktop but doesn't work on webview. Can anyone provide me any suggestions on this.

Attached is a screenshot.

Regards,

Aditya

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Hi,

I think it is working in webview.

Capture.JPG

May be try like..

=if(match(%ESFilters2,'Initial Issuances [#]'),Repeat(chr(160),5)&'Initial Issuances [#]',

   if(match(%ESFilters2,'Repeat Issuances [#]'),Repeat(chr(160),5)&'Repeat Issuances [#]',%ESFilters2))

View solution in original post

7 Replies
robert_mika
Master III
Master III

Web probably will trim all spaces.

Try to add ASCI character

Chr(32)

=if(match(%ESFilters2,'Initial Issuances [#]'),Chr(32)&' Initial Issuances [#]'........

Feeling Qlikngry?

How To /Missing Manual(25 articles)

Not applicable
Author

Hi Robert,

Chr(32) also didn't work on web view and I also tried chr(9) as well, that too didn't work.

jagan
Luminary Alumni
Luminary Alumni

HI,

I think it will remove the blank spaces in web view, instead you can try by using .... (Pull stops).

Regards,

jagan.

Not applicable
Author

May be its not working on the web view mode. Did you try on access point ?

Not applicable
Author

No, But I'll try that first thing in the morning.

settu_periasamy
Master III
Master III

Hi,

I think it is working in webview.

Capture.JPG

May be try like..

=if(match(%ESFilters2,'Initial Issuances [#]'),Repeat(chr(160),5)&'Initial Issuances [#]',

   if(match(%ESFilters2,'Repeat Issuances [#]'),Repeat(chr(160),5)&'Repeat Issuances [#]',%ESFilters2))

Not applicable
Author

Hi Settu. It worked, Thanks..