Session variable in obiee 10g

Hi i have requirement like this i would like to display the Ename, empno, Hiredate, leavedate,salary. Here i would like to pass the session variable for the salary column which returns multiple values and the report should change based on the date i am selecting from the prompt.
EX: Let's say from the prompt if select hiredate this date should pass into the report and the session should change.
I have created session intiallization block and for the target i have selected row wise.
select 'var1', salary from emp where hiredate<='VALUEOF(NQ_SESSION.var1)' .
But in the answers when i passed this 'var1' for the salary column it says no value for the 'var1'. please let me know how to pass session variable when we have selected the target as row-wise.
Thank you,
ch.

Finally got population of the WEBGROUPS variable work (using row-wise initialization with caching turned off)...
but now I see that if I remove a group from my table, they are not "unassociated" with the web catalog group. The group still "sticks" there.
Thoughts?
-John

Similar Messages

  • Populating WEBGROUPS (or GROUPS) session variable in OBIEE 10g

    We have a user who wants to verify that group-based permissions to various reports he's creating work as expected.
    Initially, he wanted a user account per group, but as we try to enforce LDAP-based authentication, we have a policy against so many "generic" (non-LDAP) logins. It would also mean 40+ logins to manage.
    So we considered one user account and allow him to join/leave different catalog groups, however, despite what the Oracle doco says, this requires Presentation Server Admin rights, which we can't justify giving him.
    So, I thought populating the WEBGROUPS using row-wise initialization and a database table might work. No luck so far.
    Am I barking up the wrong tree?
    Any other thoughts on how to achieve this?
    Thanks,
    John

    Finally got population of the WEBGROUPS variable work (using row-wise initialization with caching turned off)...
    but now I see that if I remove a group from my table, they are not "unassociated" with the web catalog group. The group still "sticks" there.
    Thoughts?
    -John

  • Alternative for session variable in OBIEE Translation

    Hi all,
    I am working on translating OBIEE reports to various languages. I am using specific xmls for particular language which has entries for translated text.
    Now in few of the reports I have case statements/BINs defined in column formula. This 'column formula' content is not a part of xml and hence not getting translated.
    One of the solution that i found was use of language specific session variable defined in rpd. When user logins with specific language, corresponding translated text is provided by session variable. This approach was correct and is working fine.
    But the problem is in few of my reports there are about hundreds of such case statements and hence thousands of texts to be translated for each particular language. hence it is a cumbersome task to define session variable for each of these column formula. Plus I am not sure about the performance issue that will be there after defining thousands of such session variables.
    Is there any alternative available for use session variable in OBIEE translation? Please reply.

    Hi,
    Check if this helps-
    http://obiee10grevisited.blogspot.in/2012/05/changing-language-in-obiee-on-fly.html

  • Constraints for presentation variable in obiee 10g

    Hello Guys,
    What are the constraints for presentation variable in obiee 10g?
    requirement: I am unable to find the variable option, when i selects CONTAINS operatior, during creating the prompt.

    Hi,
    In 10g, a dashboard prompt can only set presentation variables when you use the "is equal to/is in" operator. Also, it is not available in case of MultiSelect prompt.
    Refer to the below thread for some alternate solutions:
    visualize prompt values into report Answer?
    Thanks

  • What is purpose of session variables in obiee

    what is purpose of session variables in obiee and how to use it in obiee

    whenever a user logs in, a session variable is initialized for that particular user.
    The session variable can hold values such as Username, loglevel.
    For example, if you have 10 obiee users and u want to set different loglevels depending on their roles, you can create system session variable LOGLEVEL which will be initialized dianamically depending on the initialization block.
    Edited by: Vishal on Jul 5, 2011 10:30 PM

  • Use of a Session Variable in another session variable in OBIEE

    Hi,
    I want to use a session variable say A to calculate value of another session variable B. I am using valueof(NQ_SESSION.A) in the initialization block of variable B. But the result is coming blank. I know that the value exists. I have also set the precedence for B to run variable A first.
    Am I missing something here?

    vkos, it works fine for me as my first variable it's initialized when a user logins so the second variable can use its value. What you are trying to do it's not possible. It's not clear if the OP is trying to do the same thing but I will agree that if it is trying to initiliaze a session variable at runtime this is not going to work. You will either have to use presentation variables or update the session variable via GO URL or via Advanced settings in Answers. See the following posts:
    http://oraclebizint.wordpress.com/2008/02/28/oracle-bi-ee-101332-updating-session-variables-through-go-url/
    http://oraclebizint.wordpress.com/2008/02/25/oracle-bi-ee-101332-updating-session-variables-from-dashboards-using-presentation-variables/

  • Can we use session variables in BI publisher's Data Model SQL Query?

    Hi Experts,
    We need to implement Data level security in BI Publisher 11g.
    In OBIEE we do so by using session variables, so just wanted to ask if we can use the same session variables in BI Publisher as well
    ie can we include the where clause in the Data Models SQL Query like
    Where ORG_ID = @{biServer.variables['NQ_SESSION.INV_ORG']}
    Let me know your views on this.
    PS: We are implementing EBS r12 security in BI Publisher.
    Thanks

    Read this -> OBIEE 11g: Error: "[nQSError: 23006] The session variable, NQ_SESSION.LAN_INT, has no value definition." when Creating a SQL Query using the session variable NQ_SESSION.LAN_INT in BI Publisher [ID 1511676.1]
    Follow the ER - BUG:13607750 - NEED TO BE ABLE TO SET A SESSION VARIABLE IN OBIEE AND USE IT IN BI PUBLISHER
    HTH,
    SVS

  • Session variable

    I created a period status session variable which i want to use as a filter in answers. This variable takes note of the last closed period (month - YYYYMDD) when the accounting team closes it in their books. I currently have open periods taking the values of the last closed period and so the client wants these open periods to be removed from the report until the period in closed with accounting hence the use of a filter on the period (month) column. I used this filter eg Time."Fiscal Period" <=  VALUEOF(NQ_SESSION."CURR_PER_OPEN") but it is producing this message:
    The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below.

    Hi,
    Try it like this..
    Set the default using logical SQL. Select <presentation table>.<presentation
    column> from <subject area> where
    <presentation table>.<presentationation column> =
    valueof(NQ_SESSION.<session variable>)
    http://gerardnico.com/wiki/dat/obiee/set_request_variable_dashboard_prompt
    http://sureshotstrategies.blogspot.com/2008/07/about-session-variables-in-obiee.html
    Thanks
    Deva

  • Non-system session variable is not initializing

    Hi,
    I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.Visible_All_Offices1, has no value definition. (HY000)
    I have tried all possible ways like giving the session variable in SQL result set, giving with quotes and without quotes. In all ways it is throwing the same error.
    I think this variable is not getting initialized when starting the session, is there any way to check it. this variable is also not showing in Manage > Sessions > Variables in OBIEE Admin.
    Please reply, if anyone faced similar issue. I am trying this from last 2 days.
    Thanks,
    Ash.

    When you run this sql query against the database, are you seeing results? and why are you using non-system session variables for this? Session variables are usually used to retrieve data into variables based on the user login.
    Check the following things:
    1) In variable target, make sure the row-wise initialization is checked.
    2) Make sure the cache option is UN-checked
    3) Run the sql against the database and make sure it is retrieving results.
    4) Try this in init block:
    select distinct 'Visible_Regions', NVL(Regions, '0') from SH.Regions_Dim A inner join SH.USER_Table B on A.employee_ID = B.employee_ID;
    -Amith.

  • How to use varaibke manager option at RPD in obiee 10g

    Hi
    At RPD level , can anyone please help on uderstanding how to use the variable manager.
    thank you

    Hi,
    System session variables:
    System session variables have reserved names, that cannot be used for other kinds of variables (such as static or dynamic repository variables and non-system session variables).
    e.x:
    1)
    if u want to get and display user login ID,group,timezone...Date and time...etc... can be done by using session variable
    2) Exteranl application integration ( java -jsp) by using go url.
    here u can specify the session variable and it will passed into Java apps.
    3) setting log level by using session varaible
    4) u can use it report tittle/header..etc
    for more:
    http://obiee101.blogspot.com/2008/02/obiee-adding-session-variables-to.html
    http://obiee-blog.info/administration-tool/how-to-set-session-variables-using-url-variables/
    http://sureshotstrategies.blogspot.com/2008/07/about-session-variables-in-obiee.html
    http://inetskills.com/obiee/obiee_11.php
    Thanks
    Deva
    Edited by: Devarasu on Dec 6, 2011 5:10 PM

  • How to create a physical table with a session variable.

    Hello,
    I have been trying to accomplish accessing data multiple databases from a single rpd and single connection pool. Is there a way to do it using session variables and OBIEE stored procedures or something. If someone has anything I could read up(unless I have already googled it), it would really help me out.
    Thanks.

    Where is there a need to access multiple DBs using the same connection pool?
    Just curious.

  • Obiee 10g - Change date format of a session variable in a prompt

    Hi All,
    I have a dashboard prompt that contains a session variable "current_date".
    I need the prompt to default to current day in the format DD-MON-YYYY. it is currently "DD/MM/YYYY"
    Is there any way of achieving this in the prompt itself? My other option is to write a new init block and repository variable current day and go from there.
    Tried sysdate from dual etc.
    Any ideas??

    Hi,
    I suggest you to have the format coming from the RPD init block itself, instead of working around in the answers:
    To have the below format:
    DD-MON-YYYY. it is currently "DD/MM/YYYY"Give a try by writing something similar below in the init block.
    SELECT TO_CHAR(date_column, 'DD-MON-YYYY') FROM x;
    Regards
    MuRam

  • OBIEE 11g Session variables

    Would anyone know who to setup the USER session variables in the RPD for OBIEE 11g?
    The security setup we have is LDAP Authentication & Default authenticators in Weblogic. Is there a way to retrieve this in the RPD or in answers?
    Lastly, would proxy (act as) functionality configuration differ from 10g because of the above?
    Thanks.

    All,
    Use VALUEOF(NQ_SESSION.USER) whether you are in the front end or .RPD, :USER doesn't work anymore. Also, there is no need to wrap the syntax in quotes, if you do, it won't de-reference the variable.
    Thanks,
    Josh
    Edited by: JFuter on Mar 24, 2011 5:16 PM

  • OBIEE Session Variable Problem

    Hi:
    OBIEE 11.1.1.5
    I created a new session variable and initialization block. The default value of the variable is 1. The query for the initialization block is SELECT 123456 FROM DUAL. The query in the initialization block tested fine. I bounced the OBIEE instance.
    When I use the Administration Tool to view the Session Manager, I see that the value of the variable is 123456.
    The problem is in an Answers report the value of the variable is 1.
    Can anyone offer a suggestion as to why the value in Answers is the default value of the variable?
    Thanks.

    Thanks for your reply. I agree that the expression NQ_SESSION. <<variable name>> will display the variable. And it is with this command, in Answers, that I see the default value. Only in the Admin Tool do I see the correct value assigned with the Initialization Block.
    Again, my problem is I cannot display the correct assigned value in an Answer report, only the default value.

  • Session variable filters in the integration between OBIEE and webcenter

    Hello All,
    I have a customer with the requirement to make sure that reports created in answers and containing sessions variables in filters definition will be correctly filtered once called from webcenter.
    So if an OBI report is diplayed in webcenter and contains the same type of filters (based on session variable), will the results be filtered based on the specified variable?
    In other words can we use session variables in the integration between OBIEE and webcenter?
    Thanks Olayinka

    Have you follow all the steps written here :
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12188/T421739T475591.htm#T480640
    Do you have create the groups ?
    Do you connect as a member of the group XMLP_ADMIN ?
    Cheers
    Nico

Maybe you are looking for

  • How do I transfer my itunes library from old computer to new computer

    How do I transfer my itunes library from old computer to new computer?

  • Can I access old Microsoft Office files on a Mac?

    Am considering getting rid of my old PC and just using my Mac only, with Microsoft Office for Mac.  Woud i be able to access my old MS Office files from my PC on my Mac or not? Many thanks

  • How  to get  response from such a  function

    How  to get  response from such a  function (in MODULE USER_COMMAND_0010 INPUT I get "ODGOVOR" 'X' FUNCTION Z_SEENKRAT. ""Local Interface: *"  EXPORTING *"     REFERENCE(ODGOVOR) TYPE  MSEG-KZEAR DATA ok_code LIKE sy-ucomm. DATA: test like mseg-kzear

  • Regardin a Tv card to sound card connect

    Hi all I have an MSI SLI Platinum motherboard using the onboard SB Li've 24 bit. I have creatives p5800 5. speakers attached. but these speakers use the line out i think which is what a tv card needs to connect to also. am i right or am i wrong also

  • Notification Configuration

    I've upgraded to Mountain Lion for the notifications and I notice that these don't appear unless I have the mail or twitter clients open. I've gone to settings on the MAC and the applications and turned on all notifications and also put this as an Al