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: 
Not applicable

Compare count!

My count is coming into field1.

and I want to create report where my column will be like  count(Field1)<10  , count(Field1)>10

And I am writing expression like this , But it's not working,

1.  =count(If(field1 < 10 ), ID))

2.  =count(If(field1 > 10 ), ID))

1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II

Hi Shubham,

just simpy use set analysis:

count({<[field1]={"<10"}>} ID)

and

count({<[field1]={">10"}>} ID)

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
micheledenardi
Specialist II
Specialist II

Hi Shubham,

just simpy use set analysis:

count({<[field1]={"<10"}>} ID)

and

count({<[field1]={">10"}>} ID)

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
micheledenardi
Specialist II
Specialist II

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Regards,

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Thanks Michele.

That works