Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to write a set analysis expression for not equal to condition.
Requirement:
List products where Brand is not equals to 'B'
Please advise.
Thanks,
Chethan.V
Hi,
Try below expression.
Only({<Brand-={"B"}>}products)
For versions of Qlikview earlier than 12.0 {<Brand={'*'}-{'B'}>}
When " " -- are used, the value inside it is calculated. For text use ' ' (single quotes)
sum({$< Brand={'*'} - {'B'}>} Products)
Sorry there was typo,
Only({$< ={'*'} - {'B'}>} APPTime)
>>For versions of Qlikview earlier than 12.0 {<Brand={'*'}-{'B'}>}
The -= syntax has worked since V10 (or perhaps even V9. The syntax checker incorrectly showed this as an error (red squiggly underline), but it worked correctly. The syntax checker was fixed in 11.20 SR 12 (or thereabout).
For list box or calculated dimension:
=Aggr(Only({<Brand -= {B}>} product), product)