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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List box task

i want to hide a field value which are having 'a' as a first letter in name.............

For example in list box field is salesman....then i want to show without salesman names which are consist a as a first letter at script level


salesperson sales    
aravind20%
bhanu30%
naveen15%
purush15%
chaithu20%
sai0%

if u create  a list box with salesperson field in script level u shoud comment the name which is have starting letter a (aravind)

1 Solution

Accepted Solutions
swuehl
MVP
MVP

I haven't understood if you want the salesperson just to hide from the list box or you want to exclude them when reloading data:

List box: Create an expression (select <expression> from field list dop down):

=if( lower(left(salesperson,1)) <> 'a', salesperson)

In the script, you can use a where clause:

LOAD

     salesperson,

     sales,

...

FROM ...

WHERE lower(left(salesperson,1)) <> 'a';

View solution in original post

1 Reply
swuehl
MVP
MVP

I haven't understood if you want the salesperson just to hide from the list box or you want to exclude them when reloading data:

List box: Create an expression (select <expression> from field list dop down):

=if( lower(left(salesperson,1)) <> 'a', salesperson)

In the script, you can use a where clause:

LOAD

     salesperson,

     sales,

...

FROM ...

WHERE lower(left(salesperson,1)) <> 'a';