BI Publisher (MOSC)

MOSC Banner

Error using to_number and distinct_values in same line in bi publisher

edited Jan 18, 2020 4:03AM in BI Publisher (MOSC) 3 commentsAnswered

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center