Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
reinholdgraf
Creator
Creator

Excluding values in SET-Analysis

Hi.

We have classified our articles into A,B,C etc.

I now want to show the articles not classified, but all other selections (Division, Year, etc.) must still work.

I tried it like this:

sum({$-<[Ref_ABCD]={'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])

Calculated Value is correct, but in the chart, the x-axis (Year-Month) is gone; only 1 value is displayed.

Regards,

Reinhold

1 Solution

Accepted Solutions
brunobertels
Master
Master

Hi

Try this :

sum({$<[Ref_ABCD]-={'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])

Minus sign before = sign


View solution in original post

7 Replies
brunobertels
Master
Master

Hi

Try this :

sum({$<[Ref_ABCD]-={'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])

Minus sign before = sign


MK_QSL
MVP
MVP

sum({$<[Ref_ABCD] -={'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])

or

sum({$<[Ref_ABCD]={'*'}-{'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])

reinholdgraf
Creator
Creator
Author

ok. working.

How can I now add the articles with no-value in this field (Ref_ABCD) ?

MK_QSL
MVP
MVP

You mean Null Values?

reinholdgraf
Creator
Creator
Author

yes

brunobertels
Master
Master

Hi

May be this

sum({$<[Ref_ABCD]={'*',""}-{'A','B','C','D'}>}[LB_W_AJ_$(v_BerichtsWaehrung)])


But the Best would be to affect a value to null cells


https://community.qlik.com/docs/DOC-3155

reinholdgraf
Creator
Creator
Author

I agree.

I now check NullValue in the Load-Script and assign a value such as 'n.n.', what can easily be used as a filter in SET-Analysis.

Thx!