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: 
nagarjuna9629
Contributor II
Contributor II

set analysis

In set analysis,

category names& unit price:

sportswear-500

men's clothes-880

women's clothes-900

the value of   

 =sum({<categoryname={men'swear>}unitprice)

shows zero

wher i did mistake?plz find my mistake

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

@nagarjuna9629 , @ManuelRühl , it works with me.  And I am sure, it should work with you as well, if you are not mixing up the single and double quote that I mentioned above (i.e. - the two single quotes and not double quote).

tresesco_0-1635229530487.png

 

View solution in original post

12 Replies
tresB
Champion III
Champion III

Try like:

sum({<categoryname={'men''swear'>}unitprice)

ManuelRühl
Partner - Specialist
Partner - Specialist

Hi @nagarjuna9629 ,

I think there are a brace and quotation marks missing:    =sum({<categoryname={"men'swear"}>}unitprice)

Manuel Rühl
nagarjuna9629
Contributor II
Contributor II
Author

its not working

nagarjuna9629
Contributor II
Contributor II
Author

it's working sir

tresB
Champion III
Champion III

@nagarjuna9629 , please ensure that you use two single quotes in the middle and not a double quote - then it would work.

ManuelRühl
Partner - Specialist
Partner - Specialist

Thanks. Please tag my answer as correct, so others can benefit from this thread as well.

@tresB I think it is not men AND swear but men's wear like men's clothes

Manuel Rühl
nagarjuna9629
Contributor II
Contributor II
Author

i was tried that one also...but result shows 0

 

tresB
Champion III
Champion III

@nagarjuna9629 , @ManuelRühl , it works with me.  And I am sure, it should work with you as well, if you are not mixing up the single and double quote that I mentioned above (i.e. - the two single quotes and not double quote).

tresesco_0-1635229530487.png

 

ManuelRühl
Partner - Specialist
Partner - Specialist

you're right, it works. But I don't know why 🙈

I always use double quotes...

 

Manuel Rühl