Dashboard prompts

hello Guys,
I have an issue with regard to the dashboard prompt in OBIEE 11g.
I have a column Year that contains the latest 5 years.
For latest or current year i.e,2012, what we are doing is doing the MAX (year) and for prior year (i.e.,) 2011, we are using EVALUATE(TO_CHAR(TO_NUMBER))..etc.).
For the report, we need a dashboard prompt that should contain only current and prior year.
Is there a way we can get this WITHOUT touching the rpd? (ie.,) what can we do at the report level to get the result.
Please feel free to let me know if I am not clear.
Thanks in advance for the help!!

In that case that should be like "Year" IN (YEAR(CURRENT_DATE), YEAR(CURRENT_DATE)-1)
use this in Prompt select SQL Results at 'Show'
The below code should be in where clause
"Year" IN (YEAR(CURRENT_DATE), YEAR(CURRENT_DATE)-1)
Hope this helps

Similar Messages

  • NULL and Unspecified in Dashboard prompts after upgrading 10g to 11g OBIEE

    Hi All,
    We are working on OBI upgradation project from 10g to 11.1.1.6.5. We are facing one issue in Dashboard prompt level. If we can create Dashboard prompt on a column, its giving "NULL", "Unspecified" additionally. But, in 10g there are no extra values.
    And the 10g, 11g instances are pointing to the same database and there are no NULL, Unspecified values in Database level.
    Through some blogs and articles we found some solutions n are below.
    To remove NULL:
    -->Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    -->Go to the Database Features in Physical Layer and disable value to NULL_SUPPORTED.
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results.
    To remove Unspecified:
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results, then write the SQL statements as columnname is not equals to "Unspecfied" ( In this way we can able to remove Null's also.)
    -->Go to Content tab of LTS, in Where clause write an SQL query to restrict Unspecified values.
    Note: CHeck with ETL, because if they maintains the Default value is Null when the Datatype is Character and they can maintain 9999 or #### if the datatype is Numeric. And check the Physical query and debug it carefully.
    But, we have very big Repository and we have huge no.of Dashboard prompts. So, its not an easy thing to manage by using above solutions. Correct me if there are any mistakes in above.
    Any ideas on this...?
    Appreciate your help on this..!
    Thanks in Advance,
    Raghu Nagadasari

    Hi Frnds,
    As of now, i found the only solution for the above mentioned issue that how to avoid NULL in dashboard prompt level:
    Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    We have done this manually for all tables.
    Appreciate if u have any other ideas.!!
    Thanks,
    Raghu Nagadasari

  • Error while creating presentation variable in Dashboard prompts.

    Hi Team
    I have been going through the guidelines and procedures to create a presentation variable to use it in the dashboard prompt ( mentioned in the previous blogs ) .I followed the below link :
    http://oraclebi.blog.com/example-of-presentation-variable-in-obiee/
    I am using the following query :
    ========================================================
    SELECT case when 1=0 then "D2 Market"."M04 Region"
    else 1
    end
    FROM "Sample Sales"
    UNION ALL
    select case when 1=0 then "D2 Market"."M04 Region"
    else 2
    end
    FROM "Sample Sales"
    =========================================================
    I just wanted to create 2 dummy choices i.e 1 and 2 .But while soing so I am getting erros in the case statements :
    =========================================================
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "D2 Market"."M04 Region". (HY000)
    SQL Issued: SELECT case when 1=0 then "D2 Market"."M04 Region" else 1 end FROM "Sample Sales" UNION ALL select case when 1=0 then "D2 Market"."M04 Region" else 2 end FROM "Sample Sales"
    =========================================================.
    Please suggest and let me know if there is any other method to have 2 chioces in drop down i.e 1 and 2 using SQL statements while creating the dashboard prompts.
    Thanks

    Hi Rachit
    You answered my doubt.This one really works . Thanks a lot !
    But i have one more doubt i.e if have created the Presentation variable in the dashboard prompt and I want to use it in a report
    i.e the scenario is If I have created a new column i.e " Revised Salary " in the Presentation Services and want the values to be entered there dynamically upon end users choice. For ex the end user selecrts value of 1 then the report would display an increament of 500 to all the employees in the " Revised Salary " column and if the end user select value of 2 .. the report would display a decrement of 500 in the " Revised salary column".
    I am getting the following error :
    ========================================================================
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
    SQL Issued: SELECT "D0 Time"."T05 Per Name Year" saw_0, "D2 Market"."M04 Region" saw_1, "D4 Product"."P01 Product" saw_2, "D1 Customer"."C1 Cust Name" saw_3, "F1 Revenue"."1-01 Revenue (Sum All)" saw_4, CASE WHEN 0='1' then "F1 Revenue"."1-01 Revenue (Sum All)" +500 else "F1 Revenue"."1-01 Revenue (Sum All)" - 500 end saw_5 FROM "Sample Sales" ORDER BY saw_0, saw_1, saw_2, saw_3
    ========================================================================
    Please NOTE : The column on which I want to do an increament is : "F1 Revenue"."1-01 Revenue (Sum All)"
    Thanks

  • I cant able to create a new Analysis and Dashboard prompt in OBIEE 11g

    Hi Gurus,
    i try to create a new Analysis in OBIEE 11g in (brower: ie,Google chrome, Mozila), i got the error "*unterminated string literal*" and "*Exception at function updateSelectionsPanel: unterminated string literal*".
    and i try to create a new Dashboard Prompt using column prompt when i select the column i don't get the filter form and not to be add the column prompt in the Dashboard Prompt.
    Thanks,

    Moving this discussion to the Adobe Creative Cloud forum.
    Kriskristferson if you are facing difficulties with your order then please contact our support team directly at Contact Customer Care.

  • Can we use Evaluate Function in Dashboard Prompt

    Hi
    Can anybody tell me
    Can we use Evaluate Function in Dashboard Prompt.
    If yes...How
    Thanks in Adv

    Yes ! You Can!
    while creating the dashboard prompt, under "Show" pick SQL results and you write the SQL statement and include the EVALUATE function.
    I have several such examples. Most of of dashboard pages are parameter driven.
    1. 1st paratmeter - users specify the dates
    2. 2nd parameter - constrains the results for the period specified in 1st paramter and my SQL for 2nd paramter looks like this -
    SELECT table1.column1
    FROM table, datedim1, table1,table2
    WHERE datedim1.date BETWEEN EVALUATE( 'TO_DATE(%1,%2)','@{presentation variable1}','dd/mm/yyyy') AND EVALUATE('TO_DATE(%1,%2)', '@{presentation variable 2}','dd/mm/yyyy')
    HTH
    Mahesh

  • How to use action links or master-detail event in dashboard prompts?

    Hi,
    I am new to OBIEE 11g. I have created three reports 1.Daily Data Report, 2.Weekly Data Report 3. Monthly Data Report.
    I have created one dashboard prompt in which I have specified choices as Daily, Weekly and Hourly.
    My requirement is that when I select the choice as 'Daily' I should get Daily Data report below Dashboard prompt.
    When I select the choice as 'Weekly' I should get Weekly Data report below Dashboard prompt
    and when I select the choice as 'Monthly' I should get Monthly Data report below Dashboard prompt.
    How this can be achieved in OBIEE 11g?

    Hi,
    What you do is just put this 3 different reports in 3 different dashboard sections and in section condition assign a condition based on presentation variable so that when u select weekly in the prompt only the weekly section condition should be true and other 2 section conditions should be false, in that case only the true section condition will display and false conditions will hidden.
    Try implement this u will definetly can achieve the result.
    Note: Create Variable prompt for this as best practice
    Revert for any queries.
    Mark if helpful/correct.
    Thanks
    Edited by: 934322 on Mar 19, 2013 7:49 AM

  • Row limit in Dashboard Prompts - OBIEE 11g?

    Hi,
    In dashboard prompts values are shown as sets of 256 and I know it can be customizable but my question is..."Is there any limit on records to extract as we have it in Analysis"? If yes, what is the max limit and where to configure this?
    Thanks in advance.

    Hi Nagireddy, thanks for your reply.
    Is there any limit of values to extract in Dashboard prompt? i.e. when you use drop down list as Dashboard prompt, is there any limit of values to extract from database?
    In my local environment (instanceconfig.xml), there is limit of Rows to View and Download set to 20K, however I did not see anything related to the Dashboard Prompt.  

  • How  to get the value of multi-select in the   Dashboard Prompt

    I have a multi-select prompt in the Dashboard Prompt,  what I want is,   how do I know that user has choose one value,
    for examle,  for some reasons,  if user didn't choose any value,  then I will set one column in answer as "customer office" , if user choose one value, then the column in answer will be "customer name". 
    any comments, thanks.

    Hi,
    first define the presentation variable for the required column prompt. ex: PV
    Then in report level set the filter for that column = @{PV}{customer office}. here u have to give default value as "customer office", so by default the report in dashboard will show customer office even though the user does not select any value from dashboard prompt.
    Mark If Helpful/correct.
    Thanks.

  • Need to store variables from multi-select in Dashboard Prompt.

    I am using a Dashboard Prompt with a Drop-down List Control. The user selected value from this Drop-down List Control is stored in a Presentation Variable.
    I would like to use a Multi-Select Prompt and store all multi-select values in a variable string. I have read that is not possible to use Presentation Variables with a Multi-Select Prompt.
    Does anyone have a workaround for this?
    Thanks,
    Stan

    Check out this thread here:
    Re: Display values selected in Multiselect prompt

  • Issue in Dashboard Prompt of OBIEE 11g

    Hi,
    I had recently migrated from OBIEE 10g to OBIEE 11g.
    I had found that there are lot of things which were working on OBIEE 10g are not working in OBIEE 11g.
    For Eg:
    I have scenario where i have 2 dashboards with different dashboard prompts.
    - *1st Dashboard*: I have prompt with 4 columns Year, Month, Qtr and Week. I can filter the data based on the selection of prompt.i.e Summary Report showing all KPIs and when clicked on the any of the KPI it goes to Below report which shows the graphical view of past weeks data.
    - Report: Here i show all the week Ids in the Graph format and when clicked on the any week id it navigates to 2nd Dashboard(below) with appropriate week populated in the prompt and show the detailed records.
    - *2nd Dashboard*: I have prompt with 5 columns Year, Month, Qtr, Week and Day of the Week with some detailed report. Here the only Week Id should be pre populated and show data based on the week id selection in the above report.
    The issue here in OBIEE 11g is, The month Id which was selected in 1st Dashboard prompt is also getting pre populated into the 2nd dashboard prompt. Which should not happen.
    Note: This was working fine in OBIEE 10g.
    Is there any way to fix this issue in OBIEE 11g.
    Regards
    Shyam
    Edited by: user9954342 on Dec 23, 2010 2:01 AM

    Hi Bala,
    Thank you for your response.
    I had tried that and resolved my problem but it was impacting other reports i.e
    I have other reports in 1st Dashboard with different tabs, Here i want the prompt value to be persisted across the reports in same dashboard so that when i go to other tab with in same dashboard the prompt value should be pre-populated and the data should be filtered against that.
    Now if i change the scope to page then i will be loosing this functionality.
    It was working on OBIEE 10g and i lost this after migrating to OBIEE 11g.
    Can you please help me in this regard.
    Regards
    Shyam

  • Issue filtering a report (based on narrative view) with a dashboard prompt.

    I used HTML and java-script codes in narrative view to solve the issue of "linking different reports on selecting values from a drop-down". A new issue has cropped up due to that implementation. The issue is that i can't attach a dashboard prompt to such a report. This means, when i put this report on a dashboard page with a dashboard prompt to help filter the report, the report does not gets filtered (it does not seems to be connected to the dashboard prompt).
    Has anyone faced this issue before? If yes, please let me know how to tackle it at the earliest.
    Regards,
    Ramil

    Hi,
    sorry , i could not solve the problem. the below case statement i put in the formula of a date column but i got some syntax error.One more thing is case statement is appearing in the select query not in where condition. Do u mean to say if i will put the same column as is prompted then it will come in where condition.
    Could u plz help me where i am doing wrong .
    case when '@{Period}'='Weekly' then Alerts."Creation Date and Time"  between  '@{PStartDate -7}' and  '@{PStartDate}' end
    [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <between>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT Alerts."Business Domain(s)", Alerts."Closing Action Type", Alerts.Closer, case when ''='Weekly' then Alerts."Creation Date and Time" between '' and '' end FROM "Common Productivity Reports for Alerts"

  • How to add different columns in a single dashboard prompt?

    Hi
    I am new to this forum. I got a new requirement, my client is asking me to show multiple columns with multiple tables in a single dashboard prompt
    for Ex: Column name Table name
    1. Customer 1. Customer Details
    2. Market 2. Region
    3. Order 3. Order Status
    4. Product 4. Product Type
    He wants to show all these column names in a single prompt when user click on the particular column name it should appear on report. Is it Possible? if possible tell me how?

    See this thread...
    Re: How to add new columns by using Multiselect

  • Can we have a view selector at dashboard prompt,plz suggest me

    Hi all,
    I am trying to create a view selector in the dashboard prompt, but I am not getting how to create a view selector .
    I need to create filters as below.
    region:- dropdown list(is prompted) LOB:-dropdown list(is prompted) Operatingunit:- dropdown list(is prompted) Division/Country:-dropdown list(is prompted)
    Practice:-dropdown list(is prompted) Office:- dropdown list(is prompted) Team:-dropdown list(is prompted)
    Viewselection*
    radiobutton Operating unit
    radiobutton Region
    Radiobutton Division/Country
    radiobutton Office
    radiobutton Team
    radiobutton LOB
    radiobutton Practice
    APPLY RESET(these are two buttons)
    Can any one please suggest me what to do, and how to achieve this.
    Thanks,
    Venkat
    Edited by: 991688 on Mar 14, 2013 12:19 PM

    I am not getting how to achieve this filter , can you please suggest me ,How to get it, And also I am trying to plot the pie graph for the data present in the report, but I am unable to display the data in pie graph. Can you please suggest me why this is happening, I played around it almost 3-4hrs, still I am unable to get it. Can you please tell me your suggestions.

  • Resetting Selection from a Multi-Select Dashboard Prompt in OBIEE 11g

    Hi all,
    I have a dashboard prompt, containing 3 columns which all are set to allow multi selection and default value is all values.
    In 10g, after choosing some values in one of the prompt and clicking Go button, I can manually remove all my selection to reset it back to the default value (which is all values).
    In 11g, however, I am not able to find how to do it. The reset button doesn't reset back to the default value (which is all values). So what I have to do is to use the "Clear All Customization", which will clear all my selection for all the prompts.
    Any suggestion on how to do this? Thanks in advance!

    Hi Deepak, actually I don't need any script to do that in 10g.
    It's a built in feature in 10g. If you remember, for multiselect prompt in 10, we will click the "..." button to show the box for value selection. Then we can move values from left box to the right to include them, or vice versa to not include them. So by moving the values from right box to the left, I essentially revert to default value which mean all values will be shown.
    In 11g, this box is not shown anymore, instead we are checking the values one by one from a drop down list.
    Any suggestion? Thanks.

  • Presentation Variable in the SQL default section in the dashboard prompt

    Hi Gurus,
    I have two prompts and two go buttons. First Go button is used to populate pv_category1 presentation variable.
    category_column --> pv_category1--> 1st Prompt
    Product_Column --> pv_product2 --> 2nd Prompt
    I want to set the default for the 2nd Prompt depending on the 1st Prompt ( Category) chosen by the user.
    In the SQL default --> i have typed in the below Query.
    *Select TableName.Product_Column from Subject_Area where category_column = '@{pv_category1}'*
    The Problem is that i dont get any default value for 2nd Prompt after choosing the First prompt and hitting the GO Button.
    If i hardcode the value in @{pv_category1} ...
    for eg
    Select TableName.Product_Column from Subject_Area where category_column = 'Incidents' i get the corresponding value as default.
    But i want this 2nd prompt (product) to dyamically default depending on the 1st prompt (category) chosen by the user.
    I am using OBIEE 10.1.3.4 and i have googled a lot on this topic...
    can we not use Presentation variable in the SQL default section of the Dashboard Prompt?
    Any help in this regard would be highly appreciated.
    Thanks
    Ashish

    Thanks for the Quick Reply.
    But the functionality that i want to achieve is the default value in the 2nd column (out of many values for 2nd column) based on the 1st column chosen by the USER. for eg we have two columns in our database ie category and Product.. Data goes like this
    category ProductName
    Incidents --- A
    Incidents --- B
    Incidents --- C
    Changes --- D
    Changes --- E
    Projects --- M
    Projects --- N
    Projects --- O
    Projects --- P
    If the User chooses Incidents in the first prompt then the default in the 2nd prompt should be B ( out of A,B,C Values available in the 2nd prompt)....
    Checking the constraint checkbox doesnt solve the default problem...
    Thanks
    Ashish

  • Using presentation variable in a dashboard prompt

    Hi All,
    Can we use a presentation variable set in 1 dashboard prompt in another dashboard prompt to filter the values shown in the prompt based on the value selected in the first prompt?
    I am using SQL results in the second prompt.So, Iam not able to constrain the results. Any ideas?
    Thanks.

    Steps:
    1. 1st Dashboard prompt set Presentation Variable name say pdashboardprompt1
    2. In 2nd Dashboard prompt set Presentation Variable name say pdashboardprompt2
    In SHOW SQL results for 2nd Dashboard prompt. Select constraint
    SELECT Table1.Column1 FROM "SA" WHERE Table1.Column2 = '@{pdashboardprompt1}'

Maybe you are looking for