Info on Presentation Variables used in OBIEE

Hi All,
I need some information on Presentation Variables which are used in OBIEE.
a. We can filter on a column using actual value. What is the benefit of using a Presentation variable to filter on a column?
b. Is there something a presentation variable can do which a repository variable cannot.
c. Can a presentation variable be used to filter on a dashboard itself rather than going to Answers to filter the request
d. Where else can a presentation variable be declared apart from dashboard prompt?
Regards,
Apoorv Chitre

Hi Apoorv,
let me try to answer your questions one by one
a. We can filter on a column using actual value. What is the benefit of using a Presentation variable to filter on a column
As you say, if you need a filter which does not use an actual (fixed) value (or where the value is passed from a prompt) then it is a good idea to use variables (could be repository, session or presentation variable) which variable type you choose depends on 1) the way the value is passed to the variable and 2) the type of data (e.g. a variable CURRENT_MONTH is definitely valid for all users, so it would be a good idea to use a repository variable).
b. Is there something a presentation variable can do which a repository variable cannot.
Presentation variables are session-specific, that is they can have different values for each user. Repository variables have the same values for all users.
c. Can a presentation variable be used to filter on a dashboard itself rather than going to Answers to filter the request.
Not sure what you mean...
d. Where else can a presentation variable be declared apart from dashboard prompt?
I have compiled an overview of all variable types in OBI EE and how they can be declared here
Presentation variables can only be set using dashboard prompts.
have a nice day
@lex

