top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

how to avoid NaN error in XML?

+2 votes
1,354 views

I am running a XML Report, When I try to sum the field in the report , <?sum(colname)?> , the output displays NaN. This is strange.

posted Sep 17, 2014 by Suchithra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

we can void in 2 ways this:

1:
<?xdoxslt:sum(colname)?>
we use xdoxslt sum to avoid the issue while sum fields having null.

2.
<?sum(colname[.!=''])?> is enough try this

answer Sep 17, 2014 by Arun Gowda
...