Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
BI Rtf template : Write expression in XSL
Lhoussain Benajam
Rank 4 - Community Specialist
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
0
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