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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

Set Analysis

Hi guys,

Why this set analysis is not working

sum( {$<Customer = P({1<Product={‘Shoe’}>} Customer)>} Sales )

i want sales of customer who having bought product only as Shoe.

is there any problem with my Qvw application.

- Thanks

Villyee.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Probably you have copied this expression from help/manual. There the single quotes are some other character. That cuases the issue. Delete those copied quotes and type your quotes, it will work.

sum( {$<Customer = P({1<Product={'Shoe'}>} Customer)>} Sales )Customer)>} Sales )

View solution in original post

2 Replies
ecolomer
Master II
Master II

Nested.png

Can you try:

Sum({<Product={'Shoe'}>} Sales)

tresB
Champion III
Champion III

Probably you have copied this expression from help/manual. There the single quotes are some other character. That cuases the issue. Delete those copied quotes and type your quotes, it will work.

sum( {$<Customer = P({1<Product={'Shoe'}>} Customer)>} Sales )Customer)>} Sales )