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: 
pirotfab
Creator
Creator

Set analysis date

Bonjour,

Est-il possible dans un set analysis de tenir compte de deux sélections et de ne pas tenir compte de toute les autres ?

Par ex :

count(date), je sélectionne 2018 et mars cela me donne 31.

Que peut on mettre pour tenir compte uniquement de l'année et du mois ?

Merci d'avance

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

Count({1<année = p(année), mois = p(mois)>}date)

or

Count({1<année = $::année, mois = $::mois>}date)

View solution in original post

6 Replies
sunny_talwar
MVP
MVP

May be this

Count({1<année = p(année), mois = p(mois)>}date)

or

Count({1<année = $::année, mois = $::mois>}date)

YoussefBelloum
Champion
Champion

Bonjour,

oui c'est possible

supposons que:

ton champ année s'appelle: Annee

ton champ mois s'appelle: Mois


Cette expression devrait répondre a ton besoi:


=Count( {1<Annee=P(Annee), Mois=P(Mois)>} date)


N'oublie pas de bien vérifier tes noms de champs aprés avoir collé l'expression

YoussefBelloum
Champion
Champion

Hi Sunny;

sometimes I see this second syntax, but never use it, do you have a link (on the help maybe) that describe this syntax ?

Thank you

pirotfab
Creator
Creator
Author

Merci à vous deux !

sunny_talwar
MVP
MVP

Some help on page 18 of the attached document

YoussefBelloum
Champion
Champion

Thank you