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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhas277
Creator
Creator

set analysis small exp

Hi

sum({1-$<Names+={"ravi"}>}sales)             ------For this exp current selection is excluded so fine but i am unable to see ravi also in my chart

sum({1-$<Names-={"ravi"}>}sales)             ------For this exp current selection is excluded so fine but i am able to see ravi  in my chart



so what is  the diff b/w  these two exp? give the explanation for this ..?


Thanks in advance

11 Replies
Anonymous
Not applicable

Hi Prabhas,

In first expression your are adding extra name "ravi" in current set and then you are using 1-$ means in whole set you are removing current set with ravi name also, So  you are not able to see Ravi in your chart.

But in second expression you extract Ravi from Names and then you are using 1-$ means current selection is excluded but still Ravi would be in your chart.

Hope It would be helpful for you.

Thanks

tresesco
MVP
MVP

Have a look here, I explained similar: http://community.qlik.com/message/678993#678993