xdoxslt:sum don't seems to bypass empty element after upgrade bi publisher from 10.1.3.4.0 to 10.1.3
Before I upgrade to Oracle BI Publisher 10.1.3.4.2 (build:1361) from 10.1.3.4.0, my embedded bi publisher report in OBIEE was able to handle empty values and return zero when all elements are empty.
Following are the codes for the field with null/empty values. Data source is OBIEE queries
<?xdoxslt:set_variable($_XDOCTX,’v_chn_ret’,sum(current-group()[_Channel__Report_Specific__._Report_Channel_=xdoxslt:get_variable($_XDOCTX, ’v_chn’) and .!="" ]/_Mgt_Data_Data_Comparison_._Total_Returns_))?>
But after upgrade, it is returning NaN instead of 0 when I preview the rtf in word using BI publisher desktop.
Is this due to any setup I am missing during my upgrade? Or some new features interferring with this logic?