Skip to main content
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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

@nagarjuna9629 , @mruehl , 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
tresesco
MVP
MVP

Try like:

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

mruehl
Partner - Specialist
Partner - Specialist

Hi @nagarjuna9629 ,

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

nagarjuna9629
Contributor II
Contributor II
Author

its not working

nagarjuna9629
Contributor II
Contributor II
Author

it's working sir

tresesco
MVP
MVP

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

mruehl
Partner - Specialist
Partner - Specialist

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

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

nagarjuna9629
Contributor II
Contributor II
Author

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

 

tresesco
MVP
MVP

@nagarjuna9629 , @mruehl , 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

 

mruehl
Partner - Specialist
Partner - Specialist

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

I always use double quotes...