Skip to content

Instantly share code, notes, and snippets.

@ralfbecher
Last active January 25, 2017 16:17
Show Gist options
  • Save ralfbecher/6534414 to your computer and use it in GitHub Desktop.
Save ralfbecher/6534414 to your computer and use it in GitHub Desktop.
In QlikView conditional show expressions cannot handle NULL values. The object will be visible because NULL is treated as TRUE (or the expression doesn't evaluate right).
// In this case it is helpful to wrap the expression to catch NULL and empty string:
// works for:
// =if(Null(), -1, 0)
// =if('', -1, 0)
=if(<expression>, -1, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment