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: 
prabhas277
Creator
Creator

Set expression

Hi Experts,

Pic.PNG

From this table find out the product where count(sales) >0

How to write the set expression for that?

Thanks In advance

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Count({<Product={"=Count(sales)>1"}>}Product)

View solution in original post

6 Replies
prabhas277
Creator
Creator
Author

Sorry

Find out the product where count(sales)>1

sunny_talwar
MVP
MVP

May be this

Count(DISTINCT {<product = {"=Count(Sales) > 1"}>}product)

ariel_klien
Specialist
Specialist

Hi,

did you try if(count(sales)>0,1,0)

Ariel

tresB
Champion III
Champion III

Count({<Product={"=Count(sales)>1"}>}Product)

prabhas277
Creator
Creator
Author

For that I am getting output 0

sunny_talwar
MVP
MVP

May be your field name is sales and not Sales... have you made sure that the field names are read correct?

Count(DISTINCT {<product = {"=Count(sales) > 1"}>}product)