Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
BI Rtf template : Write expression in XSL

Summary
BI Rtf template : Write expression in XSL
Content
hello,
can you help as to write an expression XSL to use addition, multiplication and division :
We need to compute the value of :
(A+B)*100/(C+D)
I write intuitively : <?xdofx:(A+B)*100/(C+D)?>, but the result is wrong, it only display the value of A+B !
Regards
Djam
Answers
-
You can use below in xslfo.
Please note that division operator is Div in 11g onward . Before that division operator was / in 10g
<?xdofx:to_number((A+B)*100 Div (C+D))?>
In core XSL you can write below
<xsl:value-of select="number((A+B)*100 div (C+D))"/>
1 -
Thank you Shukla, it's help me :-) :-)
Have a good day
Djam
0