top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

how to avoid NaN error in XML?

+2 votes
868 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...