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: 
gireesh1216
Creator II
Creator II

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 II
Creator II
Author

Ok i will try