Skip to main content
Question

Null is giving me trouble ... I am subtracting PAID AMOUNT from TOTAL CLAIMED. It works when PAID isn't null. I tried different options and they aren't working

  • September 30, 2024
  • 3 replies
  • 28 views

karl.guent
Level 6
Forum|alt.badge.img

PAID AMT is, by definition delayed because people have to do research and request payment before the money arrives. So, it's normal to have NULL in PAID AMT for a while.

 

Any thoughts? Apparently, I wasn't authoring the conditional statements correctly.

 

image

3 replies

abhishek.chatu14
Level 11
Forum|alt.badge.img+4

Could you share the image again ?


mohd.kashi
Level 2
  • Level 2
  • 2 replies
  • October 10, 2024

Your image can not be loaded, please send again. 

Try to replace NULL with 0 while subtracting.


daniel.diers11
Level 4
Forum|alt.badge.img+1
  • Level 4
  • 10 replies
  • October 10, 2024

Try to use formula COALESCE(PAID AMT, 0).

COALESCE shows the first value which is not NULL. So when PAID AMT is NULL then the value is 0.