How to restric Prompts value in OBIEE 10g

Hi Gurus,
We have a prompts which consists of Dimension and fact. In prompts i have Fiscal year prompt from the Time dimension. When i put as a drop down it is showing all the values which are present in Time Dimension. My requirement is to have only the Fiscal year information which has the data in the fact table.
For example: If my fact table if i have data from 2010 - till 2012 it should show me the values in that prompt feild 2010, 2011 and 2012. But it showing data from 2008 till 2020, which our Time dimension having the data.
I tryed to use the SQL results but it does not take the greater or less then in the SQL.
Please help me its bit urgent.
Thanks in advance.
Ali

Hi Ali,
Can you write a Sql using the following thing:
Select Year_num from TimeDimension where Year_num In (2010,2011,2012)
Try above else... Select timedimension.year from time dimension where timedim.year in ( facttable.year_num)
step1: Select year from time dimension.
step2: column: year from time dimen , operator : is equal/is in , control: drop down, show: change her to sql results (Add where year in
(2010,2011,2012 ) , default: report defaults.
Above displayes 2010,2011,2012 as year options.
--- preview it should work
Edited by: 831909 on Feb 6, 2012 9:18 AM

Similar Messages

  • Column hiding based on Dashboard Prompt value in OBIEE 10g

    Hi,
    Can you please let me know, whether there is any possibility of "hiding the column based on the value selected in the Dashboard Prompt".
    Your suggestions are highly appreciated.
    Thanks & Regards
    Siva

    Hi,
    Simple way to solve it.
    Steps
    1.) set presentation variable for each columns of your dashboard prompt
    2.) edit your analysis of table/pivot view ---> colums formate header in this place just keep it your presentation variable values like below
    E.x
    @{ccy}
    Then save it and then test out
    Some more reference:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting
    http://total-bi.com/2011/03/obiee-dynamic-column-headings
    Thanks
    Deva
    Edited by: Devarasu on May 17, 2012 8:32 PM

  • How to get prompt value in Financial Reporting and use it as header

    Hi Oracle Gurus,
    I have Hyperion Financial Reporting 11.1.1.3. I created a report.
    I have Products dimension on rows. And I also have prompt for Products.
    Let's say there is 3 products, Product A, B, and C, with each has its own level 0 item (for example A1, A2, B1, C1)
    Currently in my situation, user will be prompted to select a list of Products, and then the report will display only the level 0 of the product chosen by the user. For example, user select Product A, then the report (or the grid) will display A1 and A2 on rows. User select Product B, B1 will be displayed.
    My question is, I want to create a dynamic header report, so how can I get this prompt value and use it as a report header? For example: Sales of Product A when user choose Product A, or Sales of Product B when user choose Product B.
    Thanks a lot for your response.

    Hi,
    Here is the possible way to achieve it:
    1. Insert a row (may be as row 1) in the report which has product as "User prompt".
    2. mark this row as hidden always
    3. User other rows as level0 of product in row 1
    4. Use MEMBERALIAS in your header to use product as dimension & row as row1
    Hope it helps !!
    Edited by: user8628169 on Jun 22, 2011 10:53 AM

  • How to analyse business requirements of obiee 10g.

    Gurus,
    Recently i had an interview with a company, whom asked several questions related to Requirements collection, Business specification, technical document of OBIEE. They questioned
    How you go about starting from requirements collection to deployment. I could not answer properly. I did few development part on obiee 10g. I am not aware of the above mentioned one. I searched above things relate to OBIEE 10g but could not get information. I would request you all please suggest/guide me on above things.
    regards
    chandra kanth.

    Hi,
    Request you all please advice me the above mentioned question.
    regards
    chandrakanth.

  • How use a prompt value on a varible?

    Hi all,
    I would like to use a prompt value in a varible. How I can do that??
    Regards

    Hi,
    UserResponse function is used to capture the values entered in the prompt. The syntax is:
    UserResponse([DataProvider];"PromptText") and it returns the prompt value in String format.
    You can use this in your variable.
    Regards

  • How to pass prompt value to columns with formula?

    Hello guys
    I have a situation:
    I have a report with 1 column name 'product' and in this column it has a case statement like 'case when item is ('a','b','c','d') then 'Men' else 'women' end'
    Then I have created a dashboard prompt of the exact same column, and I defined the same case statement in the prompt's column formula as the same.. Then I tested the prompt and it is returning only 2 values 'men', 'women'..
    However, when putting the prompt and report on the same dashboard, the report is not accepting the prompt values..
    Then I set the presentation variable on the prompt and call it 'Product', then in the report I created a filter on 'product' column as equal to presentation variable 'product'--- I tried with and without single quotes.. So the filter itself looks like : case when ...... is equal to / is in @{product}
    However, when I then return back to the dashboard, I am getting the error:
    State: HY000. Code: 388918336. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "Product". (HY000)
    Could anyone help?
    Thanks

    Hola
    is possible that are you using a BINS agrupation into the Column Formula?
    if you form a CASE statement using a Bins agrupation, in the column Formula, this must be disabled to match statements between columns and DB Prompt
    if you are using a BINS agrupation to form the CASE statement, you have to delete the bins agrupation in the Column but keep the CASE statement
    Regards

  • Restricting dashboard prompt values in obiee 11g

    Hi All,
    I have a requirement to restrict the length of the dasboard prompt value to min of # characters.
    Please let me know if you have any idea (JScript).
    Regards,
    Zameer

    See http://msdn.microsoft.com/en-us/library/gg622942%28v=VS.85%29.aspx
    Basically, IE9 breaks flash ExternalInterface calls if your flash component is embedded with an object tag with an embed tag fallback, and the object id and embed name is the same.
    The easiest workaround is to tell ie9 to render your page in IE8 Standards mode. To do this, insert this in the element:
    <!-- Enable IE8 Standards mode --> <meta http-equiv="X-UA-Compatible" content="IE=8" >
    Otherwise, you might just want to use the object tag only or embed tag only.

  • How to Return a value to a 10g Oracle Form form a Web Service Call

    I've read the demo available from Oracle, 'Calling a Web service from Oracle Forms', that shows how to invoke a call to a Web Service from a Form. The demo only shows how to do a call and how to display messages. I've done some searching, but can't seem to find any examples of how to return a value from the call into a field on the form. If any one could provide an example of that, I would greatly appreciate it.
    We are in the process of modifing a form and we would like to use a webservice, which we have never done before. We have created a webservice which calculates a value based upon what is entered on the form and we want to pass that calculated value back to a field on the form.
    This is the code provided by the demo to do a call.
    DECLARE
    jo ora_java.jobject;
    xo ora_java.jobject;
    rv varchar2(100);
    ex ora_java.jobject;
    BEGIN
    JO := SendServiceSoapClient.new;
    RV := SendServiceSoapClient.sendMessage(JO,:BLOCK3.PHONE_NUMBER, :BLOCK3.MESSAGE_BODY, xo, xo);
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;

    In the future, please be sure to include the exact product versions you are using. In this case, also be sure to include the java versions you are using to build your java code.
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    Regarding your question, take a look at this older white paper which discusses integrating Forms with SOA.
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/forms-soa-wp-1-129441.pdf

  • How To retain Session Value in OBIEE

    I have a requirement to pass session variable from one page to next page in the dashboard.
    Requirement :
    In Presentation Part:
    Prompt : Column1: Year
    Column2: Quarter
    I have to pass the Value selected in the dashboard prompt to the repository. To achieve this, I have stored the Year and Quarter Column value in 2 Request variables from the prompt.
    Request Variable1 : VarYear stores Year Value selected
    Request Variable2 : VarQuarter stores Quarter Value selected
    In Repository Part:
    1. I have created 02 session variables in repository with the same name as : VarYear and VarQuarter
    2. Under the Intitialization Block of Both Variables I have written a dummy Query as
    'SELECT PER_NAME_ENT_YEAR FROM W_DAY_D WHERE PER_NAME_ENT_QTR IS NOT
    NULL'
    3. Checked the Box to 'Enable any user to set the value' for both the session variables.
    4. Used the session variable to pass as a filter under the content tab of the LTS of Revenue Measure as follows:
    '"Oracle Data Warehouse".Catalog.dbo.Dim_W_DAY_D.PER_NAME_ENT_YEAR = VALUEOF(NQ_SESSION."VarYear") AND "Oracle Data Warehouse".Catalog.dbo.Dim_W_DAY_D.PER_NAME_ENT_QTR = VALUEOF(NQ_SESSION."VarQuarter")'
    Resolution : The session variables from the prompt is passing properly to the RPD and returning the result as expected for the current page(Both Prompt and the Report are in same page where I used the measure Revenue which is getting filtered in the LTS on the basis of Quarter & Year under Content Tab).
    Reuirement2 With Issue :
    I have to navigate from one page to another on click of Revenue measure value. The target page also contain the same Revenue measure as in First page. But On navigating from one page to another page the session value is getting lost and passing the by default value coming from the Session Initialization block insted of the value selected in the prompt.
    As per my understanding the session value should not be replaced untill a user log out from the application. But in my case for First page where I have both Promt and the Revenue measure the Prompt value is passing properly but When I am moving to second page where I have only the Revenue measure the session value which is already set early is replaced by Session IB query result.
    Please suggest me if there is any resolution for my issue.
    Thanks a Lot in advance.
    :)

    I've had this issue myself and here is what i found. The only way I could get it to work was to have the Prompts that populate the Session Variables on the pages. In other words if I had the prompt on one page and then used guided navigation to go to another dashboard page I needed to have the same prompts located on that page for the session values to get passed into. Since in my case I didn't want the prompts to display or the User to know I had to add Dashboard prompts in order to captures the passed Session Variable values, I placed the dashboard prompts for my Session Variables in a separate section and then hid that section from the User. I hid the section by selecting Properties - Custom CSS Style Options (HTML Only) and then clicked on the check box for Use Custom CSS Style. In the text box enter display:none which will cause the section to be hidden from the User. The prompts will then exist on the dashboard page to receive the session values and the User will never know it is there.
    Hopefully this helps.
    Eric
    http://www.BIConsultingGroup.com

  • How to display Prompt values in Narrative

    Using 11.1.1.6.2
    Within a dashboard page I have a table with a dimension hierarchy for organization. If you click a division it runs an action link to call a browser script (javascript in a text section on the dashboard) passing the division. If you expand the division and click a market it calls the same javascript function.
    The Javascript function then uses Go Path to refresh an analysis within an iFrame on the dashboard page and passes either the Division value or the Market value.
    The target analysis has two filters: Division is prompted and Market is prompted.
    So after all that my question is how could I display the two passed values from the Go Path call in a narrative on the target analysis? Or I guess the alternative question is how to display the filter values on the narrative.
    Sorry for the long explanation, but hopefully this makes sense.
    Thanks for any help or suggestions.
    Brad

    Use @n to include the results from the designated column in the narrative. For example, @1 inserts the results from the first column
    Assuming you want to show the selected value for Division from prompt.
    Add Division column in the report criteria and call it @1, where 1 is position of Division column
    You may hide the Division column from report, if you dont have to show in the report
    Edited by: Srini VEERAVALLI on Feb 7, 2013 3:22 PM

  • Multiselect & Drop-down Prompt usage in Obiee 10g

    Hi all,
    A prompt is created using the same column twice.
    First prompt,say Cust name with drop-down as option and it is set to constraint.
    Second prompt Cust name created with Multi-select as option for the user to select.
    When I select particular values from the multiselected option prompt, those values are reflected in drop-down listed prompt. This is working fine.
    But when I choose values using begins with option in the multiselect prompt(Eg: Inside the multiselect dialog, first i'm filtering the values as cust name begins with AR), then it is not reflected in the Drop-down prompt.
    My expectation is that it should get reflected whether the user chooses with/without search option in the multiselect dialog.
    Guys, pl share your ideas....
    regards,
    arul

    Hi,
    Try this.
    Look and feel is different of Obiee 11g as compare to obiee 10. but we can create Dashboard inside another dashboard(as u want in drop down).
    for this create new dashboard as follows:
    New-> Dashboard -> in Name section gives the name of new dashboard as u want in drop down -> in Location section choose the path from drop down list or u can browse -> click on OK button.
    Thanks,
    Satya

  • How to combine two reports in obiee 10g(not union)

    Hi Everyone
    I have got a requirement where client is asking to combine two report to one
    Report A has columns
    "Region", "category" ,"in house " ,"sales" which can be shown by applying filters for current running year
    Report B
    Region,Category, Week5,week6, week7,week8 in this showing sales in individual week by using pivot view and limiting to four weeks
    with a week filter
    Now client req is to combine both reports into single one
    region, category,inhouse,sales,week5,week6,week7,week8 here the issue is inhouse and sales data has show yearly data and week 5,week6,week7,week8 has to show weekly data .And weeks columns has to get updated automatically .
    I am having a confusion in this will it possible to combine both reports, if possible pls help out how to do it
    Regards
    Sandeep
    Edited by: Sandeep on Jul 31, 2011 9:20 AM
    Edited by: Sandeep on Aug 1, 2011 1:43 AM

    First of all, proof read your post. Generally, grammatical and punctuation errors can be deciphered, but where words are critical to presenting your issue clearly, you must type those sentences correctly. Otherwise, it can be confusing and turn off someone who may want to help.
    "...which can be shown without and filters and want data for current year." What does this mean?
    "...And weeks columns have to update its week no based on that week." What does this mean?
    In an attempt to answer you question, do this:
    1) Base your query filters on the "current running year." This will satisfy the requirements for displaying data from the first report.
    2) Now add 4 "sales" columns (i.e., same column, but 4 instances of it). In each of these columns, click on the fx button, click on Filters, go to your Time dimension and select the appropriate week, and then click "OK." Now, each of these columns will hold the measure value for the particular week while the "sales" column will have the "running total" for the whole time period.
    Once you get the above to work, you can work on automating this by substituting a function in place of the hard-coded week number values.

  • Date prompt issue in obiee 10g

    Hi Experts,
    Am facing the date prompt error, but the type is mentioned as date, after this also am getting same problem
    plz help
    Thanks
    Vijay

    Hi,
    It will be useful if you specify what error you are getting and what you are trying to do.
    Regards
    MuRam

  • How to use prompt with ppt

    Hello,
    Using obiee 11g,
    I am trying use MS Office Powerpoint with BI.
    So i downloaded the tool and then connected to BI Server login to MS office ppt.
    After login i tried to drag one report.
    When i did it told me "View cannot be inserted beacuse the result set may be empty".
    So this problem was caused because i am using dashboards prompts in my dashboard.
    How can i use dashboard prompts here in the ppt?
    Thanks

    Hello,
    Actually I am not using Bi publisher at all.
    What i did was.
    I downloaded the oracle bi for MS office.
    Then i installed.
    Then opened a PPT.
    Login to OracleBI inisde the PPT.
    Dragged a report/answers from catalog.
    But since there is a dependency on the prompts value there its sowing no results found.
    So i just wanted to know how to use prompt value.
    The link which u gave tells to use BI publisher parameter name and all.
    I dont have much idea regarding BI publisher.
    Thanks

  • Displaying Prompt values in webi report

    Hi,
    How to display prompt value in my webi report.
    For one prompt value I can user Userresponse function.
    In one of my report, I have a prompt for Date, which also should be displayed in the report under one field. I am using the below formula: =UserResponse("Enter Date:")
    But my new requirement is User wants a Date Range for a particual trasaction date. I created a report level prompt like
    Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
    I need to display the start date and end date user selected under one field Date in my webi report.
    how should I do that.
    Please share your thoughts.
    Thanks,
    Ven Men

    Hi Ven,
    You have created a report level prompt like
    Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
    1.Drag two blank cell on report.
    2.click on one blank cell and on formula editor type following formula.
    =UserResponse("Enter Tran Date(Start):" )
    This will show you start date in the cell.
    3.Similarly in another cell type the following formula
    =UserResponse("Enter Tran Date(End):" )
    This will show you End Date in respective cell.
    Do revert in case of any queries.
    Thanks,
    Sandeep B. Singh

Maybe you are looking for