Error using to_number and distinct_values in same line in bi publisher
Hi,
I have a report that will calculate the grand total of the amount in each column. Now I want is get the total without repeating the same amount. I used the xdoxslt:distinct_value, now I have an error says "java.lang.NullPointerException" and I tried to put the xdoxslt:to_number and I got the error "oracle.xdo11g.xpath.XPathException: Extension function error: Method not found 'distinct_values". Please see below my code to get the total,
<?sum(xdoxslt:distinct_values(xdoxslt:to_number(AMOUNT)))?>
What is wrong in this code?
Thanks,
Lawrence