OBIEE 11G Prompt population based on fact

Hi,
Can we populate a prompt(based on a dimension) with only those values for which there is data available in the fact table? eg. If we have prompts based on product and time dimensions and a particular date range is selected, the product prompt should only contain values for which data is available in the fact(on which the metrics are being reported).
Is there a way to do this? I understand that it might not be the most performant solution since the prompt population query would hit the fact table every time another prompt is changed.
One option is to limit values by the date prompt for the product prompt and define the implicit fact column in the RPD for the subject area. This would work for multi-column prompts but not for(I think) separate prompts in the same page.

This works for separate prompts by using SQL results(in product prompt) referencing presentation variable set by the date prompt

Similar Messages

  • 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

  • Restricting the Prompt Values based on Fact table data

    Hi,
    We need dashboard prompts in OBIEE reports that will fetch data from dimension tables. Our all dimensions are conformed dimension having joined with multiple fact tables.
    Because prompts are showing data from dimension table, it is showing all dimension data and few data might not present in the particular fact table that we have used in the report.
    For Example:
    We have one Calendar dimension table that has 20 years data that means all dates. Now we have two fact tables Fact1 and Fact2.
    In Fact1 we have records related to only 2007 Years data. And In Fact2 We have 2008 years data.
    Now We are creating two separate reports in two separate page in one dashboard where the prompt is same. That is Calendar date prompt.
    So In report1, The prompt will be Calendare and Result will be from Fact1. But as the calendar prompt from Calendar dimension, it showing all 20 years data though only 2007 years data is valie.
    Similarly for Report2, It is showing all calendar dates in the prompt where Fact2 is having 2008 year data.
    I want to show only 2007 years dates in the prompt for Report1 and 2008 years dates for Report2. That means I want to restrict prompt values based on the fact.
    It will be great if someone can suggest on this.
    Regards,
    SS

    Hi, I have a similar problem.
    I have two dimensions: time and customer.
    The two dimensions are joined into two Fact Table (Order, Forecast).
    I created a dashboard prompt with two selections: the first is the Year (time dimension) and the second is the Region (customer dimension) with the option "cosntraint."
    When I select a Year, not all Regions are shown, but only those that are present in one of two fact table for the year chosen. Which fact table?
    What criteria will limit the values of the Region?
    Thanks

  • OBIEE 11g prompt requirement

    Hi,
    I have one prompt requirement.
    I want to show custom values in prompt depending on the values present in column.
    e.g. The values present in column are aaa, bbb,ccc etc.
    I want to show value='Impr' when aaa else 'Unimpr' in prompt.
    I am using OBIEE 11g.
    Please let me know if u need more information.
    Thanks.

    [url http://gerardnico.com/wiki/dat/obiee/double_column]OBIEE11g double columns

  • OBIEE 11g - Prompt Validation

    Hello Gurus,
    I am trying to validate a textfield prompt in a dashboard page, OBIEE 11.1.1.6, and looking for some assistance on the same. Have detailed the scenario below.
    Scenario:
    A dashboard page has a textfield prompt, which sets the value entered by user in a Presentation Variable "rg_office". The same dashboard page has a report, wherein one of the columns is "Office". Depending upon the value entered by the user in the textfield prompt, report would be displayed.
    As we know, by making "Office" is prompted, report would be displayed. In case there is no matching value, filter section would show no match found.
    What I Want:
    The value entered in the textfield prompt should be of specific format. I want to show end-user an alert message if the value entered by him/her does not correspond to a specific format (format like 99:99 only). How can I incorporate the same in my dashboard?
    Eagerly awaiting response.
    Thanks & Regards,
    RG

    Hi Rahul,
    Create a report that checks for the data format. Make sure the report returns rows based on your condition.
    Add a static text " Please enter the data is correct format " to dashboard section, make the section to display conditionaly by adding the above created report as a condition. Whenever user enters incorrect format the text will display instead of actual report. For more info on guided navigation,
    http://gerardnico.com/wiki/dat/obiee/guided_navigation
    Regards,
    Dpka

  • OBIEE 11g Prompt Issue

    I've a dashboard prompt containing a column *'Fiscal Year'*. While opening 'Fiscal Year' in prompt, it shows data like *2012.00,2013.00*...etc though in database data are liike *2012,2013*....etc. How can I rectify this decimal position??
    Any suggestion is highly appreciated.
    By the way, I'm using OBIEE 11.1.1.5

    Hi,
    Go to your RPD Physical layer > change the Year column data type double into int then test it out. it should work
    also u can try to use round function on the Dashboard prompt year column (edit prompt year column formula section add it)
    example: Year data is 2010 then if u use round fxn
    ROUND("MT BUSINESS DATE"."Year",0) this will give u 2010
    ROUND("MT BUSINESS DATE"."Year",2) this will give u 2010.00
    Thanks
    Deva

  • Obiee 11g prompt

    Hi,
    I have a requirement. i have a prompt with countries. after opening prompt there will be 100s of countries. for example
    three country names starting with letter I (India,Iran,Indonesia). If the user presses I in keyboard the pointer in prompt should point to India. But it is not moving in obiee prompt. Please help me because it is needed immediately.
    Thanks in advance
    aswin

    Aswin,
    Your requirement is fixed in OBIEE 11.1.1.6.0
    See the below link for your reference.
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/prompts.htm#BEIJEJGI
    New Features for Oracle Business Intelligence Users
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/whatsnew.htm#CJAIIBCB
    Thanks,
    Balaa...

  • OBIEE 11g Prompt calculation

    Hi
    I'm quite new with Obiee. Is it possible to make prompt which make calculation for a specific column?
    For example:
    When user open analysis, the analysis asks to enter a percent. User input percent: 60. After that one column's values are calculated automatically: (columnvalues x 0,6).
    Thank you

    In the prompt pull any (number) column, select as text/edit field, set Presentation variable and use it in your report.
    if helps mark
    ~ http://cool-bi.com

  • OBIEE 11G prompt values are not applying

    Hi There,
    I am using OBIEE11g, I have a dashboard which consist of a prompt.
    In prompt I have filter condition on Start date and End date with default values, when I run the dashboard it gives me some ODBC error, it doesn't applly the default values.
    But when I click apply button on the prompt, it gets executed for the default values.
    What should I do?
    Plz help.
    Thanks in advance,
    Pushpesh Pallav

    Hey André Fumian,
    Did BEx query changed/modifications done??
    Does the prompt variable condition is changed @BEx level ??
    For all, what you did changes @BEx, will not automatically update the Universe.
    To do the same job follow the suggested.
    1. Open Universe
    2. View == refresh Structure
    3. Now you can see Updated things and deleted objects (######)
    4. Say OK
    5. Save Universe
    6. Export it.
    Now Open reports and see the LOV's showing up...
    Hope it solves the issue.
    Gracias...!!

  • OBIEE 11g additional table in the generated sql

    Hi gurus,
    In OBIEE 11g RPD, we have a fact table whose source table is consisted by table A, B, C. Table A joins to table C while table B joins to tables C. And in the content tab, table C is used to filter out some records . If we select a column of A(The aggregation rule of this column is SUM) in the answers only, then table A, B, C are in the generated sql. If we remove the aggregation rule of this column, then there're only table A, C in the generated sql. We're wondering why this happened, but can't figure out.
    In this case, the relationship between table B and C is many to one. So additional table B in the generated sql may cause wrong sum. And we need the aggregation rule to sum the number. On the other hand, we can't remove the join between table B and C, since other reports need the join.
    Could anyone please provide a solution to remove the additional table B in the generated sql?
    Thanks & regards!
    shell

    Are you using in one report data from tables A, B, C at the same time? If not:
    1) Try separating the logical schema by:
    - Create an alias table for A and B in the physical layer. Then join these 2 tables. No create another Alias table for B (with a slightly different name) and one Alias table for C. Join these 2 tables (B+ and C)
    - Then put everything in your BMM and presentation layer.
    - Test your results. Take into account that if you are working with data in tables A and B you have to use the "fact table" B but if you use data in table C, use instead fact table from table B+.
    Your logical schema would be like A-->B B+-->C
    J.

  • 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

  • OBIEE 11g - serious problem when rotating columns into "table prompt" area

    Hi, I'm hitting an OBIEE 11g issue that's causing huge problems on reports. Essentially, the problem is this - if I dump all the columns of a query to a table, everything looks fine. But if I rotate one of the columns into the "table prompts" area, OBIEE is actually resubmitting a WRONG query. The query format changes from:
    WITH
    SAWITH0 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
    where  ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC)
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select distinct 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH0 D1
    order by c2 ) D1 where rownum <= 65001
    and changes to:
    WITH
    SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period */*
    where  ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) ),
    SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
    where  ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC),
    SAWITH2 AS ((select distinct 0 as c1,
    D1.c1 as c2,
    cast(NULL as  DOUBLE PRECISION  ) as c3
    from
    SAWITH0 D1
    union all
    select distinct 1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH1 D1))
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    SAWITH2 D1
    order by c1, c2 ) D1 where rownum <= 65001
    I completely do not understand what is going on here. The second query has a ton of problems. First off, it's doing some type of UNION operation - no idea why it's doing that. And the real problem is that it's unioning results from a different fact table, FACT_LEDGER_period instead of FACT_LEDGER_ytd, which is completely screwing up our results.
    Long and short, I simply don't understand at all why the query should change just from rotating a column up into the table prompt area.
    Any ideas?
    Thanks,
    Scott

    Hi Scott,
    I see the query to be valid with each CTE doing the following Jobs.....
    1. I understand that this particular query is being generated to get the unique "ORG_ID_DESC " to fill up the table prompts.
    SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period /
    where ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) )
    2. This particular query is to get each prompt value and its corresponding data
    SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd /
    where ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC)
    3. This particular query, I understand is to get the following data (Sample data) relating the prompts and their corresponding data
    column (c1) ;column (c2 ie ORG_ID_DESC); column(C3 ie sum(T38965.ORIGINAL_BUDGET))
    0;               ORG_ID_DESC1; NULL
    1;               ORG_ID_DESC1;10
    0;               ORG_ID_DESC2;NULL
    1;               ORG_ID_DESC2;40
    0;               ORG_ID_DESC3;NULL
    1;               ORG_ID_DESC3;29.8
    SAWITH2 AS ((select distinct 0 as c1,
    D1.c1 as c2,
    cast(NULL as DOUBLE PRECISION ) as c3
    from
    SAWITH0 D1
    union all
    select distinct 1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH1 D1))
    4. The last select statement does nothing but selecting the needed data which later gets arranged in the format as needed by the OBIPS
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    SAWITH2 D1
    order by c1, c2 ) D1 where rownum <= 65001
    Now, on the table being chosen for picking up "ORG_ID_DESC" might be pretty much depending on the best source available as you know. If you would like BI Server to pick up any particular source, probably you could try the "LTS Priority Group" way.
    Hope I was clear and it helps.
    Thank you,
    Dhar

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

  • Prompt to Report navigation - OBIEE 11g

    Hello,
    I've three tables (3 different requests) to be displayed in a page. Each of these tables has one identical column eg. project_name (but from different database tables).
    My requirement :
    1.I should have only one prompt to select the project_name at the first page
    2.Only after selecting the project_name, the page should navigate to another page which displays all the three tables
    Kindly let me know how can I get the prompt to report navigation done.
    Thanks!
    Dinesh

    Hi ,
    Only after selecting the prompt you have to show the reports means use the guided navigation.
    Only after selectiing the Project_name , you can show your tables.
    But this can be done on the same page not on other page as you needed.
    Also check the below link may be helpful to you
    OBIEE 11G - Navigation:How to open in New page/new tab.
    Thanks,
    Ananth

  • Image Prompt in OBIEE 11g

    Hi,
    I would like to know how to configure the image for image prompt option in obiee 11g.
    I done it in 10g.
    Please help.
    Thanks,
    Lakshmipathi.

    Hi,
    Placing the image file in /l_en folder dint work for me too however you can place them inside the following paths and restart the services,
    1)
    \MW_HOME\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res\s_blafp\images
    2)
    \MW_HOME\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
    You can then call your file with the url, http://hostname:port/analytics/res/imagefile.jpg
    Its worked for me, let me know in case of any issues.
    Thanks
    Deva
    Edited by: Devarasu on Sep 18, 2011 1:33 AM

Maybe you are looking for