Hello can anyone correct this formula? it's not wo...
# general
d
Hello can anyone correct this formula? it's not working. replace(ns_concat(case when {accounttype} != 'Cash' then {class} when {accounttype} != 'Accounts Payable' then {class} end),',','<br>')
k
LISTAGG(Decode({accounttype}, 'Accounts Payable','','Cash','',{class}),'<br>')
edited per michoel comment below
For what it's worth I'm not sure "cash" is an account type. I think you mean bank
m
Also you can use
LISTAGG
instead of
NS_CONCAT
if you need a custom delimiter -
LISTAGG(DECODE...., '<br>')
d
sorry. I meant bank. anyways, thank you! it works 🙂
hello do you have any idea why is it showing for this account only and not with the other accounts?