Help!  Calculate a percentage between two fields that the sum of columns

Members of the forum good day!

I'm hoping to get help with and model RTF I use to sum up the output of a query in PeopleSoft.

I have a line with two fields of the query and a third field calculates a percentage using the query fields:
Row1, Field1: EXPR14_14
Row1, Field2: EXPR1_1
Row1, Field3: <? xdofx: If EXPR1_1 <>0 and EXPR14_14 0 then (EXPR1_1 DIV EXPR14_14) <>* 100 or 0 end if? >

I have a second row who has these fields:
Row2, Field1: <? sum (EXPR14_14)? >
Row2, Field2: <? sum (EXPR1_1)? >
Row3, Field3: I need the third field to calculate the percentage of sum of two fields.

I tried different ways to insert this calculation with no luck. It's my first time to create a rtf report and any help would be gratly appreciated.

In advanced thank you for your help.

Kind regards
Raquel

For the calculation of percentage you can use something similar to this (adjust the formula you need)

For Row1, Field3:

Hope that helps. If you need more help, send me the xml file and the [email protected] model

Thank you
Bipuser

Tags: Business Intelligence

Similar Questions

  • How to make the difference in percentage between two matrices?

    Hello everyone, I just want to ask how to make the difference in percentage between two binary matrices. This is to compare two images converted to matrices in LabView. Thank you.

    Well, in the current image interesting pixels are zero in the reference image. Here is a small example that would take all the zero 100% pixel, then look at the pixels of same in the other image to see how are always 0.

    Modify if needed.

  • I need to implement Drag N Drop between two tables that saves the two records

    I need to implement Drag N Drop between two tables that saves the two records on a third page, using drag 'n drop.

    Check out this video http://baigsorcl.blogspot.com/2011/01/drag-and-drop-collection-in-oracle-adf.html

  • line set between two icons on the toolbar.

    Hi all


    How to create the line between two icons on the toolbar? help out me thanks in adavnce.



    Sarah

    Hi Sarah!

    You can't create a separator menu item in the top menu.
    Create a submenu and put all your toolbar menu item.
    Between the items that you want to have a line, create a sepatator menu item
    Properties: Visible in the menu: No. and visible in the menu bar horizontal: Yes.

    Concerning

  • Because between two keyframes with the same position, there is movement?

    Because between two keyframes with the same position, there is movement?

    This would be due to the influence or speed?

    Quick glance:

    1. image: 'x' is 384px

    Capturar.PNG

    2 image: 'x' is 387px

    Capturar_2.PNG

    3. picture: 'x' is 384px

    Capturar_3.PNG

    Keyframes to which I refer are selected in the middle.

    Photo.PNG

    There is a change in the balance between two key frames that are in the same position, without keyframes between them.

    FAQ: Why my layer (camera) moves backward between the keyframes value equal?

  • Delay between two operations in the same visa write buffer

    Hello

    I'm new to labview and have tried to find a way to introduce some delay in milliseconds between two operations in the same buffer of writing a block of single entry visa. Here's what I want it to be like:

    CURR: LEV 1.5

    wait about 50 ms

    CURR: LEV 2.0

    wait once again

    In fact, I must apply an alternating signal to a coil with a certain frequency through a source of supply of power e3631a Agilent. So if there is another alternative for her, so please let me know.

    Thank you

    Concerning

    Here are two approaches. First being the easiest, simply put a delay between written VISA. The second being a more robust because it allows you to develop a series of commands by simply adding the string array. You might forget the case of the loop if you don't mind the 50mS delay before e first command is sent.

  • users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    I am the Director of technical support for more than 1000 computers. Recently in some computers (windows based) users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    Hi MASPAdministrator,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

  • Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Printing which forms an angle seems ok, but one that is horizontally seems faded, incomplete.

    I was wondering if I saved a layer somewhere and set it as a default value.

    If you group the layers, you will be left with a single layer, thus spreading your concern.

    Suggest that you do the following:

    1. Make sure you have the latest drivers for your printers
    2. Reset the default preferences.

    Hold the Alt, Ctrl + Shift keys when you click the icon to open the items. When asked if you want to delete the settings file, say Yes.

    Items nearby and let regenerate the file.

  • I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    11.1 and especially you have virtual column

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c generated always as (a+b) virtual
      6  );
    
    Table created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    

    Before that, a front insert - trigger

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c number
      6  );
    
    Table created.
    
    SQL> create or replace trigger t_default before insert on t for each row
      2  begin
      3    :new.c := :new.a+:new.b;
      4  end;
      5  /
    
    Trigger created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    
  • I subscribe to the student package and I also received a confirmation SMS saying that the sum was deducted. But when I connect through creative cloud, it shows that I'm still working on a trial version. Why is this?

    I subscribe to the student package and I also received a confirmation SMS saying that the sum was deducted. But when I connect through creative cloud, it shows that I'm still working on a trial version. Why is this?

    Log, activation, or connection errors. CS5.5 and later, Acrobat DC

    Mylenium

  • Help! Static route between two router WRT160NL

    Hi all

    I have my internet connection to connect to my main router from Linksys WRT160NL (192.168.1.1) with 192.168.1.x.

    My 2nd Linksys router to connect to the first gateway as well.
    The 2nd router has the ip 192.168.1.100 WAN and it's a local subnet as 192.168.2.x.

    My 192.168.2.x machines can access the internet and connect to all the machines in the network 192.168.1.x.

    However, the 1.x network cannot access the machines on the network of the 2. And because of that, I can't share or print between two networks.

    I try to add static routes on my main router (192.168.1.1) with the road: 192.168.2.0 mask 255.255.255.0 and default gateway 192.168.1.100

    However, the road does not work yet.

    in any case to ensure that the 1.x network able to access the network 2.x and 2.x access 1.x file and print sharing.

    Thanks for your help!

    Gateway of the router does NAT who made the side inaccessible side LAN WAN, unless you configure port forwarding automatic or similar. If she would not make your LAN 192.168.1 would be accessible from the internet. Static routing will not change that.

    You will need to disable NAT (aka switch to router mode) on the second router. You must configure a static route on the main router then. However, most likely your network 192.168.2 * will not have Internet more because the main router will NAT for 192.168.1. * and no 192.168.2. *.

    If possible set up the second router as access point only and run a LAN.

  • How to stop the connectivity between two computers that use the same IP address... ?

    Today, I managed to connect two computers with the same IP address. But now it is to be feared. for example, a person can access my computers using my IP and MAC address. So now, how can I stop the connectivity between these two computers. should what setting I use to stop.

    Tahnks.

    Hello

    1 have. what measures you taken to connect 2 computers with the same IP address?

    2. How are the 2 computers connected?

    3. how exactly you want to stop the connectivity between 2 computers?

    I want to tell you that 2 computers on the same network cannot have the same address. Each machine must have a unique address to identify it. A private network, as a home network connected to the internet, can be connected to a router to connect to the network, will have only 1 address, public IP address.

    In addition, if we know the IP address of a computer along the user ID and password, we can access the computer/shared files.

     
    If you are referring to the change of the IP address of the two computers, you can follow these steps and check.
     
    a. network connections open. Click the Start button, and then click Control Panel. In the search box, type 'adapter' and then, under center network and sharing, click view network connections.
    b. right click on the connection you want to change. Click on properties. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    c. click on the network tab. Under this connection uses the following items, click Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6), and then click the properties button. To specify your IP for IPv4, click on use the following IP address, and then, at the address IP, subnet mask, and gateway boxes by default, type IP address settings.
     
    A typical IPv4 address looks like 192.168.0.2; a typical subnet mask is 255.255.255.0. The default gateway is usually the address of your router.
    For example, IP address: 192.168.0.2 by 192.168.0.12 (for computers)
    Subnet mask: 255.255.255.0
    DNS: 192.168.0.1
     
    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • Select all dates between two fields txt. How?

    In a slider form 6i, I need to select all dates between two dates provided. I have two fields text Fld1 and Chp2 with the data type date. There is no table behind the two fields.
    For example
    ': FLD1: = MARCH 1, 2013;
    ': CHP2: = MARCH 10, 2013;

    Now I have to choose all dates between 01-mar-2013 and 2013-mar-10 '. How to do?

    Gul says:
    In a slider form 6i, I need to select all dates between two dates provided. I have two fields text Fld1 and Chp2 with the data type date. There is no table behind the two fields.
    For example
    ': FLD1: = MARCH 1, 2013;
    ': CHP2: = MARCH 10, 2013;

    Now I have to choose all dates between 01-mar-2013 and 2013-mar-10 '. How to do?

    As'salamualikum Gul

    Try this

    SELECT TO_DATE('01-MAR-2013', 'DD-MON-RRRR') - 1 + rownum AS d
    FROM ALL_OBJECTS
    WHERE TO_DATE('01-MAR-2013', 'DD-MON-RRRR') - 1 + rownum BETWEEN TO_DATE('01-MAR-2013', 'DD-MON-RRRR') AND TO_DATE('10-MAR-2013', 'DD-MON-RRRR')
    

    Hope this helps

  • Calculate business hours between two dates in a cursor

    Hello, its me again (?).

    Yesterday, I got a solution to a problem here where I need to calculate the hours between two dates, excluding Sat/Sun and from 09:00 to 18:00. I'm now putting this login in a PL/SQL block, so I can calculate it for each record in a slider, all by looping.
    with t (start_date
           ,end_date
           )
    as (select  to_date('22-oct-2012 09:00:00','dd-mon-yyyy hh24:mi:ss') start_dt,
                           to_date('23-oct-2012 09:00:00','dd-mon-yyyy hh24:mi:ss') end_dt
        from dual
       )
    , hrs (dt) as
      (select start_date
       from   t
       union all
       select dt +1/24/60
       from   hrs
       where  hrs.dt < (select end_date-1/24/60 from t)
      )
    select count(*)/60
    from hrs
    where to_char(dt,'dy') not in ('sat','sun')
    and  to_number(to_char(dt,'hh24')) not between 18 and 23
    and  to_number(to_char(dt,'hh24')) not between 0 and 8
    /
    The logic above, I'm up here:
    FOR c_record IN c_1 LOOP
    //For each record, check if the two dates meet the criteria and then raise the counters accordingly
    select  to_date(c_record.REPORTADA,'dd-mon-yyyy hh24:mi:ss') INTO vFch1 FROM DUAL;
    SELECT  to_date(c_record.INICIOREAL,'dd-mon-yyyy hh24:mi:ss') INTO vFch2 FROM DUAL;
    
    IF ((vHoras > 2) AND c_record.PRIORIDAD=3) THEN
      vContOk :=vContOk + 0;
      vContBad := vContBad+1;
      vContOt   := vContOt+1;
    ELSE 
      vContOk :=vContOk +1;
      vContBad := vContBad+0;
      vContOt   := vContOt+1;
    END
        IF;
    
    IF ((vHoras > 4) AND c_record.PRIORIDAD=2) THEN
      vContOk :=vContOk + 0;
      vContBad := vContBad+1;
      vContOt   := vContOt+1;
    ELSE
      vContOk :=vContOk +1;
      vContBad := vContBad+0;
      vContOt   := vContOt+1;
    END IF;
    
    IF ((vHoras > 16) AND c_record.PRIORIDAD=1) THEN
      vContOk :=vContOk + 0;
      vContBad := vContBad+1;
      vContOt   := vContOt+1;
    ELSE
      vContOk :=vContOk +1;
      vContBad := vContBad+0;
      vContOt   := vContOt+1;
    END IF;
    
    END LOOP;
    I really don't like if the performance is horrible because it will run once a month and should spend only 40-100 records.
    However, I can't find a way to use this connection even in this case

    Could you help me?
    Thank you!

    Greetings,
    NACEUR

    N wrote:
    I need to calculate the number of minutes between two dates, only count the hours from 9 to 18hs.

    CREATE OR REPLACE
      FUNCTION get_bus_minutes_between(
                                       p_start_date DATE,
                                       p_end_date DATE
                                      )
        RETURN NUMBER
        IS
            v_return NUMBER;
        BEGIN
            with t as (
                       select  case level
                                 when 1 then greatest(p_start_date,trunc(p_start_date) + 9 / 24)
                                 else trunc(p_start_date) + level - 15 / 24
                               end start_dt,
                               case connect_by_isleaf
                                 when 1 then least(p_end_date,trunc(p_end_date) + 18 / 24)
                                 else trunc(p_start_date) + level - 8 / 24
                               end end_dt
                         from  dual
                         connect by level <= trunc(p_end_date) - trunc(p_start_date) + 1
                      )
            select  sum(greatest(end_dt - start_dt,0)) * 24 * 60 work_minutes
              into  v_return
              from  t
              where trunc(start_dt) - trunc(start_dt,'iw') < 5; -- exclude weekends
            RETURN v_return;
    END;
    /
    

    For example:

    SQL> select get_bus_minutes_between(
      2                                 to_date('20-oct-2012 13:00:00','dd-mon-yyyy hh24:mi:ss'),
      3                                 to_date('22-oct-2012 13:21:00','dd-mon-yyyy hh24:mi:ss')
      4                                ) work_minutes
      5    from dual
      6  /
    
    WORK_MINUTES
    ------------
             261
    
    SQL> 
    

    SY.

  • Calculation of connection between two fields

    In my PDF, I have two fields - allows you to call the A and B.

    When you enter the number 26 in the to field, B field should automatically generate the value 14 (less than the value in A 12). I managed to get this working.

    However, I wish this works in reverse, so that if you field a number (for example, 3) in the B field, will automatically generate the number 15 (greater than the value of B 12).

    Unfortunately, I can't get either to work, but not both. If I set the to field with the formula, all what I enter in the B field cannot substitute the calculation generated from the value defined in A.

    Any ideas on how I can get this working? Thank you.

    You can use JavaScript in the Calculate of the two fields event.

    For example, in the first field, do something like:

    (function () {
    
        if (event.source && event.source !== event.target) {
            event.value = +getField("text2").value + 12;
        }
    
    })();
    

    and in the other field, use:

    (function () {
    
        if (event.source && event.source !== event.target) {
            event.value = +getField("text1").value - 12;
        }
    
    })();
    

    Change "text2" and "text1" to match the domain names that you use.

Maybe you are looking for

  • HP Officejet 5740: Problem with scan after passage of a wireless network to a USB between PC / printer

    Hello I would like your advice about my inability to scan from my printer control panel after establishing a connection USB with my PC. Previously, it was established as a wireless printer. I get messages like "Scan of the computer is not activated",

  • Error 1305 Age of empires 3

    Hi, I had a problem on Age of empires 3 that when im going to install give me and error 1305

  • HP MFP 3035 only feature support.

    Hello everyne! I recently bought a HP MFP3035 used due to its obvious all in one features. But after the installation, I discovered that for some reason its scanning function does not work. I do not use this printer on a network, and it is directly c

  • Nested in ScrollView containers

    Hey guys,. I make a list of containers that I'm trying to display on the screen, with the ability to scroll to the bottom of the list. I have a number of containers, which are all added to a container operation that I then put in a ScrollView. Contai

  • BlackBerry Messenger message

    Hello I want to do something like the browser app where when there's a new BB Messenger message, something appears on the title bar of my application. How do I listen to an event of BB Messenger? I see in the OS 4.2.1 API, you can do BlackBerryMessen