BI Publisher (MOSC)

MOSC Banner

Issue with to Calculate the Total in XML publisher Report

edited Dec 18, 2012 11:55AM in BI Publisher (MOSC) 5 commentsAnswered
Hi,

I have issue with to calculate the Total for line_amount in my report. Could you help me please?

I have tried so many following things but its not getting correct result or errors. Or How can I calculate the Total for multiple lines.

I am using word rtf template and xml file(based on PO oracle report). I am using oracle 11.5.10.2., MS Word 2010.

1. <?sum(LINE_AMOUNT)?>

2. <?sum(replace(LINE_AMOUNT,',',''))?>

3. <?xdofx:sum(replace(replace(LINE_AMOUNT, '.', ''), ',', '.'))?> 

4. <?xdoxslt:set_variable($_XDOCTX, 'TOTAL',xdoxslt:get_variable($_XDOCTX,'LINE_AMOUNT') + TOTAL)?>

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