Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Filter records that start with % in the listbox

Hi,

I have a listbox which has a couple of records that start with %.

I want to filter records that start with % ,not just get rid of the  % symbol  but the whole record if it starts with %.

I tried using

=trim(PurgeChar(%AF_FeildName,'%'))

The above just gets rid of '%'

then tried using

          replace(%AF_FeildName,'%',null())

with hope that ,I can multiply that record with null(),then suppress nulls() in the listbox

Note: I want to implement the logic in front end not backend

1 Solution

Accepted Solutions
reshmakala
Creator III
Creator III

Use

if(mid(Fieldname,1,1)<>'%', Fieldname)

View solution in original post

2 Replies
reshmakala
Creator III
Creator III

Use

if(mid(Fieldname,1,1)<>'%', Fieldname)

maxgro
MVP
MVP

use an expression for listbox

=if(not WildMatch(%AF_FeildName, '%*'), %AF_FeildName)

1.jpg