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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
reinholdgraf
Creator
Creator

how to select non-classified data (empty content)

Hi.

We have classified our Articles in A,B,C,D-Types.

Currently, there are still some articles not classified (empty content).

Showing Data in Visualisations using the ABCD-Field as dimension is ok, because the share of non-classified articles is shown as grey bar.

But I need to select this share in another visualisation together with some other filters in set-analysis.

I tried to use the exclude-function as shown below, but this isn't working.

[Ref_ABCD]=E({1<[Ref_ABCD]={'A','B','C','D'}>})

Any idea to get this addressed ?

Reinhold

5 Replies
sunny_talwar
MVP
MVP

May be create a flag in the script

LOAD Ref_ABCD,

          If(Match(Ref_ABCD, 'A', 'B', 'C', 'D'), 1, 0) as Ref_ABCD_Flag

          ....

FROM/Resident ....;

and then just this

{<Ref_ABCD_Flag = {0}>}

Anil_Babu_Samineni
MVP
MVP

May be try front end by help of this, But it should happen with selectors only


sum({$<[Ref_ABCD] = E([Ref_ABCD])>} Measure)
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
reinholdgraf
Creator
Creator
Author

working - thanks

reinholdgraf
Creator
Creator
Author

@Anil Babu Samineni

this isn't working. most likely because the E-Function can only exclude existing values...

sfatoux72
Partner - Specialist
Partner - Specialist

Hi,

Your idea ([Ref_ABCD]=E({1<[Ref_ABCD]={'A','B','C','D'}>}))  was good but not 100% correct.

You need simply used a field that as a value when Ref_ABCD is null like Article for example :

Article = E({1<Ref_ABCD={'A','B','C','D'}>})