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

Tags: NI Software

Similar Questions

  • 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 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

  • 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;
    })();

  • 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).

  • 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

  • ___How calculate the scale between two objects (without ArtDirector Toolkit)?

    Normally, I'd use ArtDirector Toolkit, but I can not install it or software at the present time (too long to explain why) remove.

    In any case, I have several items on the scale, and I'll try to find a formula/calculation to determine the scale.

    Example - 1 item is 3,7486 "and I want that it 5,3231" - how to calculate the percentage of the scale to expand it?

    I know you smart popular forum can help!

    Thank you!

    142.00234754308275%

    Hugh Betcha wrote: normally I'd use ArtDirector Toolkit, but I can not install it or software at the present time (too long to explain why) remove.

    Alternatively, you can Google "scale percentage between two numbers" - gives a lot of info free/calculators

  • Discount first smart vision

    Hello

    Is there a parameter according to smart, by which we can prevent the first automatic refresh of the data on the excel sheet, immediately after the connection?

    Thank you
    Mounira

    In order to avoid the SmartView trying to regenerate automatically stored values when the worksheet is opened, the value manual calculation of Excel (Tools-> Options..., select the calculation tab and select Manual)

    In Excel 2007 - it's under the formula-> calculation Options.

    HTH-
    Jasmine.

  • Handful of division by zero error in SQL

    Hello


    a few messages back, someone asked about how best to manage divide them by zero.

    Can I come back to this topic with, what is the best way to manage divide them by error in SQL without repeating the code...

    What I have in mind is often divided by error appears as the result of a long formula calculation - and trying to bury a long a long calculation formula in a case statement gives you an extremely long result, but is not ideal for the maintenance of the code.

    Encapsulating the manipulation in a function is not great for performance reasons.


    So is there a simple way to do the equivalent of (pseudo)


    Select IFerr (real / (RidiculouslyLongConvulutedFormulaHereWhichSometimesYieldsZeroValues), 0) of the double

    Where IFerr works as NVL - except that it gives 0 when the result is a wrong number or the result otherwise?



    Thank you

    Robert.

    Hello

    a few messages back, someone asked about how best to manage divide them by zero.

    I saw this thread, but it mentions the NULLIF function?

    You can apply it to each denominator in your formula, so it returns NULL in which case it is set to 0.

    For example,.

    with t as (
     select 1 numerator,
            0 denominator
     from dual
    )
    select numerator/nullif(denominator,0) as div
    from t;
    
  • Project invoicing - Invocing on the percentage of work complete

    Hello

    Could someone explain please on the process of billing for this criterion to bring up the Bill.

    I'm working on the project of implementation, our Client follows a process of billing their clients at three different stages, they are as follows:

    a. on the 30% work complete / advanced - need to raise a first Bill
    (b) 60% of work completed/WindowFX - need to raise a second invoice
    c. 100% of work completed/WindowFX - must raise a final bill and having to generate income to 100% work complete.

    Our customers expect an automatic billing at the 30%, 60% and 100% of work complete.

    Please give me a solution and how to deal with this requirement.

    She will be grateful, thanks in advance.
    Lanaud

    Hello

    The method of recognition of income called cost to the cost is based on a formula calculated by the extension of the billing. The formula looks at the total of the costs incurred and divides it by the cost of the approved project budget. The formula is the percentage of the cost spent. The model that multiply by the total funds (referenced approved revenue budget) which has recognised the results in total revenue.

    Revenue based progress using the percentage of completion is entered through this form.

    If you want to use the method of cost to the cost that the rule of distribution of project as COST of installation.
    If you want to use your own developed extensions of billing or events entered manually configure rule distribution as EVENT.
    If you want to recognize income from expenses charged to your project, is like a JOB. This method is using bill rates or hourly billing charge of calculating the amount of the income of each item of expenditure.

    Dina

Maybe you are looking for