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: 
Not applicable

Select null values in set analysis

What is the syntax to select null values in set analysis ?

{"=null()"} is not good...

Thanks

11 Replies
Anonymous
Not applicable
Author

Try this

YourField-={*}

Gysbert_Wassenaar

Something like {<FieldX -= {'*'} >} usually works. But a better way is to replace nulls with real values in the script. See this document for more information: NULL handling in QlikView


talk is cheap, supply exceeds demand
Not applicable
Author

Thank You but

=count({$<LIAISON_POLICE_DTAFFIL={"<=$(=Effectifs_au)"},LIAISON_POLICE_DTRADIAT={">=$(=Effectifs_au)"}+{"01/01/0001"},ADHERENT_DTSORTIE={">=$(=Effectifs_au)"}+{<ADHERENT_DTSORTIE -= {'*'} >}>}ADHERENT_NOUNIQUE)

it returns nothing...

Gysbert_Wassenaar

Yes, well you have some extra >} thingies. I'm not sure what you're trying to do, but the syntax isn't correct. Maybe this works:

=count({$<LIAISON_POLICE_DTAFFIL={"<=$(=Effectifs_au)"},LIAISON_POLICE_DTRADIAT={">=$(=Effectifs_au)"}+{"01/01/0001"},ADHERENT_DTSORTIE={">=$(=Effectifs_au)"}>}+{<ADHERENT_DTSORTIE -= {'*'} >}ADHERENT_NOUNIQUE)


talk is cheap, supply exceeds demand
Not applicable
Author

Hellow,

sorry but it don't works...

Does the field ADHERENT_DTSORTIE is null ?

ScreenShot001.jpg

Not applicable
Author

Hello Canevet,

Can you attach a sample file. or exact expression which you are using for ADHERENT_DTSORTIE.?

Thanks,

Angad

Not applicable
Author

Here is an extraction xls of my table

Not applicable
Author

By sample file i meant, the sample of QVW file. so that I can check the expressions.

Thanks,

Angad

Not applicable
Author

ADHERENT:

LOAD ADHERENT_NOASSUR,

  ADHERENT_NOBENEF,

  PREVOYANCE_LIEN_NOASSUR,

  ADHERENT_NOUNIQUE,

  ADHERENT_NOSS,

  ADHERENT_CDBENEF,

     ADHERENT_LIBELLE_BENEF,

     ADHERENT_CDCIVI,

     ADHERENT_CODEVIP,

     ADHERENT_DTNAIS,

       ADHERENT_DTENTREE,

       ADHERENT_DTSORTIE,

        ADHERENT_MOTIF_SORTIE,

      ADHERENT_LIB_RGLT,

     ADHERENT_CDATTACH,

     ADHERENT_NOATTACH,

     ADHERENT_NMTIERS,

  ADHERENT_NM2TIERS,

  ADHERENT_CDPOST,

  ADHERENT_NMVILLE

FROM

$(Chemin_qvd)ADHERENT.qvd

(qvd);