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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradhaa
Partner - Creator II
Partner - Creator II

Ignore values from feilds

Hi i have a field called country,

It has lot of values A,B,C,.. and don't know the exact list of values and it is continually growing.

I have a bar chart shows sales by month,Country

I don't want to display Country 'C' in this graph. But i want to load all data(can't elininate it in the script)

So i have use set analysis, but doesn't work

=sum({<COUNTRY-={"C"}>} SALESCOUNT)

please tell me how to fix this issue

Thanks

19 Replies
anuradhaa
Partner - Creator II
Partner - Creator II
Author

No, not works

Anonymous
Not applicable

Red underlines is a bug. But it should say "Expression OK" and calculation should work. If not, try checking spellings of your fields.

sasikanth
Master
Master


HI

PFA

anuradhaa
Partner - Creator II
Partner - Creator II
Author

Oh... Grate.  

It works.....

Thank You so much

anuradhaa
Partner - Creator II
Partner - Creator II
Author

But, This doesn't solve my issue completely.

Because, when i put it and select selections chart doesn't behave arroding to selections.

Thanks

anuradhaa
Partner - Creator II
Partner - Creator II
Author

HI,

I have used if statement and solve my issue.

Thank You for your help

Anonymous
Not applicable

Hi

Pls try this

=sum(sales) - sum({<COUNTRY={'C'}>} sales)

Regards,

Krishna

sasikanth
Master
Master

Go with calculated DIm,

like if(CNTRY<>'C',CNTRY) and supress null values,

then try to make selections

SunilChauhan
Champion II
Champion II

may be you your


sum({$<COUNTRY-={"C"}>} SALESCOUNT)



or what exaclty you want. plz share sample

Sunil Chauhan
anuradhaa
Partner - Creator II
Partner - Creator II
Author

Already shared a sample, anyway i have solved my issue by using if statement. Thank you for your help