Sum calculation function / division

Hello

is there a possibility of BI Publisher to combine the function sum with a division?
I need to calculate a weighted value and display it as a field in my in BI Publisher RTF template, something like <? sum (FieldA) /sum (FieldB)? >, but it does not work...

Thanks in advance.

Try using 'div' instead of ' / '. example:

Tags: Business Intelligence

Similar Questions

  • BlackBerry smartphones, I need mortgage calculator function of payment

    It's not like there is the mortgage payment calculator function in Calculator mode.  Is there a free download or other choice?

    PS My old treo 650 had built in.

    Try this

    http://www.dpsoftware.org/mortgage.php

  • HP 50 g: function Division - grrr

    In College, I used the 48gx and loved.  I have two HP 50g calculators.  I use RPN mode.  If I do the following > > 5 enter 8 then enter the symbol of the division, I get two results - one is:, 625 is the other 5/8, that is, it does not work the calculation.  I have 2 questions:

    (1) how can I get the 5/8 to return a vs decimial 5/8

    (2) is it possible to get an extension before the result instead of a comma?

    Thank you

    Jay

    Hi!, jayats:

    Welcome to Forum!

    You can change the comma with a period, with...

    (H) MODE, key. Then, find _FM. move, keyed directional (plate), the bar. If check, uncheck the box, with the F2 and button F6 (OK), or too, + /-key and F6 (OK).

    Now, you should write, in the battery...

    1. 5 (SPC) 8 /... 625

    For fractions, press F4 (CASE) MODE, find about calculations and uncheck or put on 105 FLAG in exact Mode. Now, FASHION FLAGS uncheck 03 FLAG.

    Now, you should write, in the battery...

    1. 5 (SPC) 8 /... 5/8

    IMHO, you need read carefully, guide the user, available, of... http://support.HP.com/us-en/product/HP-50g-graphing-calculator/3235173/model/3235174/manuals/

  • Calculation form: Division - Quotient and remainder

    This calculation of shape is possible?

    Between dividend in the to field user > user between divider in domain B > C field calculates the quotient > field D calculates the rest

    example 1: 100 ÷ B25 = C4 D0

    example 2: A90 ÷ B25 = C3 D15

    Of course, the only thing is to check that the divider is not empty or null, as the division by zero is not allowed.

    Basically, the C field calculation script can be something like this:

    var a = number (this.getField("Field_A").value).

    var b = number (this.getField("Field_B").value);

    If (b == 0) event.value = "";

    else event.value = Math.floor (a/b);

    Field D using the same code but replace the last line with:

    else event.value = (a and b %);

  • Calculator simple division by zero help

    Hello, I'm doing a simple calculator with four basic operations. I want an LED light up when I'm dividing by zero. However, if I divide by zero, the LED lights up, and then when I switch to another operation, the LED stays on until I turn to 'divide' and the denominator is not zero. Can someone help me with this problem? Thank you. My VI file is attached.

    RavensFan wrote:

    # No, if wire you a False constant out to other cases.

    ... or just thread out from the case of the divide and set the tunnel exit to "use default if thread continues. It turns on only if the divide operation runs AND the divisor is zero. If can be skewed (off) in all other conditions.

  • My calculator function disappeared. How can I get that back?

    When I go to help and support the only anwser I get "using Calculator" However, when I click on the section of underlined calculator that is the answer cannot be found.

    Hello

    1 how long have you been faced with this problem?
    2. don't you make changes on the computer before this problem?
    3. What is the exact error message?
    4. don't you try to open the calculator from the following location? Start button > all programs > Accessories > calculator

    Step 1: Try the steps and check them off below

    1. click on start > run.
    2. type calc.exe and press ENTER.

    Step 2: You can also try to run the file calc.exe from the following location: C:\Windows\System32\

  • Simple sum calculation does not

    This calculation of amount doesn't seem to work, any idea why?

    There is a picture of my form.

    http://DL.dropbox.com/u/11608065/sum1.PNG

    I added $1, the left column works and the bottom is not.

    http://DL.dropbox.com/u/11608065/Sum2.PNG

    I added $1, the right column works and the bottom is not.

    http://DL.dropbox.com/u/11608065/Sum3.PNG

    Here I have added $1 to the column on the right first.

    http://DL.dropbox.com/u/11608065/Sum4.PNG

    And then the left. Same result. Thoughts?

    http://DL.dropbox.com/u/11608065/Sum5.PNG

    The order of computation of field is probably wrong. To define it, go into the mode of creation of form (forms > add or edit fields) and select: forms > edit fields > set field calculation order

    and set it to anything that makes sense for your form.

  • Sign tiny function on the calculator of Windows fonts (. + - *)

    The Windows Calculator, function keys fonts are almost microscopic.  The sign is not much bigger than the tiny period. Similarly for the + and * function of signs.  For 20 years, I had to squint and peer closely at the screen when you use the Windows calculator.  Is this usability flaw ever going to set?  If it has been fixed in Windows 7?  Is there a huge technical reason why signs of the function cannot be larger than the main fonts numbers?

    In Windows 7, it's the same thing.  I guess the assumption is that one should know where the keys are.  Would be nice if you could change the font size.  There is this...

    http://www.gHacks.NET/2007/11/04/increase-the-size-of-Windows-Calculator/

    .. but I have never tried.

    --
    Gina Whipp
    Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • Function calculator using accessories option

    I can't the calculator by using the function of accessories. How to add the calculator function of the accessories according to me, he should be here. I use XP Home Edition

    the launch of the calculator via the calc.exe

    the calc.exe file is located in the windows system32 folder.

    You can create a shortcut for your desktop and or place it in the Accessories folder.

    You can also run calc.exe directly from the run command window by pressing Windows key + R

    either way, there is also an alternative calculator designed by microsoft that you can install.

    It is located in the power here toys section:

    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

  • If SUM of multiple worksheets

    Hi all

    I have a document of numbers, including about 30 worksheets. One for each room in a building.

    I am trying to sum of items shipped quantities or not in these rooms.

    Function sum if is good for a worksheet, since I'm looking for a specific object in a single room and adding value in the column "Quantity" of this room.

    What I would like is the same function, able to look upward to the reference value in the 30 spreadsheets and give me the result.

    I searched through aid, but have not found anything compared to the map of multi calculation process. Is this thing possible?.

    Thank you all for your interest and responses.

    Lopez.

    Hi all

    I have a document numbers including about 30 paintings. In practice each room in a building the United Nations.

    I'm trying to add up the amounts of the various objects spread or not in these rooms.

    The Sum if function is valid pour 1 table (that is, 1 piece of the building) when I search in a room, how many times an object is and allows me to add up the value in the column adjacent 'quantity' of this piece.

    What I would like is the same function able to go look in all the tables and give me the sum paid all of the tables.

    I have consulted the online help but found nothing about a search in several tables. Is this a possible function?

    Merce to everyone for your interest, and your answers.



    Hey Lopez,

    Consolidate data from different tables is clumsy in number. I don't know how invested you are in your current set up, but a different approach would pay ongoing benefits. Without better understand what you need to follow, it is difficult to be precise. I would try to create an array of data available to all objects in the rooms. This data table would be extract data to the 30 room tables.

    Quinn

  • using the "Calculator" in Windows 7

    I can't find the function "division" on the calculator. Can you please tell me where he is?

    Thank you

    It is between the 9 and the % key.  It / on it.

  • Problem of calculation of form

    I have a form that has a page with about 20 lines. Each line has 6 columns - we'll call it A, B, C, D, E, F. That's how they work together:

    A - column name, without calculation functions

    B - user enters a value here

    C - this auto calculates 'B' times a percentage that is located on another page

    D - auto calculates the difference between B and c.

    E calculates this car had ' times a percentage that is located on another page

    F is the (+) sum of C and E

    To work properly, it would look like this:

    A B C (25% assuming)DE (assume 10%)F
    Name of the creditor100025075075325

    HERE'S MY PROBLEM:

    The whole process autocalculation takes effect when the number is entered in 'B '. However, once I have enter the number 'B' and click on tab / out of this field, C D and E auto calculate correctly but F does not work. F will only auto calculate correctly once I go to another field and enter a number/letter/etc. and tab / click out. Each area is configured to calculate by going under the tab 'calculate' in the properties and using the drop down menu to select the names of the two fields.

    Why don't F calculated correctly on tab / clicking off B?

    This is a typical symptom of a wrong field calculation order. The correction procedure, it depends on which version of Acrobat you are using. In form editing mode, select:

    Acrobat 9: shape > edit fields > set field calculation order

    Acrobat 11: Tasks > other tasks > set field calculation order

    Acrobat DC: More > set field calculation order

  • SUMIF in javascript function?

    Hi all

    I have a very simple form that should be used for people who take payments and I would have the subtotals of each method of payment on the form.

    Example:

    Cash 50.00

    Visa 100.00

    Cash 75.00

    Visa 200.00

    Total cash: 125.00

    Visa total: 300.00

    Total payments: 425.00

    There could be up to a few hundred entries, and management wants to use a pdf fillable file rather than Excel.  Can I use a script similar to the SUMIF function in Excel?

    Thanks for any help.  And I read the answer to a similar question in the Livecycle forums but I fear that they lose me the response type.

    Thanks again.

    Brenda

    If equal amount work using hierarchical domain names:

    function SumIfEq (cIndex, cRange, cValue) {}
    function to calculate the amount for item cIndex cRange equals cValue;
    using hierarchical fields;
    nSum var = 0; variable of type of sum of payment;
    using hierarchical domain names;
    get payment of high-level field type items and quantity;
    var oPayType = this.getField (cIndex);
    var oAmount = this.getField (cRange);
    convert objects to tables top-level domain.
    var aPayType = oPayType.getArray ();
    function RDE var = oAmount.getArray ();
    check that there is an equal number of fields;
    If (aPayType.length! = aAmount.length) {}
    App.Alert ("the number of type of payment and amount fields must be equal!", 0, 0);
    } else {}
    Browse fields
    for (i = 0; i< apaytype.length;="" i++)="">
    Console.println (aPayType [i] .value);
    If (aPayType [i] .value == cValue) {}
    Add the payment of the amount;
    nSum += Number (aAmount [i] .value);
    } / / end match of payment type;
    } / / end of loop through the fields;
    } / / end of field length.
    return nSum; return the sum calculated;
    } / / end of function SumIfEq

    script for calculating customized by using the function SumIfEq;
    call $ if equal payment 'Type', 'Amount', equal to "Visa";
    Event.Value is SumIfEq ("Type", "Amount", "Visa");.
    end of custom calculation script;

    The sum function when using an array of domain names:

    function SumIfEq (aIndex, aRange, cValue) {}
    function to calculate the amount for item cIndex cRange equals cValue;
    do not change the code below;
    nSum var = 0; variable of type of sum of payment;
    check that there is an equal number of fields;
    If (aIndex.length! = aRange.length) {}
    App.Alert ("the number of type of payment and amount fields must be equal!", 0, 0);
    } else {}
    Browse fields
    for (i = 0; i< aindex.length;="" i++)="">
    If (this.getField(aIndex[i]).value == cValue) {}
    Add the payment of the amount;
    nSum += Number (this.getField(aRange[i]).value).
    } / / end match of payment type;
    } / / end of loop through the fields;
    } / / end of field length.
    return nSum; return the sum calculated;
    } / / end of function SumIfEq

    script for calculating customized by using the function SumIfEq;
    the use of tables of domain names;
    aIndex var = new Array ("Type.0", "Type.1", "Abandoned.2", "Type.3", "Type.4", "Type.5", "Type.6", "Type.7", "Type.8", "Type.9");
    aRange var = new Array ("Amount.0", "Amount.1", "Amount.2", "Amount.3", "Amount.4", "Amount.5", "Amount.6", "Amount.7", "Amount.8", "Amount.9");
    call $ if equal payment 'Type', 'Amount', equal to "Visa";
    Event.Value = SumIfEq (aIndex, aRange, "Visa");
    end of custom calculation script;

  • Calculator with two numbers

    Dear Forum

    Im working a calculator with a textfield. It can calculate if an input one number, but does not work when I try to enter two or three. I test several codes but they don't work at all. Could someone give me a helping hand. Please join you file.

    var numeroEntrado = "";

    var campoUno:int = 125;
    var campoDos:int = 20;
    var elResultado1 = 0;
    var elResultado2 = 0;

    d. Text = '125 grs.';
    cholesterol. Text = '20 mml.';
    colesterol.backgroundColor = 0x9999FF;
    textoColesterol.backgroundColor = 0x9999FF;

    numeroPorciones.maxChars = 3;
    numeroPorciones.restrict = "0-9";

    btn.addEventListener (MouseEvent.MOUSE_UP, suma);


    function sienteTecla(event:KeyboardEvent):void {}

    If (event.keyCode == 48) {numeroEntrado = 0 ;}
    If (event.keyCode == 49) {numeroEntrado = 1 ;}
    If (event.keyCode == 50) {numeroEntrado = 2 ;}
    If (event.keyCode == 51) {numeroEntrado = 3 ;}
    }


    function suma(evt:MouseEvent):void {}
    d. Text = "";
    elResultado1 = (campoUno) Number * Number (numeroEntrado).
    d. Text = elResultado1 + "grs".

    cholesterol. Text = "";
    elResultado2 = Number (campoDos) * Number (numeroEntrado).
    cholesterol. Text = elResultado2 + "mml";

    numeroPorciones.text = «»
    }

    Thank you

    IN

    It is hard to tell without understanding your intent.

    I don't see where event listener for sienteTecla is assigned.

    If numeroEntrado is supposed to be numeroPorciones value (a guess) so maybe you could just do something like this:

    function suma(evt:MouseEvent):void {}

    If ("numeroPorciones.text! =" ") {}
    d. Text = "";
    elResultado1 = (campoUno) Number * Number (numeroPorciones.text).
    d. Text = elResultado1 + "grs".

    cholesterol. Text = "";
    elResultado2 = Number (campoDos) * Number (numeroPorciones.text).
    cholesterol. Text = elResultado2 + "mml";
       
    numeroPorciones.text = «»

    }
    }

  • Big total on a calculation of percentage

    Guys,

    I report where I am active % calculation and had idle % for two different types. The data are as below


    Columns: CustomerType Active Active % inactive inactive % Total

    Data: 277 COMMERCIAL 38,96 434 61,04 711
    4593 COMPANY 48,42 4892 51,58 9485
    SUM: 4870 Y87.38 5326 112,62 10196

    The active and inactive % are calculations as below

    Active % = (Total assets) * 100 (IE (277/711) * 100 = 38,96 and (4593/9485) * 100 = 48,42)
    Inactive % = (idle/Total) * 100 (IE (434/711) * 100 = 61.04 and (4892/9485) * 100 = 51.58)

    The sum is calculated by the total functionality in discoverer, the sum of 5 active and inactive % are calculated correctly.

    Is it possible to do the discoverer to sum % active as (4870/10196) * 100 and idle % as (10196/5326) * 100?

    Help, please.

    Thank you

    Hello

    That's how the discoverer of a total should work. Make sure you use SUM rather than SUM of the CELL. Also try including an aggregate in your calculations function, i.e. for the calculation of your assets is SUM (active) and your total is SUM (total) to make your assets % (SUM (active) /SUM (total)) * 100

    Rod West

Maybe you are looking for