Chris Raitzyk
01/29/2025, 3:38 PMCeligo AI
01/29/2025, 3:38 PMAI generated answer (using internal Slack threads):Based on the conversations provided, it appears that SQL
CASE
statements can be used in NetSuite SuiteAnalytics (NSAW) for calculations, but there is no explicit mention of using them as filters. One user suggests using a CASE
statement in a Formula (Numeric) field and setting the formula to equal 1 as a workaround for filtering. However, this is not a direct use of a CASE
statement as a filter in NSAW.
Here is the suggested workaround:
CASE WHEN {city} = 'Paris' THEN 1 WHEN {city} = 'London' THEN 1 ELSE 0 END
This formula would return 1 for records where the city is either 'Paris' or 'London', and 0 for all other records. You could then filter on this formula to only include records where the formula equals 1.
******
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
01/29/2025, 3:38 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806558132
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799128056
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797686338
Celigo AI
01/29/2025, 3:38 PM