Question on Variables in OBIEE

Hi,
I am prasanna.I have a question on variables.
Is it necessary to create a different connection pool for session variables? I am unable to use the same connection pool for both repository and session variables.
can anyone help me.
Regards,
prasanna.

Hi Prasanna,
You can use the same connection pool by checking out “Allow First Connection for init block” to true
For setting *“Allow First Connection for init block”* follow below steps :
1. In the Administration Tool, select Tools, then select Options to display the Options dialog.
2. On the General tab, select ”Allow First Connection for init block.
But this option is not a best practice and might cause performance issues.
Better think is to use Different connection pool for variables.
Try this...

Similar Messages

  • 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

  • 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

  • No.of Variables in OBIEE

    Hi,
    is there any limit to create number of variables in OBIEE.
    Thanks in Advance
    Santhosh

    hi Santhosh,
    There is no limitation

  • 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

  • Date Variable in Obiee 11g

    Hi All,
    I have created a dynamic repository variable that gives the current date. The date is given in the following format 'MM/DD/YYYY'. This is format that I want the date to appear in. In the presentation catalog, I have created a presentation variable dashboard promt called StartDate, that defaults to the repository variable CurrentDate. I have also created a report that has a number of measures filtered in different ways. If we take one of the measures in the report, what I have done is edited the formula to filter the measure by reported_date>Date'@{StartDate}'.
    Now when I got and see my dashboard I get an error, 'Datetime value 06/07/2011 from 06/07/2011 does not match the specified format'. However when I click 'Apply' on the prompt, the error does not appear and it just says that there is no data for this report.
    Can someone please help me solve this problem?
    Thanks,
    Nikita

    I solved this issue by using steps listed here http://gerardnico.com/wiki/dat/obiee/cast_as_date.
    Thanks

  • 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

  • Bind variable in OBIEE 11G

    Hi,
    Is there any bind variable concept in OBIEE 11g.
    If it is not there then how to achieve this.How to write a where clause to get the result set dynamically.
    Thanks-Bhaskar Gouda
    Edited by: 961171 on Sep 25, 2012 12:44 AM

    Hi,
    I can make use of repository variable ,but my scale marker doesn't get changed .I am giving all the details .Please help me if you can.
    My scale marker SQL Query is as below.
    select trucks.factrucks
    from "plant model"
    Now i want to add a where clause say:
    select trucks.factrucks
    from "plant model"
    where truckid=:p_truckid;
    How can i do this and pass the parameter from go_url.Please help me out.
    Thanks-Bhaskar

  • 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

  • How to create Presentation Variable in OBIEE 11g

    Hi,
    Can any one tell me how to create a Presentation Variable. I know about the creation of Session and Reporsitory variables.
    Is it to be created in the Edit formula of the column in criteria tab.
    Thanks

    Hi,
    Refer : http://gerardnico.com/wiki/dat/obiee/presentation_variable_initialization
    Thanks
    Aravind

  • How to pass the prompt value to repository variable in obiee 11.1.1.7

    Hi All,
    I am given a tabular report to build in OBIEE 11.1.1.7 version using insurance data.
    I have to show different types of claim names and their corresponding count in the table. One of the calculations require me to use the total no of claims(i.e sum of all the claims).
    Example:
    Total No of claims: 600
    Total No of Auto Claim: 60
    I have to create a table on Auto Claim like:
                   claim types       count
                        X                    10
                        Y                    20
                        Z                    30
    I was calculating total no of claims by using dynamic repository variable as it was a constant value. Example: repository_variable1: select count(claim ID) from Insurance; In report I was just using value of (repository_variable1)
    Now client has asked us to give date prompt so the total no of claims (assumed as 600) will change with respect to period. I can calculate total no of claims with respect to different claim type (as shown in the table above) with respect to period filter in the report.
    The problem I am facing now is, I need the count of all the claims on a partucular period too. Repository variable is giving always calculating the count as 600. But the count should change with respect to period selected. How to get this value?
    Can I create a presentation variable in the prompt and pass this value as an argument for repository variable?
    Please help. I am in urgent need of the solution.
    Thank you.

    Hi Srini,
    I tried creating it as metric. But the problem is my pivot table is on Auto Claims.
    Let me try to make myself a bit more clear.
    Total No of claims in fact table: 600
    Total No of Auto Claims in fact table: 60
                    claim types(auto claims)       count        Calculation
                        X                                        10             10/600
                        Y                                        20             20/600
                        Z                                        30             30/600
    So I need to access total no of claims to calculate. I cant use a metric as the count will take group by with respect to auto claim type and give value only for X claim.

  • 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

  • Substring function for presentation variables in obiee

    I have a presentation variable called period that has the (fromdate and to date)
    Is there any way that I can split this one variable into 2 by using substring function??in such a way that it gives one for from date and the other for to date..
    any synatx like
    SUBSTRING ( '@{period} FROM 0 FOR POSITION
    (' - ' IN '@{period})) ???
    and how to apply this?

    The answer to this question is the same for the one you posted here:
    can we create two dashboard prompts for the same column in the samepage
    You need to split your prompts into two. If you read the link I posted in the other thread and re-posted here, you will find that the reason to do it this way is so you can see the values of the prompts. Read the first paragraph of this link -- again, if you already read it. You cannot split the single presentation variable if you use the BETWEEN operand in the dashboard prompt. You need to put the operand in the filter in your report.
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • Basic questions about Mapviewer for OBIEE 11G

    Hello All..
    I am pretty rookie in OBIEE and I have never worked with Mapviewer before.. I am going some POC right now in my environment and I want to experiment map reports in OBIEE.. My current OBIEE version is 11.1.1.6.5, Oracle DB version is 11.2.0.3.0 64 bit and OS is Linux 86-64 and I see that there are many versions of mapviwers to download from oracle website.
    I have read a few articles on Mapviewer integration with OBIEE, but I still have a few questions about using mapviewers at the very basic level:
    1. What versions do I download from Oracle website? I see there are many versions of mapviewers. Do I decide the version based on my OBIEE version or DB version?
    2. What files do I download from Oracle website? I see there is mapviewer zip files and mapbuilder zip files. Which one do I download and how does installation works?
    3. My OBIEE 11G and DB are running on linux environment, but in the Mapviewer download page, I don't see Oracle differentiating the OS environments. Does that mean Mapviewer is only either Unix/Linux or Windows? How do I determine in which environment I should install the files I downloaded?
    I know these are very basic questions, perhaps too basic to blog about, that's why I can't find them online..
    Please advise here..
    Thanks

    Hello All..
    I am pretty rookie in OBIEE and I have never worked with Mapviewer before.. I am going some POC right now in my environment and I want to experiment map reports in OBIEE.. My current OBIEE version is 11.1.1.6.5, Oracle DB version is 11.2.0.3.0 64 bit and OS is Linux 86-64 and I see that there are many versions of mapviwers to download from oracle website.
    I have read a few articles on Mapviewer integration with OBIEE, but I still have a few questions about using mapviewers at the very basic level:
    1. What versions do I download from Oracle website? I see there are many versions of mapviewers. Do I decide the version based on my OBIEE version or DB version?
    2. What files do I download from Oracle website? I see there is mapviewer zip files and mapbuilder zip files. Which one do I download and how does installation works?
    3. My OBIEE 11G and DB are running on linux environment, but in the Mapviewer download page, I don't see Oracle differentiating the OS environments. Does that mean Mapviewer is only either Unix/Linux or Windows? How do I determine in which environment I should install the files I downloaded?
    I know these are very basic questions, perhaps too basic to blog about, that's why I can't find them online..
    Please advise here..
    Thanks

Maybe you are looking for

  • White Noise showing up in images after PDF Creation

    I am currently running into an issue making PDFs from InDesign CS4. Lately, our company has been getting some rather large jobs in to print and that's when this all started. The current job is 190 pages plus cover that will be perfect bound. The clie

  • ORACLE ERROR ORA-32314: REFRESH FAST unsupported after deletes/updates

    hi, I have a materialized view created with fast refresh on demand option. Now when i try to refresh it manually the next day, it gives me an error . I have both count(*) and count(1) inside the materialized view. There is update and delete transacti

  • How to open Word doc stored in BDS?

    I faced the problem using BDS. I have table with stored object_keys of Word documents stored in BDS. I can retrieve url for this docs using METHOD CL_BDS_DOCUMENT_SET=>GET_WITH_URL. But how can i open this document using url or something else? For ex

  • How did they do this effect in photoshop?

    I love this effect, but cannot figure out how they made these darker brown lines around their tables (kind of a whisked broken up lines) around their tables. I have tried every brush tool and effect I could think of, but know need to ask the experts!

  • Writing query through SQ01

    Dear All, How to write a Query in a SQ01. Please tell me the steps with an example. Its very urgent. Thanks & Regards, Abhay.