Similar Messages

  • How to set a value to a Presentation Variable using GO URL?

    Hi All,
         I am working on a drill (GO URL) from Dashboard page1 to Dashboard page2.
         The problem I am facing is, I am not able to pass a value to the presentation variable through GO URL. (I have to pass "Customer Category" static
    value to The presentation variable present in Dashboard Page2 ).
         The Dashboard page2 is having a view select in which we are using presentation variable to select the report based on the value selected in
    View Select.
         For example: If the user selects "Customer Category" value in View select and clicks on GO button Customer Category report will show the out put.
         When i am drilling from Dashboard Page1 I have to pass a value to the presentation variable used in view select and also pass some filter condition in
         GO URL.
         Please let me know if it is feasible to pass a value to the presentation variable through GO URL in OBIEE 10.1.3.4.
         It will be greate if you can provide me with the syntax to set a value to the presentation variable of dashboard page2 through GO URL.
    Thanks and Regards,
    Sagar Vishwanathwar.

    1) You have to navigate to dashboard page, not to answer request = you have to use "Dashboard URL API" not GO URL API.
    2) On the target page, you have to place dashboard prompt, which sets required presentation variable.
    3) Refer to the target using Dashboard URL API and set filter on prompt column using URL parameters. Example: http://localhost:9704/analytics/saw.dll?Dashboard&PortalPath=%2Fusers%2Fadministrator%2F_portal&Page=page%201&Action=Navigate&P0=1&P1=eq&P2=D_TIME.YEAR_CODE&P3=%221996%22
    Do not forget to use Action=Navigate. The syntax for setting filters using url parameter is the same as for GO URL API described in Business Intelligence Presentation Services Administration Guide.
    This is the way, you can implement navigation to parametrized direct SQL reports including passing filter values...
    Regards K.

  • Presentation Variable issue in OBIEE 11g

    Hi,
    I have 2 reports, report 1 and report 2
    When i drill down on report 1 column 'Number of id's' will open the details report of Id's report 2
    I am using a Presentation variable in report 2 filters (detail report) which is generated in Main report dasnbord prompt.
    They have separate star schema.
    Main report(reprot1) using Aggregated table.
    Sub report(report2) using detail table.
    Problem:
    After upgradation from OBIEE 10.1.3.4 to OBIEE 11.1.1.5,(Unix server) The presentation variable value is not getting passed to the detail report. This is working completely fine in OBIEE 10g.
    Is there any BUG in OBIEE 11g wrt presentation variable or do we want to change the configuration?
    Thanks,
    Satheesh

    Hi,
    Not sure about the behaviour in 11g, but we faced a similar issue in 10g while passing the presentation varaibles to detail report where main/detail report where coming from different subject areas. The behavior was a little unpredictable. To overcome this, we tried using request variable instead of presentation variable and it worked for us.
    You can give it a try by doing the same and see if it works for you.
    Thanks

  • Set Presentation variable using external Javascript?

    I want to create a user defined filter using custom java-script drop-down and wish to set a presentation variable on the dashboard. I have looked into various JS files to find the method for setting a presentation variable but have failed badly. If there is a way to set this variable please do help me out.
    thanks in advance
    ~V
    Edited by: user4555163 on Mar 9, 2011 5:42 PM

    Provide js-library you found and method for setting pres. variables and your custom js code.

  • How to send different value of presentation variable in GO URL??

    Hi there,
    I'm using GO URL to send presentation Variable (d_pv) to filter other report on 'day' column.....
    '(a href = http://server/analytics/saw.dll?GO&path=/shared/BI%20Reports/Ki1/KPIs%20Detail%20Priority%203%20Shipped&Action=Navigate&p0=1&p1=eq&p2="Time".Day&p3=@{d_pv})SHIPPED(/a)'
    This is working fine. But my goal is to filter the other report using previous day of the value of d_pv (eg. if d_pv value is '2010-04-27' , I need to filter other report using '2010-04-26')
    I couldn't find to pass one day back value of presentation variable using go url.
    Please Help..
    Edited by: bob123 on Apr 28, 2010 10:15 AM

    I'd say use TIMESTAMPADD(SQL_TSI_DAY,....,1) and use pass your pres variable to this column.
    so when you pass 28/04/2010 to the target report day+1 column, it will show 27/04/2010 data.

  • 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

  • To use two presentation variables based on the period selection in OBIEE

    Dear All,
    I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
    For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
    How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
    Your help is highly appreciated.
    Best Regards,
    Rajesh

    Hi Rajesh,
    Create a report A which will give you the period start date and end date and filter it using the period prompt.
    Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
    Add the report A in separate section on the dashboard along with main report and hide report A section.
    Thanks,
    Vino

  • 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

  • OBIEE 11g Prompt's default value doesn't work with a presentation variable

    Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
    1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
    But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
    What I did is:
    On the Product Name Prompt I've created a Presentation Variable called PROD.
    On the Product Number Prompt I've selected:
    1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
    2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
    SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
    What am I doing wrong?
    Thank you,
    Carla

    Sorry I was wrong in my previous thread.
    Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
    Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
    if not you need to go for 2 different prompts
    Prompt 1 Product Name hit GO
    Prompt 2 will work based on as you defined earlier with variables
    Hope this helps

  • 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

  • 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}'))

  • OBIEE 11g Front End Calculations with Presentation Variables Error

    Hi Guru's,
    Long time user first time poster to the forums but hopefully you can help.
    I have a requirement to perform an aggregation on certain fields with a dynamic grouping requirement (so users can select which grouping they require ie, sum profit by [outlets or companies or region]).
    The approach I am using is a prompt setting a presentation variable with the possible groupings for the calculation as choices, and a column in the report with a formula to SUM("table"."column" by "@{variable}{default}") this also contains a dynamic column name containing the presentation variable too.
    Where the column could be profit and the variable prompt options could be outlet, company or region (from the above example).
    This is currently separate from the RPD due to the dynamic nature required with groupings changing at run time and is done in the front end.
    However on selecting some columns via the prompt I receive this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22027] Union of non-compatible types. (HY000)
    This only occurs on some field groupings, and is not a certain type in particular. (Including both short date, short time and varchars).
    Any ideas where this problem could stem from?
    Regards.

    Based on given info: Try this
    SUM(cast("table"."column" as int) by "@{variable}{default}")
    Pls mark if helps

  • Use of Presentation Variables in Navigated Report Title

    Hi All,
    It's regarding the presentation variable in report title. I have value interaction to another report based on Prompted values. But when we click on the value it will go to another report page and giving the results, but the title view is not changing as per the requested value. The title should change dynamically, but it is showing the P.Variables in place of prompted value.
    Below are the ways i have used the P.Variables:
    @{brand1} at @{customer}, @{sensitivity}% Sensitivity
    @{brand1}{'Prod'} at @{customer}{'CVS'}, @{sensitivity}{'15'}% Sensitivity -----(default values here)
    Version : OBIEE 11.1.1.5.0
    Could you provide me the solution for this issue.
    Thanks in Advance,

    Hi,
    You can use the presentation variable when you are passing the value from the prompt and filtering after
    clicking on the 'GO' or 'APPLY' button. So that assigns one value and is passed in the report in the
    page used.
    What you need to do is you need to have the 'is prompted' for the column used in the title
    or you can make the column is equal to @{pres_var}.
    But still if you dont use the columns in the report and you dont want to filter the report with the title columns
    then you can use narrative view with all the columns used in the title and have 'is prompted' and make its formatting similar to title view and save as a separate report
    And place the narrative view above the report
    Regards,
    MuRam

  • 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

Maybe you are looking for

  • My ipod stops or pauses while I am walking...I am using the nike sensor with my Ipod.  Will it pause when I stop walking for a period of time?

    I have purchased the nike sensor to use with my Ipod touch.  I tried it on the golf course and it kept pausing after time.. I tried the different ways to work out eg basic, timed, calories...but it kept pausing after a short distance.   Is this becau

  • Issue in accessing Client Web Service 401 authentication error

    Hi, I have a requirement where i need to call a web service from SOA composite. When i deploy the service on SOA Server and try accessing it i get below error **oracle.fabric.common.FabricException: Cannot read WSDL "{http://www.service-now.com}Servi

  • Process order scheduling based on in-house production time.

    Hello! I have following problem. My SAP system is configured in that way that process oedrs are schedulled based on times saved in master recipies. When I input data to in-house production time in master data for materials and make new process order,

  • Pages *crashes* whenever I run it

    I just paid for a serial for iWork and now whenever I run it and do anything (including just pasting text into a blank page) tje desktop blinks and applications crash and pages just quits. I used it a few days ago in trial mode (trial expired) and I

  • Firewire mystery?

    Both my firewire ports won't recognize a dang thing. They've just stopped. I go to the profiler and it says: FireWire Bus: Maximum Speed: Up to 400 Mb/sec Does that mean they're alive?! I've tried the powering down (totally disconnecting everything f