in a saved search, is there a function I can use s...
# suiteanalytics
a
in a saved search, is there a function I can use similar to
DECODE
but where it returns the original value as the default?
m
Case when no?
m
CASE WHEN {expr} != 'Key' THEN {expr} END
d
not any way that I can think of are you having to calculate
{expr}
, which is computationally expensive or complicated?
a
@David B yeah but it's just a simple CASE WHEN, not a huge deal just was hoping not to have to repeat it. I wound up sticking with DECODE anyway
👍 1
Making sure I wasn't missing a function
d
a
Hahaha damn that's how it is sometimes. I've definitely done the same thing