<@UPQ5F2MMW> it's really unclear what you are aski...
# general
m
@dane it's really unclear what you are asking. Please give more details, and even better screenshots of your criteria and results
d
LISTAGG(Decode({accounttype}, 'accountspayable','',{amount}),'<br>') This is my formula. and the result is:
message has been deleted
@michoel
m
What are you trying to achieve?
d
I want to display the amount per item per bill with many items but the other bill who had one item, the amount is duplicating.
a
@dane It looks like your function is printing the Total Amount for the entire Bill first, and then breaking down the price by item.
So technically it’s working, though I imagine you don’t want the total amount.
m
You could add a filter for Main Line = No to your search, unless you need the main line
Otherwise you could probably change the DECODE in the formula to a CASE and check
mainline
in addition to
accounttype