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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to exclude an option from the filter?

Hi, I want to exclude one of the options from a filter in Qlikview. The option i am trying to exclude has blank values in the data source. Can any of you help me with this please?

6 Replies
OmarBenSalem
Partner - Champion II
Partner - Champion II

u can do as follow:

if(len(trim(YourDim))=0,null(), YourDim) and put it as a filter; and do not show null values

Chanty4u
MVP
MVP

can you give more details on your filter values?

what exactly filter has? and what is your output should be?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You could set the blanks to nulls in the script. Imho a better option is to replace the blanks with another value like 'n/a' or 'no value'


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

so currently the blank values are set as 'n/a'. 'N/A' is appearing as one of the filter options for a particular category. I want to exclude 'N/A' from the filter panel.

OmarBenSalem
Partner - Champion II
Partner - Champion II

as a filter;

if(yourDim='N/A', null(), yourDim)

agigliotti
MVP
MVP

you can use an expression as below in your filter:

Aggr( if( yourField = 'N/A', null(), yourField ), yourField )

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it