Calculate the percentage in RTF model

Hello

XML data:
< ACTUAL_PERIOD > 0 < / ACTUAL_PERIOD >
< BUDGET_PERIOD > 2308 < / BUDGET_PERIOD >

I need the columns calculated as ACTUAL_PERIOD - BUDGET_PERIOD and I was able to do,
<? xdofx:ACTUAL_PERIOD - BUDGET_PERIOD? >

but I also need another column of percentage as ((ACTUAL_PERIOD-BUDGET_PERIOD)/BUDGET_PERIOD) * 100.

I could not understand how to write a comprehensive xsl function to achieve the above.

Help, please.

Thank you.

or


or


Tags: Business Intelligence

Similar Questions

  • How to include the total number of table one fact in another fact table to calculate the percentage

    I have a fact table in the grain of each document created in any organization, say the 1st table of facts. I have another table of facts (2nd fact table) seen those documents which are considered by different commentators. grain of this second fact table is so each review, even if I document in both IDs the fact table.

    Now, I want to calculate the percentage return documents reviewed. For this I need to divide count separate from the document of performance by the total performance document. Now this document of total performance can be obtained from the 1st table of facts, but I don't get how to bring this indictment in the 2nd table of facts to show the percentage.

    Please let me know if there is no ambiguity in my question, because I'm a starter in OBIEE.

    Thank you very much.

    then you can set new logical column with two columns of fact in the formula

  • Stuck in the BI Publisher rtf model for Apex report

    Hi, I work on Express 4.2.3.00.08 and oracle database 11 g application.

    I stuck in the BI Publisher RTF model.

    I want to create a BI Publisher Apex report.

    Question is.... have several activities and several Notes to a significant number.

    Not sure how to put repeating frame so that all corresponding activities and corresponding notes are a major number without repeating.

    Each main number arrive on a page, see the snapshot below.

    I have attached my rtf model snapshot too.

    I'll be really grateful for your help.

    Thank you very much in advance

    Untitled.jpg

    Untitled2.jpg

    I think your results will have 1102 pages (one page separated by major) for all major XML data?

    You must use @section. so your for each should be as below

    and remove the page break before for each end.

    If you can share the email I can send the updated model.

  • Calculate the percentage instead of add

    I did a classic report with three columns, of which the last is the percentage of the second in the first column. I mark the column of the sum for the first two, but I would like that the total line in report was also done to calculate the percentage.

    Example:

    Val1 Val2% cod

    X 10 4 40.00

    Y 20 3 15: 00

    Total: 30 7

    I would like to bring to the rest of column %, instead of the sum, to calculate the percentage (23.33%)

    It is a real hack, but it works on my example page

    (find the last line, from individual cells to last row and divide them into another)

    $(«#report_emp tr:last td:eq (2)' ") .text (parseInt ($(' #report_emp tr:last:eq(3)').text()) td / parseInt ($(' #report_emp tr:last td:eq(4)').text()))))))

  • Can't view the data after loading the XML into RTF model

    Hi friends

    I am unable to view data in PDF after loading the XML into RTF model
    After I load the XMl file to my model
    The complement of the tab, I'm trying to get a glimpse of the output as pdf/xml etc, but he throws and error
    Window does not
    'C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\Oracle\BIPUBL~1\TEMPLA~\tmp\3513518782149421out.pdf214921out.pdf '. Make sure you typed the name correctly and then try again. To search for a file, click the Start button and click Search

    I gave the name correctly only, but don't know y it displays error I have to reinstall the Office of Oracle BI Publisher once more please advice me what needs to be done to solve my problem of my PC

    Thank you
    Thiliban

    It seems that the problem is with the working directory of the BIP Office.

    If you have administrator access to the computer, please do the following:
    1 Windows-> Run-> regedit
    2. find the value of the next entry
    Publisher\Template HKEY_CURRENT_USER\Software\Oracle\XML for Word\TB_WORK_DIR generator
    3. change your path C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\ORACLE\BIPUBL~1\TEMPLA~\tmp

    See you soon,.
    ND
    Use the buttons "useful" or "correct" to award points to the answers / mark the thread as answered, if your question is answered.

  • How to calculate the percentage of monthly sales

    Hello

    I have a column sales of the month and I have another column that calculates (monthly sales / (total number of monthly sales)) * 100.

    How to calculate this percentage of sales.

    Please advice.

    Kind regards

    Séverine.

    You can use the AGGREGATE function for the TOTAL monthly sales in the year:

    Something like: AGGREGATE ("measure monthly sales" to "Time" ".") Time hierarchy ".» An »)

    Calculate your final formula:

    "measure the monthly sales" / AGGREGATE ("measure monthly sale 'to"time'." Time hierarchy ".» Year') * 100

  • I want to create the BI Publisher .rtf model as attaché

    Hi Experts,

    I'm creating the RTF template but unable to group and the merger of the blocks contained in the sample model. Could you please create the rtf with attached sample data model. For your reference, I enclose my RTF template as well. Please do the needful.

    Thanks in advance

    Thank you and best regards,

    Satya

    Hi Satya,

    I created the RTF model based on your design data and sample layout xml.

    Please find attached.

    Let me know if you need more assistance.

    Thank you...

  • Problems with highlighting of the rows of the table through RTF-model

    Hello!

    Peace im new in the world of BI Publisher. For the moment, I try to create and RTF-model with the Office AddIn for Word Bi-editeur (2010). I want to create a table based on a table of a pdf document existing already. I have all the data in the right format and order and just worked fine - until I wanted to change the background color of some specific lines.
    If I add that a statement such as

    <? If: Variable = "Expressionstring?" > <? attribute@InContext:background-color;' #FFFF80 '? > <? end if? >

    the context of the evolution of the entry. But the fact the line height. It develops. The expressions more that I use more it grows. That of not good, because the table is so great that it only fits on a single page with fine lines... I tried to apply a height specified in the line through the word, but it does not work.
    I searched a couple hours and still didn't find anything regarding this problem. I appreciate any ideas how to solve this problem.

    Tounsiiaa in advance

    Gabriel

    To help those who have a similar problem: it's just like sfr.farhan.fani wrote. I try to give you a general expression:


    <? If@row:ROWNAME=VALUE? > (this should work with = > etc do not forget the ' ' for strings etc..)

    < xsl: attribute name = 'background-color' xdofo:ctx = 'incontext' > lightgray < / xsl: attribute > (lightgray can be changed to hexa% and %valeurs)

    <? end if? >

    Hello

    Try the following expression

    5000? >

    LightGray

  • Calculate the percentage registered

    Gurus,

    How can I get the correct value for the recorded percentage?

    Retail_Price = 100.00
    Sale_Price = 30.00

    Select (retail_price - sale_price/retail_price * 100) as prs_tab percentage_saved
    where prskey = 1516345;

    result = 9970

    result should be = 70

    What Miss me?

    Thank you!

    >
    How can I get the correct value for the recorded percentage?

    Retail_Price = 100.00
    Sale_Price = 30.00

    Select (retail_price - sale_price/retail_price * 100) as prs_tab percentage_saved
    where prskey = 1516345;

    result = 9970

    result should be = 70
    >
    Add parentheses around the numerator

    select ((retail_price - sale_price)/retail_price * 100) as percentage_saved from prs_tab
    where prskey = 1516345;
    

    Who will calculate the difference first: retail_price - sale_price = 70, which is 70% on retail price

  • How to get the CSV file, RTF model output DATA

    Hi, Jorge

    Thanks for your help.

    as in the link you gave the model RTF can have the type of output CSV DATA but in the preview, I see only html, powerpoint, pdf, html, excel.

    How to see the result in SCV, DATA format using my RTF model do I have to do a specific design for these outputs.

    Thnaks in advance

    This is because it has been preconfigured with these outputs.
    Edit and add types of outputs more simply go to:

    1. change your report
    2. click on 'Display list' (upper right corner)
    3. click on the "output formats" (corresponding to your page layout) and
    4. check the formats (add) additional output you want your report to have.

    see you soon

    Jorge

  • Insertion of logo in the XML editor RTF model

    Dear members,

    I developed a RTF model. In this model, I inserted a dummy image. I have a right click on the image and the image of selected format option. Because I'm not able to see the web tab.

    Can someone help me please to solve this issue.

    I use Microsoft Office 2010 with the Oracle Applications 11.5.10.2

    Best regards.

    Select the image, you will get the menu format bar. Do not click on the format menu and go to the panel size, click the 'Alt text' tab.
    You can enter the URL here.

    I hope this helps.

  • calculation of the subtraction in RTF model

    I'm working on a purchase Oracle XML Publisher report (Oracle E-Business Suite R12) which begins with a budget amount that is imported to our financial system, and then lists all applications and orders that are being (unlicensed).  Unapproved all these requisitions/order amounts are totaled using a form field sum, followed of a field where no approved requisition/order total is subtracted from the budget amount (amount available).  This is the code I used in my form for the amount available field:

    <? xdofx:BUDGETAVAILABLE-(sum (EXTENDED_COST))? >

    When the report is run, all fields are correctly filled, except for the quantity available - lists the initial amount of budget, it does not subtract the sum of the cost extended.

    Note: The formula that calculates the total total cost field successfully is <? sum (EXTENDED_COST)? >.  This is where I got the second part of my formula.

    I found the solution:

  • How to calculate the percentage change in a period

    Hello

    I have this table, and I need to select the year (VAR %) percentage between today and the day before,

    In this case below between 10 and 09 August and August 09 and 08 August,.

    EMPDATESALES% VAR
    10021201508101200
    10021201508091300
    1002120150808900
    1004520150810850
    10045201508091320
    10045201508081820

    Thanks if you can help

    Concerning

    Carlos

    OK, so now you have defined exactly what you mean by % VAR and in view of the expected results, how about this:

    Select the emp,

    EDATE,

    sales,

    sales - lag (sales) over (partition by order by edate emp) variation,

    (sales - lag (sales) over (partition by order by edate emp)) / sales '% VAR '.

    to my_data

    order of the emp, edate desc;

  • Calculate the percentage of various errors (1309-REP REP - 1248 REP - 1517)

    Hello!

    I have a SQL query, which brings me two fields.

    The first field is of type varchar, and the second is the number of times that the first field has been returned.

    So overall let's call them A and B.

    How can I calculate B/AMOUNT (B) * 100?


    I tried different techniques and they all failed unfortunately. So please help me to point out what is wrong.

    1 formula column:
    function CF_POURCENTAGE_FORMULA return Number is
    begin
      :P_POURCENT := :TOT_SYS / :CS_G_TOT * 100;
      RETURN :P_POURCENT;
    end;
    2. Executive summary column
    function CF_POURCENTAGE_FORMULA return Number is
    begin
      :P_POURCENT := :TOT_SYS / :CS_G_TOT * 100;
      RETURN :P_POURCENT;
    end;
    3. summary column (% of total), (it worked but the % were adding up in a way that the last poster showed 100%)


    Kind regards

    THKKK

    Hello

    I have a SQL query, which brings me two fields.

    The first field is of type varchar, and the second is the number of times that the first field has been returned.

    So overall let's call them A and B.

    How can I calculate B/AMOUNT (B) * 100?

    So far, I can understand what you're trying. But the rest you have shown that you code I did not understand correctly. If you could explain that the way in which the report to print now and what you want to do extra for example. So, it's easy to say something. And what is the query also.

    -Clément

  • calculate the percentage of error in the table with a reference number

    Hello

    I am able to make the mistake of column 0, table...

    How I would be writing the code for the column 1, 2, as well as the n column?

    You really do need to learn more about arrays and scalars. You use tables 1 d as the scalars and arrays in tables 1 d 2D. Transpose two operations in a row is a NOP, why do it?

    Do not have the same code in all cases a case structure. Everything is the same thing belongs outside. Only one number differs between business and it's the only thing that belongs inside picture).

    Do not bury terminals inside the loops and other structures. They belong to the toplevel chart background.

    Here is a quick sketch.

Maybe you are looking for

  • 10 years of iTunes movies bought yesterday is gone!

    Yesterday, I BOUGHT ""10 years of iTunes Movies-Paramount "bundle for $9.99, while watching a film selected from this set, I stopped it so it might load faster, I came back today to look at" and he wants me to buy again for $39.99... goes on what?

  • iOS 9.3 audio routing to dock bug

    iOS 9.3 is causing my iPhone 5 s to try to route the audio to "anchor" when no dock is connected. This happens both when I have headphones plugged and not. The only way to solve this must repeatedly to plug / unplug the headphones. Does anyone else h

  • Dynadock - USB Audio broken broken kaput (white noise)

    don't know what caused this, but I use a Dynadock until Monday USB audio was fine then it started making a sound crackling white. I thought was temporary as was just leaving work but in return today is to do the same thing. A bit of google leads me t

  • Back

    What is a BACK BONE.

  • Need instructions step by step to restore on Windows XP print spooler system.

    I have a Dell Dimension desktop E510 and a Brother MFC-465CN printer.  Unable to add my printer as the print spooler service is not running.  FYI: I had a virus a week ago and added Malwarebytes' Anti-Malware to correct the problem in case it is of a