Topic: can't do summation if the row has null field Posted: 27 Sep 2009 at 6:41pm
hi,
in my report details there is a null field and i would like to calculate all field including null but the result is a blank field. i tried to formulate the null as "0" but it still didn't work out. For example;
field1: null
field2: 2
field3: 5
result for total : blank (it should get answer as 7)
hope anyone can help because i need to get the result of the calculation.
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 28 Sep 2009 at 6:07am
have you tried File/Report Options/Convert DB NULLs to default? That will probably be easier. If that doesn't work for you, then you will need to use a formula...or get the data from a stored proc or a view where you can have the DB convert the NULL value to a 0.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum