Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I need to filter for several results of a field. I don't know how to write it.
This syntax is not working:
where client in (1,2,3,4,5)
how can i write it?
Thanks!
another one
where match(client, 1,2,3,4,5)
The closest comparison to T-SQL in (x, y, z...) syntax is to use the Match()-function.
TableName:
LOAD
Client
FROM
Table.qvd (qvd)
WHERE
Match(Client, 1, 2, 3, 4, 5);
Try
If(client<=5,client,Null())
You don't actually need the Null() as if you don't include the second comma it will return a null for any false value.
another one
where match(client, 1,2,3,4,5)
The closest comparison to T-SQL in (x, y, z...) syntax is to use the Match()-function.
TableName:
LOAD
Client
FROM
Table.qvd (qvd)
WHERE
Match(Client, 1, 2, 3, 4, 5);
Thank you, but I need it for text or numbers.
Match()-function allows for both number and text search. Use single quote to signal to Qlik it's a string.
Match(Client, 1, 2, 3, '4', '5')