@HspNumToString () cannot pass the variable as a parameter?

Hi all

I create a rule that uses @HspNumToString () and pass a variable as a parameter.

But it gives error on validation below the code associated with the @HspNumToString function.

Var itemCounter = 1;

...

DIFFICULTY ({UserEntity}, {period}: Dec,@MEMBER (@CONCATENATE ("Item", @HspNumToString (itemCounter))))

...

ENDFIX

and the error message is:

"Error: formula [statement of DIFFICULTY] (line 97) parse error: invalid object type rule.

IF I move a number as a parameter to @HspNumToString (), for example @HspNumToString (2) then the rule will be valid.

Any suggestion?  Calculation Manager version is 11.1.2.4.001

Best regards, Brian

Hello

I'm afraid that's how it is. You cannot use variables of calculation in trouble.

Instead, you can set a static member of this dimension (i.e. "no element") and by your use of calculation an operator cross dimensional to calculate the item desired.

See you soon,.

Alp

Tags: Business Intelligence

Similar Questions

  • How to pass the variable in the table?

    Hello. I try to pass the variable created in RTF and after I enter in the table.

    In RTF:

    <? xdoxslt:set_variable($_XDOCTX,_'var',500)? >

    After the table:
    chart:
    .....................
    < DataValues >
    < RowData >
    [< xsl: for each groupe-select=".//ROW[Edad16]" group by = "Edad16" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" > ".
    < cell >
    xdoxslt:get_variable($_XDOCTX,_'var')
    < / cell >
    < / xsl: for each group->
    < / RowData >
    < RowData >
    [< xsl: for each groupe-select=".//ROW[Edad16]" group by = "Edad16" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" > ".
    < cell >
    50
    < / cell >
    < / xsl: for each group->
    < / RowData >
    < / DataValues >
    < / LocalGridData >
    < / chart >

    And it isn´t work :-(

    Any ideas?

    Hi, Benito,.

    It wil work

     
    
  • &lt; critical &gt; &lt; WebLogicServer &gt; &lt; BEA-000254 &gt; &lt; cannot pass the user "psoftusr".

    Hi all.

    have a customer problem with permission to userid where they get an error in the application of patches.

    It's customers comment:

    We suspect that our psoftusr of the user who starts the Web server on a port higher than 1024 doesn't have the correct permissions to start
    without getting the error

    August 30, 2008 9:16:41 CEST > < critical > < WebLogicServer > < BEA-000254 >
    < cannot pass the user "psoftusr". java.lang.IllegalArgumentException: cannot initgroups(3) ("psoftusr"), system error: "no owner".



    problem is that once I go into the Admin Console and change the settings to enable the liaison post UID.

    After all I change the default page I have no problem.


    CT needs to know what permissions are psoftusr must have to be able to get rid of this error message?
    psoftusr is the id used to install the software in the first place.


    so far, the file permissions are set correctly in the LDAP directory.


    any thoughts...
    Thank you
    t

    CT is about PTools 8.49 and BEA_home is not under PS_Home, it would make everything about the difference in access to this user name?
    CT does not see the House under the envsetup (UNIX) BEA? How can they add that, to be part of the env? Maybe this could be one of the reasons...
    THX

  • How to pass the variable to bind page ADF view object

    Would appreciate your help on this.
    Set up a view with a variable binding object: param1 in where clause.
    I want to pass the value of the variable to link from a page of the ADF (.jspx)

    I know that one Option using executeWithParams() method binding in the ADF page.
    But, I want to pass a pageFlowScope parameter (which is already set when loading the page) to the variable binding VO, and the VO should also display the results filtered on the page the first time itself.

    Could someone help me understand with a code, how to achieve the same. (Is there a groovy expression to access the param pageflowscope?)

    Thank you

    Published by: user5381160 on August 12, 2010 20:01

    You should also consider dragging operation executeWithParams on your workflow and of wiring to occur before your page instead of in the definition on the page itself - so it is more clear what is happening and is the approach recommended for 11 g applications. When drag-and you - drop operation, you can use the dialog box bind the parameter to your page flow - scope variable by providing the good EL there.

    There is no expression Groovy in the model layer to access the workflow variable scope page (which is in the controller layer) because this would violate the separation of concerns inherent in an MVC application.

    John

  • How to pass the Visa Resource Name parameter to labview dll in labwindows/cvi

    Hello world

    I build a dll of labview, the prototype is: double getchannelpower (double f, uintptr_t * VISAResourceName);

    I don't know how to go from VISAResourceName to this function.

    Is it related to the ViPSession paremeter in function viOpen(REES ViSession, rn ViRsrc, ViAccessMode am, ViUInt32 ti,ViPSession vi)?

    BRs,

    lotusky

    Hey, guys:

    I figured out how to pass the parameter.

    In labview, you must replace the control of visa with string control. In this way, the generated dll function at the entrance of the string type.

    I hope this will help others!

    lotusky

  • Cannot use the variable in the Interface.

    Hello

    I create a variable in the reference to 11g odi below

    V_name = FTClient

    DataType = alphanumeric

    default value = "BANK 1"

    I create a filter on the source table to pull records only for 1 BANK and talk CELL_SRC_TBL1. CLIENT = #FTClient in the filter.

    But when I try to execute its error display interface.

    "Caused by: java.sql.SQLSyntaxErrorException: ORA-00936: lack of expression.

    Thank you

    Paul

    You use ODI 11? If so the name of the variable must bee all uppercase and when you pass too!

    I hope this can help you!

  • If it is possible to pass the variable of type table in sceduler.

    Hello

    need to schedule a task to call a procedure but procedure a array as a parameter.

    Let me know we can pass the type of object as a parameter in the Scheduler.

    procedure definition: procedure (number, varchar2, ch. pakage.table_type b)

    I don't think that you can do with a PL/SQL type in a package, but you can do it with a SQL type, as shown below.

    Scott@orcl12c > test_tab CREATE TABLE

    2 (col1 NUMBER,

    VARCHAR2 (30) 3 col2.

    col3 4 VARCHAR2 (30))

    5.

    Table created.

    Scott@orcl12c > CREATE or REPLACE TYPE table_type AS TABLE OF VARCHAR2 (30);

    2.

    Type of creation.

    Scott@orcl12c > test_proc CREATE OR REPLACE PROCEDURE

    2 (a NUMBER;

    3B VARCHAR2,

    4 c. table_type)

    5 AS

    6 BEGIN

    7 BECAUSE I have 1... c.COUNT LOOP

    8 INSERT INTO test_tab (col1, col2, col3) VALUES (a, b, c (i));

    9 END OF THE LOOP;

    10 END test_proc;

    11.

    Created procedure.

    Scott@orcl12c > SHOW ERRORS

    No errors.

    Scott@orcl12c > START

    2 DBMS_SCHEDULER. CREATE_JOB

    3 (job_name-online 'test_job',

    job_type 4-online "procedure_stockee."

    5 job_action-online 'test_proc. "

    6 number_of_arguments-online 3);

    7 DBMS_SCHEDULER. SET_JOB_ARGUMENT_VALUE

    8 (job_name-online 'test_job',

    argument_position 9-online 1.

    argument_value 10-10 online);

    11 DBMS_SCHEDULER. SET_JOB_ARGUMENT_VALUE

    12 (job_name-online 'test_job',

    13 argument_position-online 2

    14 argument_value-online 'test');

    15 DBMS_SCHEDULER. SET_JOB_ANYDATA_VALUE

    16 ("test_job", 3, sys.anydata.convertCollection (table_type ("Oracle", "database")));

    17 DBMS_SCHEDULER. SELECT ("test_job");

    18 END;

    19.

    PL/SQL procedure successfully completed.

    Scott@orcl12c > DBMS_LOCK EXEC. SLEEP (5)

    PL/SQL procedure successfully completed.

    Scott@orcl12c > SELECT * FROM test_tab

    2.

    COL1 COL2 COL3

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

    10 test Oracle

    test 10 database

    2 selected lines.

  • by passing the variable char in the sliders

    HI I try to move the tank for the cursor variable, but it is not taking, if I hardcode the values of the slider that he takes

    Here's detailed... any body can say why it is not taken and tell me how to pass the values through it...

    declare
    v_Name tank (6);
    cursor c1 (c_name tank) is
    Select name, parent, child, relationship status
    First name = '% '.
    Connect prior parent child =
    Union
    Select name, parent, child, relationship status
    First name = '% '.
    connect by prior child = parent
    order by 2;
    v_c1 c1% rowtype;
    Start
    v_Name: = ('A');
    Open c1 (v_name); - here the value of v_name does not... If like hard-code open c1('c'); then work... I need to pass - value not hardcode
    Fetch c1 in v_c1;
    dbms_output.put_line (v_Name);
    dbms_output.put_line (' name ' |' parent ' |' child ' | ' status "");
    While c1%
    loop
    dbms_output.put_line (v_c1.name |) » '|| v_c1.parent | | » '|| v_c1. Child | | » '|| v_c1. Status);
    Fetch c1 in v_c1;
    end loop;
    Close c1;
    en

    Try it with a varchar2 variable (6)

    declare
    v_name varchar2(6) ;
    cursor c1(c_name varchar2) is
    select name, parent,child,status from relation
    start with name='%'
    connect by prior parent=child
    union
    select name, parent, child , status from relation
    start with name='%'
    connect by prior child=parent
    order by 2;
    v_c1 c1%rowtype;
    begin
    v_name :=('A');
    open c1(v_name);---Here the v_name value is not taking.. if hardcode like open c1('c') ; then working.. i need to pass -- value not hardcode
    fetch c1 into v_c1;
    dbms_output.put_line(v_name);
    dbms_output.put_line('name '||'parent '||'child '||'status ');
    while c1%found
    loop
    dbms_output.put_line(v_c1.name||' '||v_c1.parent||' '|| v_c1.child||' '||v_c1.status);
    fetch c1 into v_c1;
    end loop;
    close c1;
    end
    
  • Captivate 8 javascript error cannot find the variable cp

    I created a responsive project with Captivate 8 trial (windows).  The presentation will be to load and play locally, but when you go from a server, the presentation hangs on the preloader. He won't play in any browser. Safari on Mac Error Log shows the following errors:

    Cannot find variable cp

    Error /Du file / line
    cpInitindex.html: line 17
    initializeCPindex.html: line 25
    constructDIVsindex.html: line 59
    (anonymous function)index.html: line 71
    bCPXHRLoader.js: line 37
    (anonymous function)CPXHRLoader.js: line 37

    A patch would be appreciated to Adobe.  We are trying to launch a project of e-learning of Captivate on July 31, 2014.

    After reading blog after blog, I discovered the Captivate team changed the variable "cc" to "CP" in the API.  With the previous version of Captivate installed 7 caused the error for the variable javascript missing "cp".  Uninstall the previous version of Captivate and publish the presentation, once again resolved the conflict.

  • Pass the object as a parameter to a method by dragging to the user interface

    Hello

    I use datacontrol webservice to call "Webservice secure." A datacontrol method and he fell in the UI, it passes an object (for example, the SOAHeader object) as an input parameter and returns "String" as an output. So, here I created a passing and java class as an object to the method. When I deployed the application in the Android emulator, clicking on this method as a button, his throws me an error message * "" HTTPStatusCode 500: the server encountered an unexpected condition which prevented him from meeting demand "*." I tried to configure the debugger to get log for remote deployment, after that the application itself is not opening in the emulator. So how can I find the exact reason of this error message?

    Here, I had some doubts,
    (1) is the right way to pass the object as an input method parameter?
    (2) how can I call web service secured via 'Webservice datacontrol' in ADF Mobile. I searched in google and received a link by Sonia "http://andrejusb.blogspot.be/2012/11/adf-mobile-secured-web-service-access.html", but not understanding on "* adfCredentialStoreKey *", what is it? and how do I use it? I have defined strategies for security, as mentioned, is - it enough to call Web services secure without giving name of user and password? Bit confused, can someone please tell me more about access to the secure of webservice webservices datacontrol.
    (3) I tried to configure the option of debugging (as mentioned in the developer's guide) to get the log of remote deployment. I changed * "java.debug.enabled = true" * in cvm.properties. Once this configuration, can't open this mobile application through the emulator. What could be the reason?


    Concerning
    REDA

    Take a look at this:
    https://blogs.Oracle.com/Shay/entry/calling_web_service_with_complex

  • How to pass the variable in the lov using like operator SQL

    Hello.
    I want to use a lov I pass a variable using like operator.
    my query is
    Select empno, name of the table where empno as ': ed %';

    I want to show a % or B empno % so my empno is A001 to A199 AND B001 to B199
    How can I do this?


    regards

    Set the property default_where to the block and run the query

    set_block_property ('myblock ', default_where,' like upper (Ename)' |: mybind |) » %');

  • How to pass the variable to a swf into another swf

    I declared a variable in the one.fla file

    I open another file swf on a button.

    the code is as follows

    name = 'personName ';

    myButton.onRelease = function () {}

    trace ("liberation" + name);     personName

    loadMovie ("mainPage.swf", _root);

    _root.loadMovie ("mainPage.swf");

    }

    I want the variable 'name' of access to another swf file. IE (mainPage.swf)

    How do I do that?

    You want to use the MoveClipLoader class (using loadClip() and addListener methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it.  You can create an empty movieclip to load the SWF in, and in this way the loaded file can be targeted using the empty movieclip instance name.

  • by passing the variables or targeting aray instance



    I can enter the variable in Pages.as now, but the charger will not "recharge" hen is click on the button...

    Stayed in it for too long and could use some help. Thanks in advance to anyone out there with a bone to throw away a newbie.

    God is in the details.

  • How to pass the variable in a procedure as parameter

    CREATE OR REPLACE PROCEDURE APPS. "" QFJS_LMO_TIMESLOT_PROC ".
    (
    a_std IN VARCHAR2,
    TYPE str_table IS TABLE OF CLOB directory INDEX;
    timeStr OUT str_table;

    )

    It's in error!

    Help, please!

    That's what you're looking for? (you can also create the type of your database)

    CREATE OR REPLACE PACKAGE APPS.MY_PACKAGE AS
      PRAGMA SERIALLY_REUSABLE;
    
      TYPE str_table IS TABLE OF CLOB INDEX BY BINARY_INTEGER;
      PROCEDURE "QFJS_LMO_TIMESLOT_PROC"(a_std             IN VARCHAR2,
                                         post_std          IN VARCHAR2,
                                         a_time            IN VARCHAR2,
                                         post_hc           IN NUMBER,
                                         pre_hc            IN NUMBER,
                                         ods_schedule_date IN DATE,
                                         timeStr           IN OUT str_table);
    END MY_PACKAGE;
    /
    CREATE OR REPLACE PACKAGE BODY APPS.MY_PACKAGE IS
      PRAGMA SERIALLY_REUSABLE;
    
      PROCEDURE "QFJS_LMO_TIMESLOT_PROC"(a_std             IN VARCHAR2,
                                         post_std          IN VARCHAR2,
                                         a_time            IN VARCHAR2,
                                         post_hc           IN NUMBER,
                                         pre_hc            IN NUMBER,
                                         ods_schedule_date IN DATE,
                                         timeStr           IN OUT str_table) IS
    v_clob clob;
    
      BEGIN
        FOR i IN 1 .. timeStr.COUNT LOOP
          v_clob := timeStr(i);
          -- ...
        END LOOP;
      END "QFJS_LMO_TIMESLOT_PROC";
    BEGIN
      NULL;
    END MY_PACKAGE;
    /
    
    BEGIN
      APPS.MY_PACKAGE.QFJS_LMO_TIMESLOT_PROC('1','2','3',4,5,sysdate,APPS.MY_PACKAGE.str_table('clob1', 'clob2', 'clob3'));
    END;
    / -- Hugs, Philips
    
  • Pass the variable to the embeded swf format

    Hello

    I have a flash movie that uses a loader to load another flash animation. How can I pass variables from one film to the other, without using global variables?  For any help or suggestion would be greatly appreceated.

    If you load another as3 swf, you can reference variables using the correct path.  the main scenario for the loaded swf file is the property of content of your charger (cast as a movieclip).

    If you load an as2 swf, you must use localconnection to communicate between the two rulers.

Maybe you are looking for