Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there an IN statemeent in Qlikview as part of the laod script?
i.e I an trying to load * where fieldvalue in('a','b')
Bruce's answer is correct:
LOAD *WHERE MATCH(ID, 1, 2, 3) > 0 FROM ....;
Will return those records where ID is 1, 2 or 3.
Regards.
you can use 'and' or 'or' operator according to your requirement
Alan
Also you can use Match (or it's deritives). For one or 2 selections Sunil's suggestions is good.
Bruce's answer is correct:
LOAD *WHERE MATCH(ID, 1, 2, 3) > 0 FROM ....;
Will return those records where ID is 1, 2 or 3.
Regards.
And you technically don't need > 0 because any non-zero number evaluates to true. It makes me uncomfortable counting on QlikView's internal representation for true() and false(), but it's not something that would ever change, so it should be safe. I do it, and have just accepted being uncomfortable.