Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
I want to use Sql IN() function along with set-analysis.
[Temp]:
load *
Inline [
NAME,SAL
abc,10
def,20
ghi,30
];
sum({<match(NAME,'abc','def','ghi')>}SAL)
The above expression is not correct. can you please correct the above one?
Thanks,
Vivek
Try this:
Sum({<NAME = {'abc','def','ghi'}>}SAL)
Try this
Pick( Match(NAME,'abc','def','ghi'),Sum(SAL),sum(SAL),Sum(SAL))