using `case when trunc({today})-{duedate} < 0 t...
# general
m
using
case when trunc({today})-{duedate} < 0 then {amountremaining} end
in a formula currency field (customer search), in the event the result is 0 is it possible to display an actual numeric β€œ0.00” instead of a blank field?
b
currency is displayed as 0.00 when the value is 0
your amount remaining is probably null, which displays as nothing
Use
Copy code
NVL({amountremaining},0)
instead
m
as in
case when trunc({today})-{duedate} between 1 and 30 then NVL({amountremaining},0) end
? it’s a sumamry type SUM field too btw, if that makes a difference
b
makes no difference, use NVL to make your expression return a different value if amount remaining is null
m
how odd, i still see a blank result
b
id guess you have rows where the difference between today and due date isnt between 1 and 30
add an else which is 0
πŸ‘ 1
m
that did the trick. thanks!