Creating a  calculated total field in BIP

Hi,
Hope this isn't a stupid question. I have have a SQL data model in BIP (BI Publisher) which displays a percentage of the number of withdrawn students at our university against the total number of students.
The report is broken down by department...so each row has a percentage calculation against it to show how many students have withdrawn for that year (which is parameterised).
The person requesting the report wants a headline percentage...so essentially a calculated field doing (number withdrawn students/total number of students) * 100. I can't use the the default total settings as I don't want an AVERAGE of the column. We have 7 different departments with very different numbers of students/level of withdrawals so none of these are accurate.
Tool for doing calculated fields seems a bit difficult (in that it seemingly only allows one mathematical operation -  a division OR a subtraction etc.) and doesn't allow you to put in a straightforward formula??
Any suggestions??
Thankyou,
Alex

FormsCentral was originaly created to create online form. Attachments are supposed with online form.
We added the ability to save your form as a PDF but unfortunately the way that Acrobat and Reader submit attachments is not compatible with the FormsCentral service.
If you want to manage your data collection yourself you can create a PDF using FormsCentral (without a submit button) and then add attachment fields to the PDF in Acrobat. You will also need to add a Submit button to your form in Acrobat. You can set it up to submit the PDF to your email address including attachments. For help with Acrobat Forms you can look at the Acrobat form forum
http://forums.adobe.com/community/acrobat/forms
To edit a PDF, created in FormsCentral, in Acrobat you might want to look at this post :
http://forums.adobe.com/docs/DOC-3661
Gen

