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: 
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.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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)

tresesco
MVP
MVP

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 )