Hi, what is the correct saved search syntax for 'I...
# beginners
s
Hi, what is the correct saved search syntax for 'IS NOT'? I'm trying to filter only those opportunities where status IS NOT ‘Closed - Lost ‘ OR ‘Closed - Won’. Thanks!
e
What about -None Of- ? Choose the status which you don't want to see and keep the ones you wrote above
s
Hi @Ege Çolak, I'm trying to achieve it via Formula (Numeric) as I also want to capture other opps on other fields.
👍 1
k
case {field} when 'result 1' then 1 when 'result 2' then 1 else 0 end
s
Hi Kevin, I tried the one below but no luck. I think IS NOT is not a valid expression, rigt?
case when {type}= 'Opportunity' and {status} IS NOT 'Closed - Lost' then 1 when {status} IS NOT 'Closed - Won' then 1 else 0 end
k
You need to change your thinking.
instead of doing "is not"
just say
=
and make the result something you would exclude
i.e
decode({type},'Opportunity', case when {status} = 'Closed - Lost' then 1 else 0 end, case when {status} = 'Closed - Won' then 1 else 0 end)
s
Thanks, Kevin! Will try this