Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10446

Re: Summing based on column value

$
0
0

Is it possible that {ICDET1.ITQOHA}  is null instead of having an empty string? Do you ever initialize aaa to some value?  Where are you putting the formula?

 

I might do a couple of things here:

 

1.  If {ICDET1.ITQOHA} can be null, turn on "Default values for nulls" under null handling in the Formula Editor.

 

2.  You might change your approach.  Try creating a formula like this:

 

if {ICDET1.ITQOHA} = '' then

  -1.0 * {ICDET1.ITQOHA}

else

{ICDET1.ITQOHA}

 

3.  You can now use this formula in a summary or a running total instead of having to add it all up using a variable.

 

-Dell


Viewing all articles
Browse latest Browse all 10446

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>