doubt of formula calculation?

Hello

Can we do a database in a form item to store a calculation formula... ?
 

:ITEM_QTY * :ITEM_PRICE
or we have 2 make poster...!


Kind regards


Abdetu...

An item in a data block doesn't have to be displayed/visible in your form to stored / maintain a value of the formula. Create a test form that displays the field calculation initially so that you know that it's working properly. Set the property of the "Web" with a NULL value for the element, and then add a button that displays the value of the calculated item not shown in a Message(). When you click the button, you will see the displayed value! ;-)

Hope this helps,
Craig B-)

If someone useful or appropriate, please mark accordingly.

Published by: Silvere on October 29, 2010 08:48

Tags: Oracle Development

Similar Questions

  • Backtracing formula calculator

    Hello

    Is it possible to see how a channel has been calculated (formula values when used)? For example, when you use the calculator to create a new channel in a group by multiplying the 2 channels of the same group:

    ("Power") Ch = Ch ("[1] / Revs") * Ch ("[1] / Torque") * 2 * Pi

    Can I "save track" channel newly created in this formula?

    Thank you!

    Hello ZerMahlMeer,

    The only thing I can think is the field 'Description' is stored with the DataPortal channel. It will look like this:

    The 'Description' field will contain the formula used to calculate the channel, and if you save the file on TDM/PDM field will be persistent.

    I hope this helps,

    Otmar

  • With the help of the previous line in a formula calculator

    Hello.  I use the calculator to create a new string that is a custom filtered version of an existing channel.  Unfortunately, I was not able to identify the entrance of previous line in the channel.  To make things easier, let's say my filter is a simple averager.  This is simple pseudocode for what I want to do:

    New_Channel = (Existing_Channel [n] + Existing_Channel [n-1]) / 2

    where n is the current line.

    It's the calculator formula, with I came:

    ch("[1]/New_Channel") = (CHD (' chnRow - 1 ' [1] / Existing_Channel "") + ch("[1]/Existing_Channel")) / 2 + CTNV (chnRow > 1)

    Unfortunately, I think that chnRow returns 0.

    Of course, I'm a beginner.  I'm open to other approaches to the creation of a new channel with a custom filter.

    Thank you!

    Hi jbuttron,

    What you need to do is to copy the channel and remove the first value of the copied channel then the nth line of the original channel is aligned on the e line (N-1) of the copied string.  You must also add the last value of the string copied at the end of this channel as a new value that both channels end up with the same channel width.  Now you can reference the channels with Ch("[1]/old") and Ch("[1]/new") in the expression of canal's calculator, assuming that the channel names are 'old' and 'new' respectively and both are in the first group.  You need not row variable in the expression now, which is good because there is no way to iterate through a variable row in an expression of canal's calculator.  The iteration of the row is implicit in the reference channel Ch("[1]/new").

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Doubt on possible calculations in PLSQL in TimesTen

    Dear Experts

    I am running a project with Exalytics and TimesTen to support the OBIEE BI analysis.

    # Information are:

    More this cardinality intersection of:

    dimension 1 (350 members) against

    Dimension 2 (4 600 members)

    total 1 610 000 (cross).

    OBS: this is part of a universe of 480 million fact rows.

    # Is - it a calculation to determine future values for the metrics of three days 28 next two made.

    45 runs per day.

    Are operations of reading and writing varchar2, number and date variables

    14 and 6 percentages are of arithmetic calculations.

    PS: are considered: monthly economic index, the number of highways to toll and public metro stations.

    # Currently.

    This has been fixed with a PLSQL 435 lines of code process.

    # The problem is.

    Not sure about the power of TimesTen PLSQL.

    I'm dangerous to look at the tackle of scope this procedure implemented on TT Scripts type PLSQL.

    There is an experience of a similar case?

    Thank you

    Language PL/SQL in TimesTen is identical to that of the Oracle database (this is the same engine of PL/SQL). It has some features not supported in TimesTen because they depend on the characteristics of the underlying database that are not present in TimesTen. Also, Timesten PL/SQL has a much smaller set of pre-defined packages as the Oracle database.

    It is not really clear to me your question what is your concern. Have you tried to move data and PL/SQL to TiemsTen and it works?

    Chris

  • Help formula calculation

    Hello

    Since a few days I tried to figure out how I can make a custom in Adobe Acrobat X calculation script.

    All I want is to take the value of a field (Named 'Sub Total') and multiply it by 0.05. It seems so simple, but for the life of me I can't understand. haha

    The last script I tried, I found by searching the Help Forums has been:

    (function() {}

    var v1 = + getfield ('Sub Total') .value;

    perform the calculation

    var result = (v1*.05);

    Set the value of this field on the result result = event.value;

    }) ();

    But this doesn't make me all that means never.

    Any help would be greatly appreciated!

    Thank you

    Mike

    You have not spelled or capitalized method to obtain an object of field correctly. The method is «getField()' not «getfield()»

    (function() {}

    var v1 = Number(this.getField_("Sub_Total").value);

    perform the calculation
    var result = v1 * 0.05;

    Set the value of this field on the result
    Event.Value = result;
    })();

  • Doubt in formulas

    Hi all

    I use ORADEV10G.

    I have two questions

    1. first of all, it is inspired by LOV. I have a LOV with three columns: Dept, Deptno, Description.
    By clicking on the values of LOV, Dept and Description values should appear on the text box associated with the LOV. Is this Possible? If possible please help to do this.

    2. second question is inspired by triggers.
    I have two LOV in my form. First LOV is the DEPT LOV defined above with three columns: Dept, Deptno, Description.
    After selecting the first LOV Department, corresponding students the sick should be read in second LOV. I did too.

    But the problem is that if the selected Department has no details student then the second LOV must be disabled. In what trigger should I do this?

    I gave my code the when-validate-item trigger on text box associated with first LOV.

    If I select value in first LOV i.e. dept in first LOV, if the selected Department have student details so it is displayed in second LOV.

    If I reselect the Dept having no details student values in the second text box remains the same. It does not change null automatically when you select the Dept.

    also given the code.

    When-validate-item trigger,

    Declare

    cursor c_dept (number b_deptid) is
    Select count (id) from t_dept
    WHERE id = b_deptid;

    l_count number;

    BEGIN

    IF: dept.dept_id IS NOT NULL THEN


    IF c_dept % ISOPEN THEN
    CLOSE C_dept;
    END IF;

    C_dept OPEN (: dept.dept_id);

    EXTRACTION c_dept
    IN l_count;

    CLOSE C_dept;
    END IF;



    If l_count = 0 then
    : dept.student: = ";

    set_item_property ('dept.student', INSERT_ALLOWED, property_false);
    set_item_property ('dept.student', UPDATE_ALLOWED, property_false);

    elsif l_count > 0 then
    : dept.student: = ";
    set_item_property ('dept.student', INSERT_ALLOWED, property_true);
    set_item_property ('dept.student', UPDATE_ALLOWED, property_true);

    end if;

    END;

    Please help me on this.

    Kind regards
    Gopi.

    Use the KEY-LISTVAL-relaxation and make something like is in it

    LIST_VALUES;
    -- Do your custom logic here
    
  • User-defined formula

    Built in Labview, it is a calculator formula VI Express.  When you double-click it, a nice calculator interface appears allowing you to enter a formula. How can I call this formula calculator during execution so that the user can set the formula?

    Thank you

    Matt Koebel

    HA, I figured out how to do this.  You should really be sure before answer you on the forums.

  • Text element with the formula no recording is not in Table

    Dear all,

    I have a text element with 'Formula calculation' in the property Palette > > calculation > > formula, when I record using validation form to trigger validation key full transaction message but does not backup on the data column occupying a formula.

    What is the reason behind this? Can you get it everything one please let me know how to solve this problem.

    Kind regards

    Atif Zafar

    Dear Atif,

    Oracle will not save the value of formula to database column. If you want to save the calculated value, and then create another element of text as part of database and remove the column of formulas and forward INSERT or UPDATE before, assign the value in the formula column to the item database.

    I hope this helps.

    Manu.

  • Calculations of the rate of aggregation in essbase ASO SEEP cubes

    The question (limitation to ASO) we tried to find a solution/workaround. ON PBCS (Cloud)

    Details of the application:


    Application: type of ASO in cloud Oracle planning 11.1.2.3 (PBCS) application


    Dimension : Total 8 dimensions. Account to the dynamic hierarchy. Remaining 7 dimensional hierarchies Stored value. Only 2 dimensions have about 5000 members and others are relatively small and flat hierarchies.

    Description of the question of the requirement: We have a lot of calculations in the sketch that use amount = units * rates type of logic. The obligation is such that these calculation logic should apply only to the intersections of Level0 and then data resulted must roll up (down) to the respective parents across all dimensions. But when apply us this hierarchical logic / formula calculation to ASO, the logic(i.e.,amount=units*rate) of calculation is applied at all levels (not only the leaf level) of remaining dimensions. Here, rates are also numbers derived using the formula MDX.

    Some of the options explored so far:
    Option1: This is an expected behavior in ASO as all stored hierarcies are calculated first, then the dynamic hierarchies. So we tried to change the formula for each of the calculated members to explicitly summarize data at parent levels using algorithm as shown below.

    IF (Leaf Level combination)
    amount = units * rate

    Else / * for all levels parents * /.

    Use the function sum adding up the amounts between the children of the current members of dimension1, dimension2 and so on.

    End

    Result: Recovery works through the parents for a dimension. When the summary level members are selected in 2 or more dimensions, the recovery freezes.

    Option2: Change the type of hierarchy to group all the dimensions to "Dynamic" so that they calc after account (i.e. after amount = units * rate runs at intersections Level0).

    Result: Same as option 1. Although the aggregation works through one or 2 dimensions, it freezes when the summary level members are from many dimensions.

    Option3: ASO use custom Calc.
    We created a custom calc by fixing the POV Level0 members of any size and with the amount of formul = units * rate.

    Result: Calc never ends because the rate used is a dynamic calc with formula MDX (which is needed to roll forward rates for a specified period at all the following exercises).

    If you could get any help on this, it would be a great help.


    Thank you and best regards,

    Alex keny



    Your best bet is to use the allocation of the ASO, what difference does make. (one ton)

    There are a few messages blog out there that can help you meet this goal. (including mine), the trick is to create a member calculated with a NONEMPTYMEMBER in the formula

    Then it will be a member with an inside MDX formula

    NONEMPTYMEMBER units, rates

    Units * rates

    Now, make a copy of data (allocation) of this member-to-Member stored.

    http://www.orahyplabs.com/2015/02/block-creation-in-ASO.html

    http://camerons-blog-for-Essbase-hackers.blogspot.com/2014/08/calculation-Manager-BSO-planning-and.html

    Concerning

    Celvin Kattookaran

    PS I found NONEMPTYTUPLE does not and still used NONEMPTYMEMBER

  • Line according to calculations - PivotTable

    Hello

    If anyone can help with the creation of the elements of calculation in a PivotTable. I've followed this example:

    http://obiee101.blogspot.com/2009/01/OBIEE-rowbased-calculations-in-pivot.html

    I created an element of calculation on the column of my (month_name) pivot table, by selecting only sept & Oct:

    Function: formula

    (September and October)

    It returns 1 for all rows in the pivot table, the months contain numerical values and there is a page based on the year element.

    Can anyone help?

    Thank you

    Hello
    Change the fx of the measurement column

    count (month_column measure_col) and apply the formula calculated item and that the rule of the agg to sum

    Let me know

    Thank you
    Saichand.v

  • Function module aka Mod or %

    I was wondering if there are all additional mathmatical functions within the parameters of the formula calculated channels.

    Thank you

    In System Explorer, access Simulation models (usually Root: target: controllersimulation models), select the Simulation Model Add (button on the toolbar when you select Simulation models, you should be able to leave all the options to the default settings).  Give it a name and navigate to the template file, click OK.  and you should be good to go!  Deploy and laid a few controls and indicators and link them to the entries of the model (controls) and outputs (indicators).  In addition, there is probably a white paper on this somewhere on the NOR (at least adding templates stuff).

  • Microsoft CIS Stanadard 2Proc license

    Hello

    We bought a few Microsoft CIS Stanadard 2Proc licenses. We are having some doubts while

    calculation of the consumption of the license. Here's the scenario -:

    Processor Physical_Servername
    Server_a 2

    If I apply 1 CIS Stanadard 2Proc to this server. How many VMS can be hosted on it?

    Concerning

    Debasis

    Debasis salvation,

    According to the description, you bought licenses of Microsoft IEC Standard 2 Proc little. And now you have doubts about the use of the license.

    Certainly, I understand your concern.

    Important: If the problem is associated with the server.

    To get more information about it, we have a dedicated forum where these issues are dealt with and would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/en-us/home?category=WindowsServer

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Trade rules do not appear in the Regional service console

    Guru HI

    We use the Application confort Hyperion Planning 11.1.2.2.

    We have created business rules for our planning application using Calc Manager and they work very well.

    But my doubt is that calculations do appear in the essbase.

    WT could be the reason for this... Please suggest.

    Thank you.

    Hello

    The Regional service console will show you only the calculation scripts, not the rules for calculation of the Manager. This is a technical limitation.

    Prior to version 11.1.2.3, we also had business rules. These were available in the Regional service console. Then, you had a section in the view of the company next to Administration, servers Essbase called Business Rules. I usually call them Hyperion Business rules (HBR) because users easily get confused with all the scripts and rules.

    In planning, you can see the calculation scripts and rules for calculation of the Manager.

    I hope that clarifies the situation and will help you.

    Kind regards

    Philip Hulsebosch

  • Calc Help Please - Fix level 0 with numbers

    Hello

    In the hierarchy of our products, we have products of level 0 in the following Prd_1234567890 format and their parent may be Prd_Disks. My problem is that sometimes, the level 0 are deleted so that the parent becomes level 0 IE Prd_Disks, but I do want to add this member... only the Pd_ followed by digit so I tried this like below, but it doesn't seem to work.

    If (@Member (@Substring (@Name (@CURRMBR ('Products')), 3, 6)) < 999)

    I'm the * Error: 1200370 formula for [ProductSalesCalc] runtime error (line 0): attempt to cross a member function [@X] null * as I am against a member formula calculation.

    I thought I might be able to use the @match function, but I'm not sure what it takes to match with. Any help?

    Thank you

    Kaiser

    That's what I get when I run the Calc.

    FIX(Sales,Actual,Jan,@MBRCOMPARE("<=", "pd_9999999999", "Product"))
    "New York"=100;
    endfix
    

    New York actual sales
    Jan
    pd_0045421544 100
    pd_1234567890 100
    pd_balloons01 0
    pd_bottles 0
    pd_cans 0
    pd_9999999999 100
    pd_0000000000 100
    ProductsWithAll 0

    As you can see he is not picking up this member.

    Concerning

    Celvin
    http://www.orahyplabs.com

  • Error of the ASO - limit reached recurrence

    Hello

    I get error Recurrsion in ASO limit when trying to access the data in Excel Addin. I put FAKE CALCLIMITFORMULARECURSION in essbase.cfg, but still facing the same error. Any help would be appreciated...

    Essbase Version 11.1.13

    "Formula for [MemeberName] runtime error (line 0): breach of the limit of recurrence [31].

    Thank you

    Published by: Ministry of Foreign Affairs on 26 July 2012 16:48

    Hello

    CALCLIMITFORMULARECURSION configuration setting is not valid for the ASO cubes and applies only to the BSO cubes. The equivalent configuration for the ASO cubes is MDXLIMITFORMULARECURSION.

    Syntax

    MDXLIMITFORMULARECURSION TRUE. FAKE

    TRUE - imposes a limit of 31 on the number of levels to run MDX formula. The default setting is TRUE.
    FALSE - no limits on the number of levels to run MDX formula.

    Description
    MDXLIMITFORMULARECURSION limits the number of levels of execution of MDX calculated members or formulas. MDX calculated members or the formula of execution may be recursive (for example, a formula can refer to itself or a calculated member can refer to itself). By default, Essbase limit the number of levels to run MDX formula, because formulas with excessive levels of execution can lead to errors of the stack overflow and crash the server. However, setting MDXLIMITFORMULARECURSION set to FALSE prevents Essbase to impose the limitation. You can use this parameter when you know that a recursive execution in a member of formula / calculated will end eventually, and you want to have a depth of greater than 31 recursion.

    If a MDX formula reached 31 runlevels and MDXLIMITFORMULARECURSION is not set, or is set to TRUE, Essbase stops this formula of treatment and written
    error messages in the application log. If a formula reached levels of performance 31 and MDXLIMITFORMULARECURSION is set to FALSE, Essbase continues this form of treatment.

    ATTENTION: before MDXLIMITFORMULARECURSION to FALSE, do not forget that the MDX formulas in the sketch are not infinitely recursive; for example, make sure that the formulas do not depend on each other. An infinite recursion formula can crash the server.

    This is a known issue and is fixed in version 11.1.1.3.500 and you can consider upgrading Essbase.

    KosuruS

