Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I saw in a set analysis expression something like Sum({< Category={'ABC'}, Subcategory-={} >} Amount).
Is this a legal expression in QlikView ?@@, and what does it exactly do because handling of Nulls is done in some other way as I read on different discussions.
To exclude blank values use
a -= {''}
It means "not equal to "
Not equal to Null ? specifically right ?
not equal to the selected Subcategory
There is a difference between -= and =-
See attached app, make selections in the listbox to see what happens
sure. there is difference between -= and =-.
i tried what you suggested and apparently they are trying to overcome that there are blank cells in the excel sheet that is loaded for that field (subcategory).
-= means exclude.
{} means the empty set
a -= {} means exclude the empty set. In other words, do nothing.
To exclude blank values use
a -= {''}
Thanks Jonathan. What you are saying is true. a-={''} excludes blanks in all environments.
However and strangely, if the data source is excel, blank values can also be excluded using a-={}
>>However and strangely, if the data source is excel, blank values can also be excluded using a-={}
I agree that is strange and possibly even a bug, so I would not rely on that.