Nada Ahmed
09/16/2024, 11:36 AMCeligo AI
09/16/2024, 11:37 AMAI generated answer (using internal Slack threads):Based on the conversations, to create a formula in saved search criteria to filter items that contain 'SALT' or 'SKID', you can use the
LIKE
or CONTAINS
keyword in your formula.
Here is an example of how you can do it:
sql
CASE WHEN {item} LIKE '%SALT%' OR {item} LIKE '%SKID%' THEN 1 ELSE 0 END
In this formula, {item}
is the field you are searching in. The %
symbol is a wildcard that matches any number of characters. So, %SALT%
will match any string that contains 'SALT' anywhere in it. The CASE
statement returns 1 when the item contains 'SALT' or 'SKID', and 0 otherwise.
Please note that this formula is case-sensitive. If you want to make it case-insensitive, you can use the UPPER
function to convert both the field and the search string to upper case:
sql
CASE WHEN UPPER({item}) LIKE '%SALT%' OR UPPER({item}) LIKE '%SKID%' THEN 1 ELSE 0 END
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/16/2024, 11:38 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820590734
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813265324
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812874913
Celigo AI
09/16/2024, 11:38 AM