Assiging the values of parameter in CASE

Hi all
I'm writing the Expression BOX in the following way.

CASE WHEN entered. Field1 < = Input.Field2 then
Input.Field1 = Input.Filed2
ON THE OTHER
Input.Field2
END

During the validation of Expression it throws the error. Could you tell me please me is possible to write the expression to assign values of parameter input/output field.
If so, please explain. If this isn't the case, suggest me work around.
Thank you very much
See you soon!
-MAK

He likes to change...

CASE WHEN input.Field1 <= Input.Field2 then
Input.Field1
ELSE
Input.Field2
END

If you created this in the output of expression variable say 'out_1' and then
so if the entry. Field1<= input.field2="" then="" value="" of="" out_1="" will="" be="" input.field1="" else="">

See you soon
Katia

Tags: Business Intelligence

Similar Questions

  • Can I use an alias for parameter such as 'The value of parameter value VI' entry in the palette of models?

    I played with the example Veristand 2015 "Set model Parameters.vi.

    Is it possible to use a parameter alias as the input string to the function 'Set parameter 2D Array Values.vi'? I tried to do this, but get the following error:

    Error 307662 has occurred to define model Parameters.vi > NI_VS ModelManager ExecutionAPI.lvlib: NI VeriStand - Set parameter 2D Array Values.vi

    Possible reasons:

    NEITHER VeriStand: The node is not found in the system.
    =========================
    NOR VeriStand: Could not find expression of parameter

    I am convinced that the alias has been implemented in the system definition correctly.

    If not, what the point of having an alias for parameter? Model workspace calibration controls don't seem to be able to use them. Am I missing something?

    Thanks in advance for any help on this matter.

    The alias parameter access is just for reading.

    To write to the parameter, you ned to use control of Calibration of model or the model parameters Manager API. Alias as the parameter cannot be used to write.

  • the pointer to int as a parameter in the dll, but the value of parameter variation doesnot

    Hello, I have a function in the dll as void set(int * a) {(* a) = 99 ;}}

    And I connect an int32 to the dll. But when I run the vi, the Int32 value does not change.

    As the picture below:

    You connected control DLL parameter. This means that the value of the command is passed to the DLL... and finito! You must connect an indicator on the right side of the DLL parameter to see the value returned by the DLL.

  • Set the values of parameter SPFILE for Oracle RAC

    Hello

    in the documentation:

    https://docs.Oracle.com/CD/E11882_01/RAC.112/e41960/admin.htm#RACAD815

    I can read:

    *. OPEN_CURSORS = 500
    prod1. OPEN_CURSORS = 1000

    If an another DBA executes the following statement, then Oracle database updates the setting on all instances except the instance with SID prod1:
    ALTER SYSTEM SET OPEN_CURSORS = 1500 sid ='* ' SCOPE = MΘMOIRE;


    So if you run the following statement on another instance, the instance with sid prod1 also assumes the new 2000 setting:
    ALTER SYSTEM SET OPEN_CURSORS = 2000 sid ='* ' SCOPE = MΘMOIRE;

    My question is:

    How Oracle will know that it is you run the NDDN statement to apply even to prod1?

    The syntax for these two ALTER SYSTEM are the same. Then why Oracle applies the second on prod1?

    In other words, why the output of these two statements is different with respect to the affected bodies? One is applied on all except prod1 and the next is applied to all included prod1.

    Thank you.

    Hello

    If you have 2 instance and run you the change of parameter with sid ='* ', which means changing this setting will affect the two instance...

    the two values in the instance will be changed.

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_2013.htm -->> search for "SID clause allows you to specify the SID.

    This seems to be a bug in documentation...

    Bug 6530554 : ALTER SYSTEM SET SCOPE = MEMORY SID ='* ' UPDATE all INSTANCES

    Thank you

  • Cannot access the value of parameter task flow when type java.lang.string

    Hi all

    I use Jdev 11.1.1.6.0 version.

    Here's the scenario. I enclose the workspace.

    A taskflow (testScope1TF) simply have 2 obligatory parameters corresponding type is String and ArrayList.

    This stubborn taskflow placed as a region in a pop up (p1) in a fragment (testScope2Fragment.jsff).

    Have a command to link to testScope2Fragment.jsff and from there, I'll put the value of the parameter.

    Pop until I can access the value of the ArrayList, but for string, it is show null. However all these setting set the same bean. What is the reason for the string parameter showing null?

    Can anyone help to understand this strange behavior.

    Here is the link to sample workspace

    https://drive.Google.com/file/d/0b-8Suq_hutEhNE01blZFUnlQdzQ/view?USP=sharing

    To run the example - ScopeTestPage.jspx run-> click on commandLink 1 -> press the commandButton control pop up 1.

    In output integrated wls console like below.

    ------------------------------------------------------------------------

    Table list size: 2

    String value parameter: null

    Here's the code-testScope2Fragment.jsff.

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "" "

              xmlns:f=" http://Java.Sun.com/JSF/core ">

    < af:panelStretchLayout id = "PSL1" >

    < f: facet name = "center" >

    < af:panelGroupLayout layout = "scroll".

                               xmlns:af=" http://xmlns.Oracle.com/ADF/faces/rich "" "

    ID = "pgl1" >

    < af:commandLink text = ' commandLink 1 ' id = 'cl1' partialSubmit = 'true '.

    actionListener="#{viewScope.TestScope2Bean.tesctScope2Method}"/ >

    < af:popup id = binding = "#{"p1"viewScope.TestScope2Bean.viewScopePopUp}" >

    < af:dialog id = "d1".

    title = "Pop of the scope on the view upwards the Value: #{viewScope.TestScope2Bean.testScopeView String}" >

    < af:region value = "#{bindings.testScope1TF1.regionModel}" id = "r1" / > "

    < / af:dialog >

    < / af:popup >

    < / af:panelGroupLayout >

    <!-id = "af_one_column_stretched"->

    < / f: facet >

    < / af:panelStretchLayout >

    < / jsp:root >

    public class TestScope2Bean {}

    String testScopeView = null;

    ArrayList < String > testScopeViewList = new ArrayList < String > ();

    Private RichPopup viewScopePopUp;

    public TestScope2Bean() {}

    Super();

    }

    public void tesctScope2Method (ActionEvent actionEvent) {}

    Add the code in the event here...

    this.setTestScopeView (In ViewScope Test");

    testScopeViewList.add ("sjdjshdsj");

    testScopeViewList.add ("cdsfdsfsf");

    RichPopup.PopupHints applyHoldspopUpHints = new RichPopup.PopupHints ();

    this.getViewScopePopUp () .show (applyHoldspopUpHints);

    }

    {} public void setTestScopeView (String testScopeView)

    this.testScopeView = testScopeView;

    }

    public String getTestScopeView() {}

    Return testScopeView;

    }

    {} public void setViewScopePopUp (RichPopup viewScopePopUp)

    this.viewScopePopUp = viewScopePopUp;

    }

    public RichPopup getViewScopePopUp() {}

    Return viewScopePopUp;

    }

    {} public void setTestScopeViewList (ArrayList < String > testScopeViewList)

    this.testScopeViewList = testScopeViewList;

    }

    public ArrayList < String > getTestScopeViewList() {}

    Return testScopeViewList;

    }

    }

    Thanks in advance.

    I took as look at your code. The problem is that you use a popup in the region and regions have a bit different (refer to http://www.oracle.com/technetwork/developer-tools/adf/learnmore/67-queryform-in-popup-253861.pdf) in the regions. Must be addressed the refreshment of the ifNeeded region to make your sample (see image below):

    Timo

  • How to display the value of parameter of current session

    Hello

    How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?
    SQL> conn hr/hr
    Connected.
    
    SQL> show parameter QUERY_REWRITE_ENABLED
    ORA-00942: table or view does not exist
    
    SQL> alter session set QUERY_REWRITE_ENABLED=true ;
    Session altered.
    
    ...
    
    -- how can the user HR know the value of QUERY_REWRITE_ENABLED

    ahmedbaraka wrote:
    Hello

    How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?

    Like this:

    oracle@g5 ~]$ sqlplus scott/scott
    
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Nov 6 15:38:11 2009
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    SQL>
    SQL>
    SQL> show parameter query_rewrite_enabled
    ORA-00942: table or view does not exist
    
    SQL> set serveroutput on
    SQL> DECLARE
      2    parnam VARCHAR2(256);
      3    intval BINARY_INTEGER;
      4    strval VARCHAR2(256);
      5    partyp BINARY_INTEGER;
      6  BEGIN
      7    partyp := dbms_utility.get_parameter_value('query_rewrite_enabled',
      8                                                intval, strval);
      9    dbms_output.put('parameter value is: ');
     10    IF partyp = 1 THEN
     11      dbms_output.put_line(strval);
     12    ELSE
     13      dbms_output.put_line(intval);
     14    END IF;
     15    IF partyp = 1 THEN
     16      dbms_output.put('parameter value length is: ');
     17      dbms_output.put_line(intval);
     18    END IF;
     19    dbms_output.put('parameter type is: ');
     20    IF partyp = 1 THEN
     21      dbms_output.put_line('string');
     22    ELSE
     23      dbms_output.put_line('integer');
     24    END IF;
     25  END;
     26  /
    parameter value is: TRUE
    parameter value length is: 4
    parameter type is: string
    
    PL/SQL procedure successfully completed.
    

    So read the [Function GET_PARAMETER_VALUE | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#sthref7801]

  • Enter the value of PARAMETER of a function at run time

    Hello

    I wrote a query and created a .sql file. So whenever I use to perform an action, I'll just run the my unix box .sql file. But in one of the functions of my query, the parameter must be provided whenever coz it changes from time to time. So please let me know how I can ask the user to enter the parameter for this single variable whenever it runs the .sql file.

    Kind regards
    Niraj

    Hi, Andrew,

    There is no way to get feedback from a user in PL/SQL or SQL. You must use the tools of front-end for it.

    If your forehead is SQL * Plus, then you can use variables to substitute in the function call. For example:

    SELECT  *
    FROM    table_x
    WHERE   my_function (x, &y, z)  = 0;
    

    stop and ask the user to "report a value to y ' before compiling the query.

    You can also use the SQL * more ACCEPT the command set one as proxy & y.

    I hope that answers your question.
    If this isn't the case, display one complete script (including the tables or functions, other than those feeding by Oracle) that you need, and a sample of the desired output. For example, "If the user enters 1, then the output should be... but if the user enters 5, then it should be...» ».

  • How to remove the %20 of the value of parameter of a vertical sprymenubar link?

    I have a menu bar vertical, but I want to put a link from the menu to a new page where I sent an acros of parameter value.

    Displays the URL:

    http://localhost/Category.php?Category=Digital%20Piano
    

    I want that it displays the following text:

    http://localhost/Category.php?Category=Digital-Piano
    

    That's what the menu looks like

    <ul id="MenuBar2" class="MenuBarVertical">
            <li><a class="MenuBarItemSubmenu" href="Category.php?Category=Digital Piano">Digital Pianos</a>
              <ul>
                <li><a href="#">All digital pianos</a></li>
    
    

    I tried to use str_replace, but that has not worked

    Also I want to make echo the url without the "-" on the home page

    Like this..? PHP echo $_GET ['category'];? > where it displays digital piano rather than Digital-Piano

    I guess I have to encode the category = Digital Piano, but I have no idea where to start

    Hi, Ben thank you for your reply I've actually solved the problem

    Let me show you:

    Demand

     
  • ">Digital Pianos
  • The results page:

    $varCategory_getResults = "-1";
    if (isset($_GET['Category'])) {
      $varCategory_getResults = str_replace('-', ' ',$_GET['Category']);
    

    This replaces the - with a space and will search the DB

    Thanks again for your help and go through it's hard to read and try to help me with my question

    RIA

  • by default the value of: parameter.variable

    If I have some news: parameter.variable,.
    What is the default value?

    COS, I have to make a
    If (: parameter.variable =...)

    Hello

    If nothing is given in the properties, then it will be NULL. You can check with the following code.

         IF :PARAMETER. IS NULL THEN
              MESSAGE('Parameter is Null');
         ELSE
              MESSAGE('Parameter is ' || :PARAMETER.);
         END IF;
    

    Kind regards

    Manu.

  • The values of variables are case-sensitive in Adobe Captivate 9?

    Hello, I was just curious to know if Adobe Captivate 9 user variables values are case-sensitive.

    Yes, they are. AS3 and JavaScript are both case sensitive.

  • get the value of parameter IR


    Hi all

    I wonder if there is the feature to get the IR value selected by the end user for use in queries.

    For example if I have 5 columns, user perform a filter on a column not 4 and I need to use it there select in another query.

    I search on the documentation of APEX_IR, but haven't found too.

    Thank you.

    Gabriel wrote:

    I wonder if there is the feature to get the IR value selected by the end user for use in queries.

    For example if I have 5 columns, user perform a filter on a column not 4 and I need to use it there select in another query.

    I search on the documentation of APEX_IR, but haven't found too.

    Interactive report filter conditions can be retrieved in the APEX_APPLICATION_PAGE_IR_COND view.

  • Please show or ask how to create the value of arrayOfValues of setValuesAtTimes parameter?

    Hello AEScriptComm,

    I have a few small scripts that use the method setValueAtTime successfully placing a keyframe on the existing layers of maskPath, but as you can see in the scripts below, results of setValueSatTimeS errors using IE: "Array is not of the correct type", "value is not an array" or "Null is not an object", depending on ,...

    (A) what variable is used as the value of parameter IE:

    .maskPath;

    . maskPath.value;

    . maskPath.value.vertices

    (B) what kind of table is used as the parameter value as in:

    var addTheseKeys = new Array ((1,2,3,4);    (as a parameter of the time)...

    (with either)

    var keyValues = new Array([10,10],[100,100],[15,50],[100,120]);             ...." ]) "

    (GOLD)

    var keyValues = [[10.10], [100 100], [15.50], [100 120]];                               ... (Array of arrays? RE: " ]] " )

    I just read a 'push' of the values in a table may be necessary?, but I was hoping someone who knew setValuesAtTimes could show it please...

    1) .. How to create the value of arrayOfValues of setValuesAtTimes parameter?

    1 (a): WORK setValueAtTime script...

    App.Project.Item (1) .layer (1).property("Masks").property ("mask 1");

    var app.project.item = myProperty (1) .layer (1) .mask (1) .maskPath;

    myShape = app.project.item (1) .layer (1) .mask (1).maskPath.value;

    myProperty.setValueAtTime(1.0,myShape);

    1 (b): If there is no script setValuesAtTimes...

    prop1 = app.project.item var (1) .layer (1).property("ADBE_Transform_Group").property ("ADBE Position");

    var fourKeys = 4;

    var addTheseKeys = new Array (1,2,3,4),

    var keyValues = new Array (10, [10], [100 100], [15.50], [100 120]);

    var app.project.item = myProperty (1) .layer (1) .mask (1) .maskPath;

    myShape = app.project.item (1) .layer (1) .mask (1).maskPath.value;

    var myVertices = app.project.item (1) .layer (1) .mask (1).maskPath.vertices;

    myProperty.setValuesAtTimes (keyValues, addTheseKeys);

    app.beginUndoGroup ("Keys");

    ~ for (var k = 0; k < fourKeys; k ++)

    //~ {

    ~ prop1.setValueAtTime (keyValues [k], addTheseKeys [k]);

    //~ }

    myProperty.setValuesAtTimes (keyValues, addTheseKeys);

    app.endUndoGroup ();

    .. Thanks for any advise\suggestions,

    J

    (A). maskPath.value; It's always a Shape(). (maskPath is a property, not of a shape on its own, and maskPath.value.vertices is only a part of the shape data).

    (B) nothing of what you propose... that is why your failed script fails.

    var keyValues = new Array([10,10],[100,100],[15,50],[100,120]); and

    var keyValues = [[10.10], [100 100], [15.50], [100 120]]; are just as good as arrays of points, the only thing is that keyValues are arrays of objects Shape().

    Read the guide and script for how to report a form of this post (just wrote it...): http://forums.adobe.com/thread/1419866?tstart=0

    Your keyValues array should look like this: [keyValues0, keyValues1, keyValues2, keyValues3], where each entry is a Shape().

    Xavier.

  • Creation of a value of Type Table set of 'EVERYTHING' as one of the value

    Gurus,

    My requirement is to create value together [table type] which would show the values [LOV] parameter of Conc Progr.
    So far, we have three these values to choose from, they are 'frozen', 'pending' and 'Test '. I managed.
    My question is,
    If the user wants to choose 'ALL' three values, how will welcome him in this game of table type values?
    Give the fourth option as ALL who would finally choose 'ALL' three values 'Frozen', 'Pending' and 'Test '.

    Thanks in advance.
    LDS-

    You can't have the UNION in the set of values.
    Try to create a view, which is to have the UNION with ALL.
    See the following links.
    Game table of values.
    ORA-00907 is missing a closing parenthesis in the value

    By
    VAMSi

  • How to display the values of the component of the shuttle by defaul in shuttle from left

    Hi, I have created part of shuttle through JDeveloper
    and I put all the properties
    It displays on the page

    There are two boxes or shuttle displayed
    one is for the other for selected values containing all of the values

    but in my case bydefault all values are displayed to the right of the box
    I mean, by default all values are selected

    How can I solve this

    HA,

    First remove the entire list of choices associated with definitions of the bean of the shuttle. The same check if it always throws an error.

    View me lookup definition, attribute, definition drop-down list Attriubute view drop-down list.

    Kind regards
    GYAN

  • Case returns the error on the value of type (error-17308)

    Hello

    I have the following problem with TestStand: I use a sequence setting tension on an instrument. The first step in this sequence is to choose the instrument to define. It worked absolutely fine so far. Next, I added a tool to select (called 2602A here). Now, it always works for all instruments, but not for this one. I also tested the Select / Case regardless, he does the same. The error message indicates that the type of my value does not match the type expexted. Yet, the type, as defined in the parameters.instrument is good (see attached photo). I tried with/without reference: same behavior. I tried with/without check Type: same behavior.

    Maybe I can specify that my instrument works very well, I tested the list of instructions under the indendently step case, without any difficulty.

    Any idea? Thank you in advance.

    TestStand:

    TS engine f1 2010 SP1 (4.5.1.144)

    4.5.1.134 sequence editor

    LabVIEW:

    Version 11.0.1f2

    Hello

    Looks like you do a comparison in the "select" for a string type as seen by the value, but the setting for the case is an assessment rather than a string of values to compare to and I can not make sense since he's looking for a game (chained a ternary operator) or returns - 1 - making in this case doesn't make no sense - do in the select to return whereby cases to go.

    The step case type is more than a 1:1 comparison, however, you have already demonstrated, the case itself may be an expression - you must ensure that the expression is returned exactly the correct type, so-1 is not valid, but would be "-1".

    Who is?

    So I tried to replicate this - if I send a pure (as in "2604" string) number when I'm looking for Parameters.Instrument == "2604 A '? '" 2604 A': Parameters.Instrument == "2604 B"? "" 2604B ':-1

    He then drops the default case.

    If I switch 2604 'B' which then activates OK.

    If I pass in "fred" which fails with the error since we were looking for - 1 because it is a number, it does not work.

    If I replace the case expression with:

    Parameters.Instrument == "2604 A '? '" 2604 A': Parameters.Instrument == "2604 B"? "" 2604-B ":"2604 A.

    While expression first only returns a string, so you'll get to the channel currently selected string comparison AND if I get A 2604 or 2604 B then I get a return value that corresponds to the string passed, or get a string that does not match, so the case is not the right one.

    So Don't pass return - 1 = return pass which is valid for this case, but do not match the incoming parameter.

    Thank you

    Sacha

Maybe you are looking for