Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I'm creating a new dashboard and I have a button that is supposed to select a few parameters for the users. One of the fields I'm trying to select has a value of (blank). When I select in field and put in a search string for just (blank) nothing gets selected. I've tried
="(blank)" and a few others with no luck. Does anyone know how I can get that working.
If the blank is a space (not a null) then use " " (space, without quotes) or
=" "
equal sign and quotes included.
If the value is a true null, you will not be able to select it.
Try this?
= '(' & '(blank)' &')'
Hi Miguel,
It is actually not a space...it is written out as (blank). Other areas I have if(match(Field, '(blank)')=0, Field) but that formula would not work in the search string area.
Hi Vishwarath,
That didn't work
Then try instead
=Chr(40) & 'blank' & Chr(41)
to scape the parentheses, which are valid syntax operators for search strings
Can you share a sample to look into? Can you upload here using Use Advanced Editor ?
Hi Vishwarath,
Please see attached. This is a qlik doc that I just created to test with.
Tried that yesterday and it didn't work. I tried just now again, no workie
Is this what you are going to get in your actual data as well? (blank) ?
May be try this?
LOAD IF(Left(A, 1) = Chr(40) OR RIGHT(A,1) = Chr(41), Mid(A,2,5), A) AS FieldA;
LOAD A
FROM yourdatasource;
Then use a button with Select in field name as FieldA
and search string as = '(' & 'blank' & ')'