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: 
master_student
Creator III
Creator III

expression

Hell Guys,

I hope all is good.

I have an expression that returns 0 or 1, i would like to keep only 1 values.

here is my expression :

count(

if([Statut Cas]='Fermé crédit'

OR [Statut Cas]='Fermé-remboursé'

OR [Statut Cas]='Fermé activation'

OR [Statut Cas]='Fermé BO'

OR [Statut Cas]='Fermé BO Non Traité'

OR [Statut Cas]='Fermé Rétention'

OR [Statut Cas]='Fermé Rétention Client Perdu'

OR [Statut Cas]='Fermé Rétention Client Retenu'

OR [Statut Cas]='Fermé Support VAS'

OR [Statut Cas]='Fermé – Doublon'

OR [Statut Cas]='Pour Confirmation Client'

OR [Statut Cas]='Fermé Support VAS-Rejeté'

OR [Statut Cas]='Clôturé non fondé'

OR [Statut Cas]='Rejeté',[Code Cas]))

the output :

Capture.PNG

thanks

2 Replies
vishsaggi
Champion III
Champion III

Check supress zero values in your chart properties Presentation tab.

vishsaggi
Champion III
Champion III

You can also write your expression like below:

= count(if(Match([Statut Cas], 'Fermé crédit', 'Fermé-remboursé','Fermé activation','Fermé BO','Fermé BO Non Traité','Fermé Rétention','Fermé Rétention Client Perdu'

                             , 'Fermé Rétention Client Retenu','Fermé Support VAS','Fermé – Doublon','Pour Confirmation Client','Fermé Support VAS-Rejeté','Clôturé non fondé','Rejeté'),[Code Cas]))