Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 17 Oracle Analytics Lounge
- 233 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 87 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations 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