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

Count using condition in Qlik Sense

Hi Everyone

I have table like this

ItemFlag
A1
B0
C1
D1

How to count on basis of flag??

I want measure expression that counts only flag=1  i.e. 3

1 Solution

Accepted Solutions
surendraj
Specialist
Specialist

count({<flag={1}>}flag)

View solution in original post

5 Replies
surendraj
Specialist
Specialist

count({<flag={1}>}flag)

Shahzad_Ahsan
Creator III
Creator III
Author

Thanks Surendra

{<flag={1}>}


this what I was looking for

Anonymous
Not applicable

Maybe try Set Analysis

     sum( { < [ Flag] = {1} > } [Flag] )

[Typed freehand, hope no typo's]

Shahzad_Ahsan
Creator III
Creator III
Author

How we can give not equal???

surendraj
Specialist
Specialist

count({<flag-={1}>}flag) // BY -=