Similar Messages

  • Sum Total Field?

    I am trying to create a sum total field that is the sum of several other numeric entry fields. Is this possible in FormsCentral? How might I go about doing this?

    Once your Word document is a PDF, you can use Acrobat Pro to enable calculations in individual fields. What I don't know is whether or no you can then use this form to collect FormsCentral data... I haven't tried that yet.
    Here is an Adobe tutorial on how to do basic calculations using Acrobat Pro: http://tv.adobe.com/watch/acrobat-x-tips-tricks/how-do-i-use-basic-calculations-in-a-form/
    Brian

  • How to create a calculated field

    Hi. I'd like to know how to create a calculated field for a master- detail form. For example: having two db fields price and quantity, i created a the total item (price * quantity) as pl/sql function like this:
    begin
    :p13_item_total := :p13_price * :p13_quantity;
    end;
    However, the item is not calculated. It is not and instant calculation. I mean if i modify either price or quantity, how to recalculate item total immediately

    You must submit the page to do it with PL/SQL. If you do not want to submit the page, you must do it with JavaScript.
    Thanks,
    Tyler

  • My calculation "Total" box adds sum of all text fields whether they are visible or not, do I change

    I have check boxes that show and hide text fields. (Thanks to Gilads Java script). In options I have a default value for each text field.
    My "Total" Field field adds all fields even if they are not checked and visible. Need to have it only include them if they are checked and visible.

    You can't attach forms by email, or any other means, so it didn't come through.
    Since your fields have default values and aren't calculated based on the state of the corresponding check box, you will have to use a custom calculation script for the Total field that can check to see if any of the fields are hidden, and if so, don't include their values in the sum. For example:
    // Custom calculation script
    (function () {
        // Set up an array of field names to include in the total
        var aFields = ["text1", "text2", "text3", text4"];
        // Initialize variables
        var i, f, sum = 0;
        // Loop through the fields an calculate the sum
        for (i = 0; i < aFields.length; i += 1) {
            // Get the current field
            f = getField(aFields[i]);
            // Add the value of the current field to the sum if the field is visible
            if (f.display == display.visible) {
                sum += +f.value;
        // Set this field value to the sum
        event.value = sum;
    You can send me a PM if you want help offline.

  • Create a Calculated field in Powershell that has embedded double quotes

    Hi
    I have a requirement that I am not quite sure is even possible in the context of Site Column
    I am getting an error - maybe though lack of embedded quotes but also I am wondering if this should be possible since Created is an OOTB column even if it is not currently used yet.
    $formula = 'TEXT(Created,mmYYYY)'
    $calcualtedField = $web.Fields.Add($siteColumn.DisplayName , "Calculated" , $false)
    $spField.Formula = $formula
    $spFeld.Update()
    Does this look correct or not
    Freelance consultant

    hi Devendra
    Thanks for the reply. In my case I want to set of Site Columns to be provisioned so that I can later pick these to be added to my Content Types.  I drive this entirely though .csv files and PowerShell.   Hence, I am working at the Site Collection
    level :
    $calcualtedField = $web.Fields.Add($siteColumn.DisplayName , "Calculated" , $false)
    Your code is does a similar thing to what I want but you are building a list with user defined fields. 
    I will log on the SharePoint server a bit later but do you see this code being valid ... "Created" is the display name for the OOTB Site Column and I have tired to embed quotes for the date mask. This Calc column should  be populated when
    the site column is added to Content Type which subsequently added to a list or library
    $formula = 'TEXT(Created,"mmYYYY")'
    Keep going with the YouTube videos as these are really useful
    Daniel
    Freelance consultant

  • Question to create a calculation to add three table's cells for a grand total

    I need help with creating a calculation to add three tables.  Table, 6, 7 and 8.  The total of all tables should be in the last table where it says Total.
    I would appreciate any help.
    Thanks

    If this is the resultyou are looking for the attached will help.
    Steve
    Please post LiveCycle Designer ES questions in that forum in the future.

  • How do you create a calculation that automatically updates changes?

    Hi all,
    I am trying to create a calculation using subtraction. This is how it is set out:
    KM
    -KG
    =Field1
    -Field2
    =GM (fluid)
    Under the calculate tab for Field 1, I have written in the Simplified field notation:
    KM-KG
    And under the calculate tab for =GM (fluid), I have written in the Simplified field notation:
    Field1-Field2
    And this all works perfectly providing I don't change any of the totals in the KM or KG or Field2 fields.
    If I make changes in those fields they don't automatically update.
    How do I make them automatically update?
    Any assistance would be hugely appreciated.
    Many thanks.
    Bridie

    To set the field calculation order, first go into form editing mode (Tools > Forms > Edit) and then: Tasks > Other Tasks > Edit Fields > Set Field Calculation Order
    Order the fields in the list to whatever makes sense for your form. Be sure to do this again once you have the form working like you want to make sure it's still set up correctly.

  • Require a formula to calc the diff between 2 running total fields in a crosstab

    Post Author: PJM
    CA Forum: General
    Hi,
    I have built a crosstab in Crystal XI with the following columns:
    PROFILED BUDGET (a)                            EXPENDITURE TO DATE (b)                        VARIANCE (a-b)
    The profiled budget and expenditure to date columns are both running total fields.  I want the variance column to show the difference between the budget and expenditure. 
    To set the variance field up as a running total, I assume that I would have to specify that I want this formula evaluated after the budget and expenditure fields , however, I can't work out how to do this on a crosstab. 
    Moving the crosstab to the report footer has had no impact.
    If I try to create a basic formula using the running totals, I get the error message "A summary has been specified on a  non-recurring field" - I can't find an explanation of this error message on the help menu.
    Can anyone help with this please?

    overtime hours are calculated after 40. If I work 12 on monday, thats 12 regulars hours. not sure about others states laws but here in wisconsin we consider overtime after 40 only, not after 8 daily. at least thats how my company calculates overtime. lets say I work 10 hours a day, monday thru thursday, thats 40 hours regular time. anything after that is overtime. our weekly work schedule starts on sunday and ends on saturday. so on my bi-weekly time log, if i work 10 hrs a day monday thru thursday, i want 10hrs each day in regular hours cell, then when i work friday and or saturday, i want those hours in overtime hours. the main problem im having is: if i reach 40 hours in the middle of a day, i want the regular of that day to end and the overtime to pick up on the same day.
    here is a basic example of how i want regular and overtime to look. of course the values will be duration not just numbers. hope this helps explain what i need a bit better.

  • Calculating total in checkboxes

    I am trying to create a pdf form which can calculate the checked boxes predefined values in to a TOTAL field. I tryed to upload the pdf file sample but forum not allowing it. Please refer the screenshot.
    Kind regards

    Hi,
    Assuming the airconditioning checkbox is called AirConditioning and the number of hours called AirConditioningHours and the project system checkbox is called ProjectionSystem.
    Try this JavaScript code in the calculation event of the total field;
    var total = 0;
    if (AirConditioning.rawValue == 1)
        total += AirConditioningHours.rawValue * 4;
    if (ProjectionSystem.rawValue == 1)
        total += 15;
    this.rawValue = total;
    Regards
    Bruce

  • Acrobat Pro Calculating form fields lose functionality after enabling document for Reader

    I have a problem that continues to come up increasingly. I thought I had found a work-around on some forums, but it is still causing trouble. Im hoping you can answer the question.
    I am creating a form that requires simple calculations (sum and add). I can get these calculations to work just fine. However, as soon as I enable the document for Adobe Reader, the form seems to get amnesia. It loses the ability to calculate. When I go into the fields again to look at them, they still show that they are supposed to calculate, but arent working. I have to clear the calculations and completely reset them all in order to get them to function again, but as soon as I save this enabled doc, it loses its functionality all over again.
    Frustrating.
    I did find a work-around on a forum, but have only gotten it to work once. It had something to do with closing and saving the document, then reopening it before entering the calculations.
    Is there a clear-cut solution to this problem? The forums were rife with people experiencing the same frustrations.
    Thanks ahead of time for your assistance.

    Nathan,
    It's fairly straighforward to set up a custom validation script for this, but it might not be immediately obvious how to do it. I'll use your form as an example. In it, you have a number of rows with a Quantity field where the user enters how many items are needed, a Price field that has as its default value the price for the item, and a Total field which is a calculated field and should be the product of the Quantity and Price fields. The only variable in the calculation is the value of the Quantity field, so this will be easy.
    The Validate event of a field gets triggered when the field value is committed. This happens when the user enters a value and presses Enter, Tab, clicks outside of the field, etc. What the script should do is take the value the user entered, multiply it by the value that's in the Price field, and set the value of the Total field. The script could look something like:
    (function () {
        // Get the value of this field, as a number
        var qty = +event.value;
        // Get the value of the Price field, as a number
        var price = +getField("PRICE.0").value;
        // Calculate the total
        var total = qty * price;
        // Set the value of the Total field if not zero,
        // otherwise, blank it out
        getField("TTL.0").value = total ? total : "";
    What you really should do, however, is set up a document-level JavaScript (Advanced > Document Processing > Document JavaScripts...) that contains a function you can call from the QTY field of each row. The function will determine which row should be affected based on the field name that triggers it. Something like:
    function calcTotal() {
        // Get the row number from the field name
        // of the field that called this function
        var row = event.target.name.split(".").pop();
        // Get the value of the field that called this function, as a number
        var qty = +event.value;
        // Get the value of the Price field, as a number
        var price = +getField("PRICE." + row).value;
        // Calculate the total
        var total = qty * price;
        // Set the value of the Total field if not zero,
        // otherwise, blank it out
        getField("TTL." + row).value = total ? total : "";
    Than all you have to place as the custom Validate script of each of your QTY fields is the following:
    calcTotal();
    Also, make sure that you remove any calculations that you've set up on the Calculate tab of each TOTAL field. Now that the total fields do not rely on automatic calculations, it does not matter that the document is missing its field calculation order array, though this bug REALLY needs to be fixed. You should consider reporting it to Adobe. I will report it too.
    Note that this code assumes the QTY and PRICE fields are numeric fields, meaning they will either be blank or contain a valid number. You've ensured this by setting up each with a Format category of Number.
    George

  • Why isn't Calculate updating the Totals fields?

    i have created a multipage document. each has a column with amounts, and a total row at the bottom of the page. the first page lists checks. the second page lists only cash.
    the first page has two other fields "Total Checks" and Total Cash". each is set to sum the total of the appropriate page. finally there is a Grand Total field that sums the Total Checks and Total Cash.
    The problem is, the entries update the column total as soon as they are entered, but the Totals don't.
    I have checked to ensure no fields are locked, and all are number-formatted. i have rechecked the calculation tab many times but the problem remains.
    also, does anyone have a manual in pdf form?
    is it acceptable to attach the file?
    one lemming

    You just need to set the field calculation order (which is not the same thing as the tab order) to whatever makes sense for your form. Currently, it is not set correctly. Exactly how you change it depends on the version of Acrobat you're using. In Acrobat 9, go into form editing mode and select: Forms > Edit Fields > Set Field Calculation Order

  • Meaning and purpose of Sub Total field in Pricing

    Hi Gurus,
    Could you please explore what's the purpose of sub total field in pricing.
    In standard pricing, why we keep Sub total 'S' in MM pricing or 2 if its additional duty and where these sub totals makes impact.
    Regards
    Vivek

    Hi,
    Subtotal: -
    u2022 The value of this field determines where the values of subtotals to be captured i.e. in which table and which field.
    u2022 Controls whether and in which fields condition amounts or subtotals (for example, a customer discount or the cost of a material) are stored.
    u2022 If the same fields are used to store different condition amounts, the system totals the individual amounts.
    u2022 These condition amounts or subtotals are used as a starting point for further calculations. You may, for example, want a subtotal of all the discounts included in the pricing of a sales order.
    Once you assign the below Subtotals in MM Pricing, it will carry over the values to EKPO Table in relevant fields, you can use these fields for calculations, in routines and also in report developments.
    1 Carry over value to KOMP-KZWI1
    2 Carry over value to KOMP-KZWI2
    3 Carry over value to KOMP-KZWI3
    4 Carry over value to KOMP-KZWI4
    5 Carry over value to KOMP-KZWI5
    6 Carry over value to KOMP-KZWI6
    For e.g. if you assign subtotal "D" (XWORKD) to one condition and "E" (XWORKE) to another and create a subtotal line in pricing and assign AltCty as 12 to this line then system will give value for this line as XWORKD - XWORKE.
    For e.g.
    In Calculation Schema;
    ZCT1 = 10000 (Subtotal "D" - XWORKD)
    ZCT2 = 9000 (Subtotal "E" - XWORKE)
    Subtotal = 1000 (AltCty - 12)
    You can check existing routines in VOFM and also create new.

  • How To Block a User From Changing Total Field In AR Invoice

    Hi all,
    I would like to find out how to block a user from being able to change the total field at the bottom right hand side of the AR Invoice.  Currently if a user creates an invoice and is still busy in that invoice they can adjust the total field which in turn will update the discount field as well.
    Is this simply an authorization issue or am I going to have to do it in the transaction notification?
    We are using SAP Business One PL 30 currently.

    Hi
    Please review by note again -This is by system design .
    I don't know why you are so worried abt this because by setting up discount max ,if user cannot post the document ,that means it is not in the system ,no matter they change multiple times in the fields .
    But I think your scenario is different ,
    You are copying with certain discount from Delivery to AR invoice and i think you don't want user to change the discount field , then you can solve your issue by using approval or sp_notification
    If you really want it to be greyed out ,I think you might have to go through by SDK or Boyum addon.
    Thank you
    Bishal

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • Create a dynamic dropdown field in Adobe Acrobat Pro XI

    Hello all. I am trying to create a field in one of my forms using Adobe Acrobat Pro XI. I have a dropdown list of "main" items, and based on what is selected in that list, I want a second dropdown list to give different choices. I have searched and searched and have javascript that I thought might work, but maybe I am have a mistake or I am placing the javascript in the wrong place, becasue it is not working. I know very, very little about javascript, so any help would be so much appreciated.
    I am using Adobe Acrobat Pro XI. I added a "new field", and selected "dropdown". The field name is ProvType. The dropdown options are:
         Inpatient
         Outpatient
         Physician
    I have the "Commit selected value immediately" selected.The field is not validated. The format is "none." There are no actions or calculations associated with it.
    I then created another dropbox, and named it SubProvType. Under Actions, I selected the trigger as Mouse Up, and then selected the Action "Run a JavaScript." I selected the add button, and typed this in the JavaScript editor:
    switch (ProvType.rawValue)
        case "Inpatient":
            this.setItems("Hospice,Hospital,Nursing Facility");
            break;
        case "Outpatient":
            this.setItems("Adult Day Center,Home,Other");
            break;    
        case "Physician":
            this.setItems("Surgeon,Family Practice,Neurologist");
            break;    
    What I want to happen is:
    If "Inpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Hospice
         Hospital
         Nursing Facility
    If "Outpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Adult Day Center
         Home
         Other
    If "Physician" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Surgeon
         Family Practice
         Neurologist
    However.... when I close the form editing and try to select a different option in the ProvType field, the SubProvType field remains blank and there are no options available. There are also no errors.
    I must be missing something, but I have no idea where to start. Thank you in advance for any help anyone can provide.

    dbettis2.... Please understand that everything I am about to tell you is ONLY thanks to the help I received from Gilad D. I don't know if this will help you or not, but I want to try and pass it forward.
    If what you are looking to do is have two dropdown fields, and the second one (concentration) be a list determined by what was chosen in the first one (newMajor) then this will work, if you are using Adobe Acrobat Pro.
    Create a dropdown field and name it newMajor. In the "options" tab. Make sure that you enter all of the items that you want in that list AND that they match the javascript (or this will not work.)
    In this case, I believe you want the initial list to be:
    - Select One -
    BA - Communication (BACOMM)
    BA - History (BAHIST)
    BBA - Business Administration (BBA-BADM)
    After you create the dropdown field and enter all of the options, go to the Validate tab, chose "run custom validation script", then copy and paste the following:
    switch (event.value) {
        case "- Select One -":
            this.getField("Concentration").setItems(["-----"]);
            break;
        case "BA - Communication (BACOMM)":
            this.getField("Concentration").setItems(["- Select One -","None","Mass Communication (MCO1)","Theatre (THEA)","Communication Studies (MC02)"]);
            break;
        case "BA - History (BAHIST)":
            this.getField("Concentration").setItems(["- Select One -","None","Teacher Certification (HIS1)"]);
            break;
        case "BBA - Business Administration (BBA-BADM)":
            this.getField("Concentration").setItems(["- Select One -","None","Supply Chain Management (SCM)","Hospitality Management (HSMG)"]);
            break;
    Then create a second dropdown field, and name it Concentration. Nothing further needs to be done with the second dropdown field (as far as entering options or any javascript.)
    It should work. I have created a form using this code and field structure, and it is working. I hope this helps you, if in fact this is what you were trying to do. (I do not know how to attach a file to this post or I would send you the PDF that I made so you could see the fields. If you message me, I can send it to you.)

Maybe you are looking for

  • Hello oracle gurus ... I have a trouble with the following query ...

    Any help would be appreciated ... My oracle database ... producttype --|-- creationtime --|-- count 2 --|-- 4/07 --|-- 5 2 --|-- 5/07 --|-- 6 1 --|-- 5/07 --|-- 9 I need to write a query to populate a dataset. The table I should construct later will

  • Problem in passing import parameter to SAP Widget

    Dear experts, I have a widget which shows me important information by passing date as a parameter on eclipse plugin. I am able to see data only if i give date as YYYYMMDD as standard SAP format. I want to pass sysdate in this way ,what should i write

  • Tables not showing

    For one of my connections the tables are not shown in the tree view. When i startup with debug info I see following debug lines: Prepared: select * from ( SELECT OBJECT_NAME, OBJECT_ID ,'' short_name, 'TRUE' partition, OWNER OBJECT_OWNER, CREATED, LA

  • 5800 XM problem

    Does the Nokia PC suites auto backup my contacts and messages..? or not..?? cuz i have a very important messages in there and contacts...i haved filed a criminal actions in the court and my evidence is my boss text message to me.. but when i updates

  • A simple way to purchase or use an itunes song for a ringtone for I phone 4S.

    I have tried to use two different apps which had a video to show you how to use them.  The trouble is the instructions do not match my screen all the way through.  I need simple instructions please.