Using multiple value presentation variable in a formula

I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )

Michael Nichols wrote:
I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )I don't have 11g so this is a shot in the dark. Try something like this:
FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" IN ('@{deptname}{Sociology}'))

Similar Messages

  • How to make use of the presentation variable in SQL result query

    I have 2 prompts in my dashboard.
    Prompt1 decides the values of Prompt2.
    I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
    To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
    SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
    the query is resulting into
    SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
    but the value in selected_comp is "ABC".
    Can anybody help in how to make use of the presentation variable in query to get the correct value
    thanks
    Shubha

    Just use constrain check box to filter your 2nd prompt values based on the 1st prompt.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • How to use default values of variables when data get varied

    Hi Expert,
    I want to use default value of variables var1.
    for eg. if variable length is 20 char and value is abc , then i want to fill var1 by default 20 ( after printing abc value remaining length i.e.17 should be taken by var1 means total length 20 should be occupy by var1.)
    plz reply
    Regards,
    Jyotsna

    Hello Jyotsna,
    I dont really understand the example you have quoted. Can you elaborate your example?
    Vikranth

  • Presentation variable in column formula issue

    Hi,
    I'm having an issue about putting a presentation variable in a column formula. I'm using obiee 11.1.1.7.141014
    I'm adding a text in a formula column where I use two presentation variables: pPeriodo and pAno
    pPeriodo invoques the month selected in a prompt and pAno the year. I have to compare different years, so in one member I use @{pAno} when is the selected year and @{pAno-1} when is the prior year.
    The result of this (please see the header of the 2nd column):
    The problem is when Icompare to next years. So my issue happens when I do an addition to the presentation variable: @{pAno+1}
    It doesn't do the sum; it concatenates the value as you can see in the following images
    If anyone have a workaround about this, please share.
    Regards,
    Miguel

    Hi Joven
    Try @{pAno}+1 instead of @{pAno+1}
    Regards
    Rajagopal

  • Date Prompts Issue using Calender and Presentation Variables

    Hi All,
    This is what the requirement is...
    I need to create a two prompts (from_date and to_date) on a date column so that I can filter the data using a between condition. This is how I am doing
    I have created two prompts (edited the formula) and passing the values to two presentation variables var_from and var_to. And in the report I am limiting the request on the using between operartor for both the presentation variable. Everything is working fine but the issue is that I need to display var_from and var_to in my report also.
    I am referencing both the variables as '@{var_from}' and '@{var_to}' but I am getting both the columns as blank. I am really not sure why I am getting blank values for both these columns only when I am able to filter my report successfully on the basis of date values in the prompts ...
    Just to metion ..in my database I have values in the format m/d/yyyy only. Hence I am able to use the calender successfully
    Any help on this would be much appreciated...
    Thanks
    -Ronny

    Ronny,
    Are you seeing blanks in answers ? Id expect this, but on the dashboard, when you set the filters , you should see the values coming through?
    You can extend the syntax of the pres variable and provide a default value, so when working in answers you can see what it looks like,
    something like @{var_from}{'01-Jan-2010'}
    Also you can reference the variables in the title, subtitle or narrative views if you wish.

  • Multiple Values in Variable.

    How can I assign multiple values to one variable in rpd?
    Say I want 'NY', 'CA', 'IL', 'TX' states in one variable, is that possible? if so how?
    Thanks.

    The session variable, NQ_SESSION.STATE, is defined as Row-Wise Initialization. It is restricted to usage with equality comparisons you receive because you cannot set default value as long as row wise session variable has multiple values and it does not make any sense to set default value, so if you test it in RPD the results is like:
    STATE State1
    STATE State2
    STATE State3
    STATE State4
    Therefore it can be used only in the filter (equality comparisons).
    If you say, for example:
    select 'CATEGORY', prod_category from
    (select distinct prod_category from sh.products)
    where prod_category='Peripherals and Accessories'
    Row wise STATE get only one value and you can use it as default to the dashboard prompt or in Answers edit column formula, otherwise not.
    In your example:
    (SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE) FROM ***) END)
    VALUEOF(NQ_SESSION.STATE) has multiple values, so if want to set one of that value as default use another init session variable block to set only one of these values like:
    select 'STATE_DEFAULT', state from dim-locations where state ='NY'
    or just hardcode it in the RPD because you said that you don't want that it shows up for external user in the dashboard prompt (like you hardcode 'FL') and then put it in the default part:
    SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE_DEFAULT) FROM ***) END)
    Regards
    Goran
    http://108obiee.blogspot.com

  • Using multiple values in a where clause, for values only known at runtime

    Dear all
    I am creating a PL/SQL program which returns multiple rows of data but only where it meets a set id values that a user has previously chosen. The id values are stored in an associative array and are chosen by a user in the preceding procedure at run time.
    I know all the table and column names in advance. The only things I don't know are the exact number of ids selected from the id column and what their values will be. This will only be known at runtime. When the procedure is run by the user it prints multiple rows of data to a web browser.
    I have been reading the following posting, which I understand to a large extent, Query for multiple value search But I cannot seem to figure out how I would apply it to my work as I am dealing with multiple rows and a cursor.
    The code as I have currently written it is wrong because I get an error not found message in my web browser. I think the var_user_chosen_map_list_ids in the for cursor loop could be the problem. I am using the variable_user_chosen_map_list_ids to store all the id values from my associatative array as a string. Which I modified from the code that vidyadhars posted in the other thread.
    Should I be creating a OPEN FOR ref cursor and if so where would I put my associative array into it? At the moment I take the value, turning it into a string and IN part in the WHERE clause holds the string, allowing the WHERE clause to read all the values from it. I would expect the where clause to read everything in the string as 1 complete string of VARCHAR2 data but this would not be the case if this part of the code at least was correct. The code is as follows:
    --Global variable section contains:
    var_user_chosen_map_list_ids VARCHAR2(32767);
    PROCEDURE PROCMAPSEARCH (par_user_chosen_map_list_ids PKG_ARR_MAPS.ARR_MAP_LIST)
    IS
    CURSOR cur_map_search (par_user_chosen_map_list_ids IN NUMBER)
    IS
    SELECT MI.map_date
           MT.map_title,
    FROM map_info MI,
         map_title MT,
    WHERE MI.map_title_id = MT.map_title_id
    AND MI.map_publication_id IN
    (var_user_chosen_map_list_ids);
    var_map_list_to_compare VARCHAR2(32767) := '';
    var_exe_imm_map VARCHAR2(32767);
    BEGIN
    FOR rec_user_chosen_map_list_ids IN 1 .. par_user_chosen_map_list_ids.count
    LOOP
       var_user_chosen_map_list_ids := var_user_chosen_map_list_ids ||
       '''' ||
       par_user_chosen_map_list_ids(rec_user_chosen_map_list_ids) ||
    END LOOP;
    var_user_chosen_map_list_ids := substr(var_user_chosen_map_list_ids,
                                            1,
                                            length(var_user_chosen_map_list_ids)-1);
    var_exe_imm_map := 'FOR rec_search_entered_details IN cur_map_search
    LOOP
    htp.print('Map date: ' || cur_map_search.map_date || ' Map title: ' || cur_map_search.map_title)
    END LOOP;';
    END PROCMAPSEARCH;EXECUTE IMMEDIATE var_exe_imm_map;
    I would be grateful of any comments or advice.
    Kind regards
    Tim

    I would like to thank everyone for their kind help.
    I have now successfully converted my code for use with dynamic SQL. Part of my problem was getting the concept confused a little, especially as I could get everything work in a static cursor, including variables, as long as they did not contain multiple values. I have learnt that dynamic sql runs the complete select statement at runtime. However even with this I was getting concepts confused. For example I was including variables and the terminator; inside my select string, where as these should be outside it. For example the following is wrong:
         TABLE (sys.dbms_debug_vc2coll(par_user_chosen_map_list_ids))....
    AND MI.map_publication_id = column_value;';Where as the following is correct:
         TABLE (sys.dbms_debug_vc2coll('||par_user_chosen_map_list_ids||'))....
    AND MI.map_publication_id = column_value';PL/SQL is inserting the values and then running the select statement, as opposed to running the select statement with the variables and then accessing the values stored in those variables. Once I resolved that it worked. My revised code is as follows:
    --Global variable section contains:
    var_user_chosen_map_list_ids VARCHAR2(32767);
    var_details VARCHAR(32767);
    PROCEDURE PROCMAPSEARCH (par_user_chosen_map_list_ids PKG_ARR_MAPS.ARR_MAP_LIST)
    IS
    BEGIN
    FOR rec_user_chosen_map_list_ids IN 1 .. par_user_chosen_map_list_ids.count
    LOOP
       var_user_chosen_map_list_ids := var_user_chosen_map_list_ids ||
       '''' ||
       par_user_chosen_map_list_ids(rec_user_chosen_map_list_ids) ||
    END LOOP;
    var_user_chosen_map_list_ids := substr(var_user_chosen_map_list_ids,
                                            1,
                                            length(var_user_chosen_map_list_ids)-1);
    var_details := FUNCMAPDATAFIND (var_user_chosen_map_list_ids);
    htp.print(var_details);
    END PROCMAPSEARCH;
    FUNCTION FUNCMAPDETAILS (par_user_chosen_map_list_ids IN VARCHAR2(32767)
    RETURN VARCHAR2
    AS
    TYPE cur_type_map_search IS REF CURSOR;
    cur_map_search cur_type_map_search;
    var_map_date NUMBER(4);
    var_map_title VARCHAR2(32767);
    begin:
    OPEN cur_map_search FOR
    'SELECT MI.map_date,
           MT.map_title
    FROM map_info MI,
         map_title MT,
         TABLE (sys.dbms_debug_vc2coll(' || par_user_chosen_map_list_ids || '))
    WHERE MI.map_title_id = MT.map_title_id
    AND MI.map_publication_id = column_value';
    LOOP
    FETCH cur_map_compare INTO
    var_map_date,
    var_map_title;
    var_details := var_details || 'Map date: '||
                        var_map_date ||
                        'Map title: ' ||
                        var_map_title;
    EXIT WHEN cur_map_compare%NOTFOUND;
    END LOOP;
    RETURN var_details;
    END FUNCMAPDETAILS;Kind regards
    Tim

  • Can I use multiple values for a rollup key on the same Endeca record?

    We have a business need to to aggregate our records using different criteria, based on user navigation. We are thinking of using a rollup key with multiple values to help with the aggregation, but we are running into some issues.
    Here is a made-up xample of what we want to do: assume we have a group of products and these products can be organized into groups using parent-child relationships. We would like to create an aggregate record for each parent, and we want the aggregate record for each parent to include all the children for the parent. To achieve this, we use a field called "parent_rec_spec" that holds the parent record spec and we set the same value on the field for the parent and its children. When we do rollup using the parent_rec_spec as the rollup key, we are able to see one aggregate record for each parent (with its children).
    The previous setup worked perfectly for us so far. But now we are getting a business requirement that allows children nodes to be linked to multiple parents at the same time. We were hoping of using another dimension to limit the records based on user roles/characteristics , so that only applicable parents/children are displayed (for example, we can use "market" as an additional filtering property, and we decide to show all parents/children for "North America", while hiding the parents/children for other markets).
    This caused an odd behavior when children are linked to multiple parents. For example, assume that SKUs A and B were linked to parents in "North America" and "Europe" at the same time, and assume that the user chose the "North America" market. The navigation state would eliminate the parents/children that are no in North America, and will also cause the parents/children that are labeled for North America to show up and be aggregated correctly. This however will lead to the creation of additional aggregate records for the A and B using the parent_rec_spec values that would have linked them to the Europe parents (even though the parents are hidden away).
    Here is an example index file that we used to load the test data:
    Update||1
    Market||North America
    Record Type||Product
    Name||Parent 1
    rec_spec||P1
    parent_rec_spec||P1
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Parent 2
    rec_spec||P2
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Record Type||Product
    Name||Child A
    rec_spec||A
    parent_rec_spec||P1
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child B
    rec_spec||B
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child C
    rec_spec||C
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Child D
    rec_spec||D
    parent_rec_spec||P2
    EOR
    In this setup, we have parent P1 marked for North America with children A, B and C, and parent P2 marked for Europe with B, C and D as children. When we use North America as a filter in the navigation state, and parent_rec_spec as the rollup key, then we will see an aggregate record for P1, A, B and C. But we will also see an aggregate record for B and C by itself (presumably because of the other parent_rec_spec value on these records).
    The actual data that we are testing with is more complicated, but the end result is similar. We also noticed that the additional aggregate records would not be created always, depending on the ordering of the records.
    The question that I need help with is this: is there a way to fine tune the rollup logic so that it can only include certain records (in the example above, we can change the rec_spec from PA and PB to PA_North_America and PB_Europe and then we would be interested in rolling up using values that end with NorthAmerica).
    By the way, we considered using separate rollup keys for each context (like parent_rec_spec_north_america and parent_rec_spec_europe), but the number of contexts is dynamic, and might grow large. So it is not easy for us to create the additional properties on the fly, and we are concerned about the possible large number of dimensions.

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1157850

  • Presentation variable in column formula errors out

    Hi
    I have a date column which should have 2 presentation variables. From date and To date. I created a dashboard prompt on the date column twice with case statements like CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE TIMESTAMP '1900-01-01 00:00:00' END . Now i have 2 presentation variables FromDate and Todate for the user to select. I have referenced this in the report using a filter with the condition " date between @{FromDate}{1900-01-01 00:00:00 AM} and @{ToDate}{1900-01-01 00:00:00 AM}
    Now i have a column in the report which has a case statement with the following conditions
    CASE WHEN "Dim - Pay Info"."Status Cd" = 'ROC' AND TIMESTAMPADD(SQL_TSI_DAY, -1, @{FromDate}{1900-01-01 00:00:00 AM}) THEN 'Outstanding' --- the condition here is take off a date from the FromDate selected
    WHEN "Dim - Pay Info"."Status Cd" = 'ROC' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Current Month'
    WHEN "Dim - Pay Info"."Status Cd" = 'RCK' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Purged'
    WHEN "Dim - Pay Info"."Status Cd" = 'CLR' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Reconciled'
    WHEN "Dim - Pay Info"."Status Cd" in ('VOID', 'CNCL') AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Void or Cancel'
    END
    When i use this i always get a syntax error. Could you please pont me where i am going wrong?
    Thanks

    user9126483 wrote:
    Hi
    I have a date column which should have 2 presentation variables. From date and To date. I created a dashboard prompt on the date column twice with case statements like CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE TIMESTAMP '1900-01-01 00:00:00' END . Now i have 2 presentation variables FromDate and Todate for the user to select. I have referenced this in the report using a filter with the condition " date between @{FromDate}{1900-01-01 00:00:00 AM} and @{ToDate}{1900-01-01 00:00:00 AM}
    Now i have a column in the report which has a case statement with the following conditions
    CASE WHEN "Dim - Pay Info"."Status Cd" = 'ROC' AND TIMESTAMPADD(SQL_TSI_DAY, -1, @{FromDate}{1900-01-01 00:00:00 AM}) THEN 'Outstanding' --- the condition here is take off a date from the FromDate selected
    WHEN "Dim - Pay Info"."Status Cd" = 'ROC' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Current Month'
    WHEN "Dim - Pay Info"."Status Cd" = 'RCK' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Purged'
    WHEN "Dim - Pay Info"."Status Cd" = 'CLR' AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Reconciled'
    WHEN "Dim - Pay Info"."Status Cd" in ('VOID', 'CNCL') AND "Dim - Pay Warrant Date"."CAL_DT" IS BETWEEN @{FromDate}{1900-01-01 00:00:00 AM}, @{FromDate}{1900-01-01 00:00:00 AM} THEN 'Void or Cancel'
    END
    When i use this i always get a syntax error. Could you please pont me where i am going wrong?
    What is the syntax error? If you make people have to guess or to examine intensely what you wrote, many will pass on your question, which I don't doubt people did.
    Rather than dive into your syntax, read this blog entry by Venkat which perfectly describes how to build and use date prompts with BETWEEN, including the syntax of wrapping your date prompts with single quotes.
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • How to update and use the values of variables of another class

    I can we update or use the values of the variables of another class. For example, if we have class A
    public class A //(situated in package view)
    public s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp?alert=F");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    A.class has some procedures and String variables which can be updated and later can be used in JSP pages. The project starts with ARunner.jsp which uses the A.class and updates the values of string variables s0 and s1of A to hi and hello respectively.And then redirects the page to MainUser.jsp.
    Now what I want is ,when I call those string variables(s0 & s1 of A.class) in any another jsp likeMainUser.jsp it should give me the value of hi and hello respectively not null as it is giving right now. Could you refine the coding for this one?

    public class A //(situated in package view)
    public String s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    giving code again to remove the typing errors. Please guide.

  • Using multiple values of APPDIR

    Hello Team,
    I have a new requirement whose explanation is below:
    Prepare a UBBCONFIG/TUXCONFIG file in such a way that for each server Tuxedo first pick up the EXE from location */appdev1/bin* . If EXE is not found at first location then it should look into other location i.e */appdev2/bin*. If EXE not found in second location also then look for third location and so on.
    Basically it seems to use different values for APPDIR without hardcoding absolute path in SERVERS section.
    Please suggest me your valuable thought to implement this ?
    Regards,
    Rakesh

    Hi Rakesh,
    From the Tuxedo documentation on the *SERVERS section of the UBBCONFIG:
    >
    where AOUT specifies the file (string_value) to be executed by tmboot(1). tmboot executes AOUT on the machine specified for the server group to which the server belongs. tmboot searches for the AOUT file on its target machine. Thus, AOUT must exist in a filesystem on that machine. (Of course, the path to AOUT can include RFS connections to filesystems on other machines.) If a relative pathname for a server is given, the search for AOUT is done first in APPDIR, then in TUXDIR/bin, then in /bin, and then in path, where path is the value of the last PATH= line appearing in the machine environment file, if one exists. The values for APPDIR and TUXDIR are taken from the appropriate machine entry in the TUXCONFIG file. See ENVFILE in the MACHINES section for a more detailed discussion.
    >
    So you should be able to set the PATH environment variable in the machine's environment file and get the desired behavior.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to use multiple values in an IF condition in RTF

    Hi,
    I have a scenario as mentioned below.
    IF column value in ('A','B')
    display C;
    end if
    IF column value not in ('A','B')
    display D;
    end if
    My query is how to provide multiple values in an IF condition.?
    Thanks,
    Anand

    But suppose "x.jar" needs a library from "y.jar". How do you put another JAR on the classpath of an applet in a Web page?
    <applet code="z.class" archive="a.jar,b.jar,c.jar">

  • RPD: How to use multiple-value variables in initialization blocks ?

    Hi all,
    I have a set of initialization blocks required for authentication, two of which are running row-wise. The first one sets a multi-valued variable, and the second one uses this variable.
    Or at least, should use, because it actually fails. The NQServer log says
    [nQSError: 13011] Query for Initialization Block 'My_Init_Block_2' has failed.
    [nQSError: 23006] The session variable, NQ_SESSION.MY_VAR_1, has no value definition.
    My first variable is initialized in a basic row-wise initialization block. What's more, if I say my 2nd block isn't required for authentication, and I read in a narrative the contents of my first variable, it contains the set of value I expect it to have.
    can anybody please advise?
    thanks in advance!
    Cedric..

    There is an example in the OBIEE Server Administration manual that looks very similar to your code except that the whole of the valueof string is quoted:
    select
    NAME, VALUE from RW_SESSION_VARS
    where USERID='VALUEOF(NQ_SESSION.USERID)' {code}<br /><br /><br /><br />Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Populating multiple values in variable and accessing it in FOX

    Hi Experts,
    In one of my requirement, I have restricted a default value in the variable within modeler filter. The properties of variable are:
    Manual Entry/Default Value, multiple single values, optional, and not ready for input.
    I will need to access this variable in customer exit for Global Variables code (ZXRSRU01) and populate some values based on certain logic in a different variable (processed by customer exit). I will have to access this customer exit variable in FOX.
    I want to understand whether the above mentioned linkage between FOX and cusotmer exit code is possible and further will I be able to access the customer exit variable values through VARC and VARI functions supported by FOX.
    Appreciate if some one can post a document or link.
    Thanks in advance,
    Pankaj.

    Hi,
    please check:
    [http://help.sap.com/saphelp_sem40bw/helpdata/en/5d/12a0386de311d4b2f40050dadfb23f/content.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/EN/47/8776aa5129500be10000000a421937/frameset.htm]
    Try using VARV, VARC and VARI and loops.
    Hope this helps.
    Regards Matthias

  • Filtering a sharepoint 2010 list using Multiple values from Multi-Select Filtering In Infopath 2010 form

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

Maybe you are looking for