Maybe you are looking for

  • How to fix the bad plist?

    IMac to my wife (OSX10.8.5) was the erratic boot or not at all. Tech Tool Pro running by an e-drive, I find "unexpected character in line 1" of a SystemConfiguration preferences.plist. Here are the first two lines of the plist: > com_apple_ats_name_f

  • Why are the forum messages change the size of my text at random

    It seems that some of the messages I will change the size of police randomly. I'll write that one paragraph will suddenly be a sentence that changed the font size. I'm not changing the sizes manually until someone knows what is the cause. He started

  • RoboForm extension is missing on both computers

    I installed RoboForm Extension on my two computers. Roboform icon. as well as all it's options, poster usually, like a toolbar, under my bookmarks toolbar. It is there this morning because I've used several times. This afternoon, when I came back to

  • Connection of agilent E3631A DC power supply to the computer via a RS 232 for labview

    Im trying to access the computer via a cable RS 232 for sully power DC E3631A agilent use labview to operate the instrument. But the instrument is now detected by the computer and when I check instruments instruments connected tools-tool-find, told m

  • the upgrade of Windows 7... exceeds 64 32 worth?

    I have an older dv6405ca with 2 GB of Ram and an AMD Turion64 running Vista home premium sticker. It is get a Win 7 upgrade and I think to go to 64-bit. However, some of the stories I've read make me think I'm going to cause me trouble. Is 64-bit? Al