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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
gireesh1216
Creator III
Creator III

How to count without null values?

Hi all,

I want to count employees based on Ticket_No.If Ticket_No is null no need to count employee. Please find my below query.

=count({$<Emp_Status={'Completed'},Ticket_No={'>0'}>}Ticket_No)

help me

13 Replies
Anonymous
Not applicable

Hi Gireesh,

Try below expression.

If(Emp_Status='Comlpeted' and not isnull(Ticket_No),Count(Ticket_No))



Warm regards,

Venkata Sreekanth

diego_vazquez
Contributor III
Contributor III

Hi,

try the following expression:

Count(

     If(Emp_Status = 'Completed' AND not isNull(Ticket_No),

          Ticket_No

     )

)

jonathandienst
Partner - Champion III
Partner - Champion III

I recommens that you disregard ALL of the above responses except for Marcus Sommer's answer, as they are either wrong or do unnecessary extra work.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
gireesh1216
Creator III
Creator III
Author

Ok i will try