Categories
- All Categories
- 5 Oracle Analytics Sharing Center
- 11 Oracle Analytics Lounge
- 196 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.5K Oracle Analytics Forums
- 6K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 68 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
BI Publisher sum values

Summary
BI Publisher sum values
Content
Hi all,
I am trying to create into a .rtf Template a total row with the sum of the values below :
<DATA_DS>
<G_1>
<LINE_NO>1</LINE_NO>
<AMT_POS>324</AMT_POS>
<AMT_SEC>1170884</AMT_SEC>
</G_1>
<G_1>
<LINE_NO>2</LINE_NO>
<AMT_POS>294725829</AMT_POS>
<AMT_SEC>8233780</AMT_SEC>
</G_1>
<G_1>
<LINE_NO>3</LINE_NO>
<AMT_POS>-2941894</AMT_POS>
<AMT_SEC/>8233780</AMT_SEC>
</G_1>
</DATA_DS>
I cannot group by my value to sum it after. Any idea on the best way to do it directly in the Template ?
Best regards,
Ben
Best Answer
-
For total you can use this.
<?xdoxslt:sum(//AMT_SEC)?>
0
Answers
-
It worked ! I tested that solution and i just realized that it didn't worked because i forgot a '/' in my <?xdoxslt:sum(/AMT_SEC)?>
Thanks again ! Really appreciated.
Best regards,
Ben
0 -
Hello @Sherry George can you explain further on how I can use
<?xdoxslt:sum(//AMT_SEC)?>, does AMT_SEC means the tokens that you will be adding?
0