I confirm, the boolean expression in case() works. My problem was the following:
To gather one of the needed values to decide on i did the following:
| eval no-value-supplied = if(isnull(mkfind(msisdn, "no-value-supplied")), 1, 0)
Note that the introduced variable and the constant string in the mkfind are identical.
Interesting is:
if you output the variable, e.g. via "table no-value-supplied" the value binding is correct (1 or 0 in this case).
Using no-value-supplied in a boolean statement inside of case
| eval new_var = case(no-value-supplied == 1 AND ....)
never yields true.
Is this a bug, or did i miss something in the documentation?
Renaming the variable fixed the issue.
... View more