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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
anisha_nan
Contributor II
Contributor II

Count Function in Qliksense

Hi ,

i am unable to write the below in count function:

Requirement is : In a month, Give me count of addresses where there have been more than one  Product sold.

can anybody help me out with correct expression.

 

Regards

 

Labels (2)
2 Replies
goncalo_ricardo_pereira
Partner - Contributor III
Partner - Contributor III

If I understand correctly, you can do something like this:
count( {<Product={"=sum(Sales)>0"}>} distinct addresses)
This expression is counting all the distinct addresses where the products have the sum of sales grater then 0...
Regards.
Goncalo Pereira
Anil_Babu_Samineni
MVP
MVP

I think, This helps

Spoiler
count( {<Product={"=Count(Product)>0"}>} addresses) 
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful