Use of variables in obiee

Hello!!!
I m new to the forum and wanna your help,next week i have to give a presentation on variables , i know how to create them and about their scope but wanna implement its use.(use of all types of variables ie,(repo sitory(static and dynamic),session(system and non system) and presentation.
Furthermore i wanna know about the use and what are presentation variable
So pls help, asap
Regards,
Priyanka

And what do you don't know?
How to set a presentation variable in dasboard? Answer: use a prompt see in here: http://gerardnico.com/wiki/dat/obiee/presentation_variable
How to use a variable after is set? It is very well described in http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/ @{var_name}{defaultvalue}
you can filter data:
- static 'col = value'
- is prompted (in this case it will be filtered on value that comes from navigation or from a prompt)
- on other request
- finally from a variable
you can use variable to make for example topn and the user wants to modify number of topn
so you set a variable from a prompt and use that variable on topn(value, @{var_nr_values})
you can find a lot of docs on this topic, kart give you some links...
Make research, and when you have a problem please come back with the isue and we happily try to help...
Regards
Nicolae

Similar Messages

  • How to pass the values to stored proc using presentation variable in OBIEE

    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There are 6 reports say ‘A’,’B’,’C’,’D’,’E’,’F’ in the same subject area.
    The reports are being configured with prompts using either the repository/presentation variables.
    One of the reports say ‘A’ has been configured to pass the values using presentation variables from the prompt in Advanced Tab of the report request to the stored procedure defined in the Execute Before Query section of the connection pool.
    After running another report ‘B’ in the same subject area, upon visiting the report ‘A’ view display error is being seen ( Please have a look below screen shot for your reference) .
    Speculate the issue is around presentation variables of report ‘A’ getting initialized even before running the report.
    Appreciate your earliest advise as this is a prod issue.

    Hi Prasad,
    I got your note, you should not use Session variable syntax to call presentation variable.
    you should use like @{AIC_PROJ_PLAT_SEQ_NO}
    One more thing: first test the variable AIC_PROJ_PLAT_SEQ_NO value then try to pass to SP.
    Hope this helps

  • Data and Dashboard Security using ROLES Variable in OBIEE 11g

    Hi all,
    I'm currently using OBIEE 11g. I'm wondering how to implement the security for data and dashboard in the 11g.
    Below is the sample of how the security matrix requirement when I use the 10g version. In 10g, we usually use GROUP (for the data filter in RPD) and WEBGROUPS (for dashboard objects) variables in my initialization block to read from database. As we have 2 different variables, it is possible to control security separately for data and dashboard.
    GROUP | Country
    G1 | US
    G2 | FR
    G3 | UK
    WEBGROUPS | Dashboard
    WG1 | D1
    WG2 | D1
    WG3 | D1
    WG1 | D2
    WG2 | D2
    WG1 | D3
    WG3 | D3
    WG3 | D4
    Now, in 11g, the recommendation is to use ROLES variable (for application role). So, how would I apply the required security matrix above in 11g using just ROLES variable? Do I still create G1, G2, G3, WG1, WG2, and WG3 as application roles then only use G1-3 in the RPD to filter the data and only use WG1-3 in the analytics to serve as webgroups?
    Any advice on this? Thank you very much.

    "...Could you elaborate more?"
    I mean that role creation and user->role assignment will be managed outside of to the obiee interface - whether that's via the database, LDAP, fmw etc.
    Webgroup creation and assignment is managed within the obiee interface and I think that has a lot of benefits - generally you have people responsible for shared folders and dashboard creation, so having them responsible for webgroups and presentation permissions is preferable for me.
    "are you saying that I use the role G1-3 only in the RPD, while using the role WG1-3"
    Yes .. I'm assuming you have something like
    G1 | US
    G2 | FR
    G3 | UK
    WG1 | Finance
    WG2 | Marketing
    WG3 | Sales
    Which becomes
    R1 | US
    R2 | FR
    R3 | UK
    R4 | Finance
    R5 | Marketing
    R6 | Sales
    And John belongs to R1 and R4, Fred belongs to R2 and R4 etc. So you would set your data filters against R1-R3 and use R4-R6 like webgroups in the presentation services.
    Regards,
    Robert

  • Using calculation variables in OBIEE analysis

    Hi,
    I have a report where I have to calculate various ratios, including forecast calculations.  If I write a pseudocode for this, it will involve several variables (intermediate step values).
    In BO, we have concept of variables in Webi to store intermediate results.  Is there anything similar in OBIEE which we can use ? Can you please help.
    Thanks

    Hi,
    Global variables will work in the same way as local variables so you are using them correctly.
    Business rules are just really glorified calc scripts, if you want to know about calc script commands have a read of the tech ref :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/frameset.htm?launch.htm
    It will have all the calculation commands and functions and descriptions on how they work.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Using presentation variable in OBIEE 11g

    Hi,
    Is is possible to use a prompt to filter data from two sections of a dashboard?
    My dashbaords contains two sections , each pointing to seperate reoport. Can I filter data in the two reports using parameter selected in one prompt?
    If not possible , the wht is the way to achieve this.
    Thanks and Regards
    Santosh

    Thanks Rondo,
    In our project we have e-Biz Oracle ERP application where actuals are captured. Customer is using a third pary tool called Neotix to buid RPD automatically based on Database (oracle) of this application.
    Nw we are building new application for planning and budgeting in Hyperion prodicut by oracle where Database is Essbase. I will be creating an RPD for budget/planning reports based on Essbase data source.
    For creating on report for Actual Vs Budget, I need to have both Actuals data from e-Biz and Budget data from Hyperion comming out of one RPD.
    So I want to merge those two RPDs and build by Actual vs Budget report based on the Business model from this merged RPD.
    I want to understand hw to build the buisness model in the merged RPD so that I can get the acutal and budget data together in the same report using Answers. I am using OBIE 11g.
    Please tell me wht should be my reporting strategy for achieving this. Can I create single business model for two dataa source which I will import in phyisical layer? How Do I join the two data sources in my RPD, in the business model? What are the challanges to do this kind of model in the merged RPD. ? Do u think there will be challanges to joing Essbabase members (since it is multidimensional cube ) with e-Biz data source in physical layer?
    If I build multiple subjects area (one for e-Biz datasouce and another for Essbase data souce) what modeling steps, I need to implement in presentation layer of the merged RPD?
    In answers how to I build report so that actual and budget data can be displayed together? Are there any technical challanges to implement such report in Answer? If yes, then what are the ulternative approaches?
    I came to know that if it is not possible to get both actual and budet data together in one report, then I should build a dashboard with two sections , and build two reports (one for actuals data and another for dudget data ) and then place one report in one section and another section in another section in the dashboard. Is it a good approach? Is there any better approach?
    I want to use one prompt to filter data for actuals and budget . eg. for year 2012, I want to dislpay Actuals as well as Budet values?
    Please provide your expert inputs...
    Thanks and Regards
    Santosh

  • 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

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

  • OBIEE 11g:  Use presentation variable in Column Heading

    Hi everyone,
    I was playing around with sample app dashboards and I saw a dashboard prompt that they converted into a column selector. I liked it and reproduced it in my own sandbox.
    I like the results, however, I would also like to change the column heading to clearly reflect which measure was selected. It's pretty clear when you are looking in the dashboard, but once you export the data, it can be confusing which measure was selected.
    That is why I would like to use a presentation variable in the column heading section. I tried to do this but it interpreted it as a literal instead of evaluating the statement.
    Is there anyway to get a variable in the column heading?
    Thanks!
    -Joe

    Hi,
    Have a look at the following links:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    show the presentation variable on table column header
    Define presentation variable in column header
    hope it helps.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • 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

  • Unable to pass the values to stored proc using presentation variable in OBI

    Hi All,
    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There is an OBIEE requirement whereby two prompts need to be defined.
    1.     Textbox prompt
    2.     Drop-down prompt
    The dropdown values should be populated using textbox prompt. So, we have used presentation variable in textbox prompt and passing the same to select query of drop-down.
    Until this step, the report works just fine.
    Now, the value in both textbox and drop-down needs to be passed to stored proc.
    While trying to pass the values by using the presentation variable, the following error comes-up saying
    Session variable has no value definition.
    Note:Although the corresponding session variable has been set to default value,still the error appears.
    Please advise.
    Regards,
    Prasad

    "Session variable has no value definition" I'm assuming typo error and it should be presentation variable.
    Set default value for presentation variable that may work

  • Presentation Variable in obiee 11g

    Hi all ,
    I had a dashboard report with year , quarter , month and order type name as prompts .
    Now my client requirement is , when order type name is "Ord" , the reports with order type name starting with 'ORD" should be displayed.
    In simple i know we will use " Like" operator .
    But now my problem is we have to assign a presentation variable for order type name.
    So can some one tell me how to add a presentation variable in OBIEE 11g , i tried in web , but none of it helped me to finish the job ,, since i am very new to obiee can some one please explain me in non technical language
    Thank you for your help

    Hi Jay , Thank you very much for reply , now i got a little idea , but few doubts abt ur reply .
    Yes i will edit dashboard prompt and assign a like operator and will save the prompt , but when editing the report , you said to apply a filter *LIKE @{presentation_variable}{default_value}%*
    In the above what will be in place of presentation_variable and what should be in default_value.
    I have tried it in this way : Like @{Sales Order Lines Order Type Name} , where Sales Order Lines Order Type Name is my dashboard prompt .
    but it didn't worked when i have given 'Ord' in dashboard prompt the error says: Sales Order Lines Order Type Name is LIKE (pattern match) ord

  • 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

  • Is it possible to use repository variable in conditional formatting

    Is it possible to use repository variable in conditional formatting . if no then is there any workaround for implementing the same....
    Also i came across a sql of an init block.. which goes like 'exec OracleBi..procedure_name'
    Is 'OracleBi..' a keyword or something like that....

    Refer http://www.biblogs.com/2008/09/03/obiee-repository-variables-filtering-and-conditional-formatting/
    Init blk is calling any procedure here with name OracleBI here...no any specific significance.
    Hope this help
    Edited by: Deepak Gupta on Aug 12, 2011 8:27 AM

  • Date prompt using repository variables adds "DATETIME" literal to narrative

    We are using repostiory variables to set initial date prompt filter values for our report. When we do that we get the "DATETIME" literal string show up on our report as in TIMESTAMP '2011-08-18 00:00:00&#39 (I am posting the exact literals from the report.
    Is there any way to fix this so "TIMESTAMP" does not show?
    by the way the following procedure was followed in trying to create this narrative.
    http://bischool.wordpress.com/2009/06/17/set-yesterday-or-some-date-value-as-default-in-obiee-dashboard-prompt/
    We are doing this in OBIEE 10.1.3.4.1

    Double click on the connection pool and got to General tab.
    In the excute on the connect field add the following Script.
    ALTER SESSION SET NLS_DATE_FORMAT = 'MM/DD/YYYY'.
    Thant will solve the problem of time stamp.
    I tried this in my recent project and it works. Let me know if you have any issues
    Thanks
    If it is the only issue coming up in the narrative view then follow Ashish method.
    If the date problem persists for prompts and everywhere in the answers follow my method
    Edited by: Venkat Krishna on Aug 19, 2011 11:01 AM

Maybe you are looking for

  • Error message when opening image or Preferences

    I use an HP computer with 2 MB RAM and XP SP 3. I have downloaded the trial version of CS4 twice, but in both cases I get an error message and the programme shuts down when I open an image (any type) or Preferences. My graphics card is Nvidea GeForce

  • .mac & personal domain, so which page first?

    Ok, i will try to be as clear as possible here. Anyone who used the old style of web forwarding willl know that in order to view one particular page first (opening page) you would normally publish your website and use the url of that one page to forw

  • I can't install adobe premiere

    Hi, I have just purchased Adobe Premiere and Photoshop and I am really struggling to install them on my mac. Both reach 39 per cent maximum and then freeze. It is a fairly new mac so that should not be causing the problem. I fly to South Africa tomor

  • Spinning beachball in finder after upgrading to 10.5.5?

    I installed a new intel iMac at a clients site some two weeks ago. The machine came with 10.5.4 and there is a second monitor connected to it I installed Adobe CS 3 and Parallels along with all available upgrades from Apple. For two weeks the machine

  • Is iphone compatible with europe gsm networks?  help me pls

    my friend is gonna buy iphoe from us for me . if he buy that i phone can i use it in my country (i m from turkey) is it compatible with our gsm networks (turkcell vodafone or avea ) ???