Chris
02/17/2023, 7:13 PMwhere in
syntax? In SQL, this clause will only return exact matches for Paris and London where city in ('paris', 'london')
Anthony OConnor
02/17/2023, 7:48 PM[
[filter 1],
'AND',
[filter 2],
'AND',
[
[your london filter here],
'OR',
[ your paris filter here]
]
]
Anthony OConnor
02/17/2023, 7:48 PMChris
02/17/2023, 7:50 PMwhere xyz in ...
and does the same thing.creece
02/17/2023, 7:53 PM['city', search.Operator.ANYOF, [array_of_city_ids]]
creece
02/17/2023, 7:54 PMAnthony OConnor
02/17/2023, 7:54 PMAnthony OConnor
02/17/2023, 7:55 PMChris
02/17/2023, 7:56 PMANYOF
on the Item.Name field and it only returns the first result from the array.Anthony OConnor
02/17/2023, 7:58 PMcreece
02/17/2023, 7:59 PMcreece
02/17/2023, 7:59 PMAnthony OConnor
02/17/2023, 7:59 PMcreece
02/17/2023, 8:00 PMjen
02/17/2023, 10:31 PMCASE WHEN {city} = 'Paris' THEN 1 WHEN {city} = 'London' THEN 1 ELSE 0 END
and make the formula have to equal 1?Anthony OConnor
02/17/2023, 10:32 PMjen
02/17/2023, 10:34 PMjen
02/17/2023, 10:34 PMAnthony OConnor
02/17/2023, 10:36 PMWatz
02/21/2023, 4:04 PMCase when {fieldid} in(‘test’, ‘test2’) then 1 else 0 end
works too