Constrain option in Dashboard prompt hurts performance

I want to constrain the choices available for one prompt based on the value of the first prompt. Both of these values come from dim tables. If I don't have the constrain option checked, the values populate within seconds. With it checked, though it takes about 4 minutes. How can I improve the performance on this? I saw one blog where the use of alias tables can do this, but I was not sure how that worked

Hi,
Some tips from my side
1>Make sure you have not selected Limit values by All Prompts.
2>When you make a dimension constraint on another dimension, these dimensions will join via a fact.
Making use of a dummy implicit fact column (with no aggregation specified) you can make OBIEE server select a fact table with less records or an aggregate table.
3>Create materialized views with query rewrite enabled. Include these dimension columns in select clause of materialized views. This way you can improve performance of this as well as other prompts and reports.
In the link you have given above the join between emp and prod is not mentioned. Emp still has to join Prod via sales table, so there is no performance improvement.
Hope this helps
Thanks

Similar Messages

  • Constraining Values in Dashboard Prompts

    Hi,
    I have a question about constraining values in dashboard prompts. Do all fields need to come from the same table as I am finding constraining values is not working where I am selecting some values from different tables:
    For example
    Start Date - Fact Table
    End Date - Fact Table
    Salesperson - Org Dim
    Market - Org Dim
    Introducer - Org Dim
    Customer - Org Dim
    I am trying to constrain values beginning from Salesperson and so on but this does not work.
    Is this the expected behaviour? should all values be retrieved from the same table in order for this to work?
    Thanks

    Hi,
    Below is the filter I am applying in the report:
    "Agreement Fact"."Prop Creation Date" >= Evaluate('to_date(%1,%2)','@{startdate}','YYYY-MM-DD HH24:MI:SS')
    and "Agreement Fact"."Prop Creation Date2" <= Evaluate('to_date(%1,%2)','@{enddate}','YYYY-MM-DD HH24:MI:SS')
    and Organisation.Market = '@{market}'
    and Organisation."Sales Person Name" = '@{salesperson}'
    and Organisation."Introducer Name" = '@{introducer}'
    and Organisation."Customer Name" = '@{customer}'
    I have selected constrain in the report from salesperson onwards but instead when I run the dashboard report the values beginning with salesperson do not show.
    I definitely know that data exists for the date parameters(startdate and enddate) and market parameter. I have run a report in answers using the same parameters as in dashboard and do see data.
    Can anyone help?
    Thanks
    Edited by: sliderrules on 14-Mar-2011 05:57

  • 'Operator' option in dashboard prompt

    Hi,
    I have a query about dashboard prompt, when we are creating it, there is some options for us to choose,
    There is a 'Operator' option, like 'is equal to / is in', 'is less than', the options are the same like filter options in request.
    I'd like to ask what effect does it have in dashboard prompt?

    Its same as when you use filter in Answers Report.
    Eg: Suppose you want to see data where AMT is greater than $5000 or When you try to use between operator for dates or some LIKE pattern matching dimension attributes.

  • Problem showing constrained values in dashboard prompt using a specific val

    Hi all,
    I'm using a dashboard prompt showing several fields ie Company, Business Area, Dept. They are set as the following:
    Drop Down List Box
    Show > All Choices, Constrained
    Default > Specific Value
    The requests work fine with these prompts. The problem is if I go to Dept drop down, all I see are '(All Choices)' and the default dept I established defining the prompt. There are other depts for the same Business Area that I want to see, not just the default value.
    What did I do wrong?
    Thanks in advance

    Hi ,
    may be the problem with company also ,you enabled the constrained to company as well i guess..
    Just check with this order Business Area,Dept , Company , .. enable the constraint for company and Dept and test the prompt by selecting the business area , are you able to see the company and dept correctly or not.
    Just a testing method ...helpful for you.
    Thanks,
    Ananth

  • Tricky constrained dashboard prompt

    Hello experts!
    I have some tricky setup for dashboard prompt. I'm using Oracle 10g.
    Assume there are:
    - Product dimension which has hierarchy in 3 levels
    - Account dimension which has hierarchy in 2 levels
    - Service request dimension
    - Service request fact
    I need to build a report based on service request fact which is filtered by attributes of the dimensions mentioned above.
    Problem is about the prompt design, which is required to work like that:
    - 3 Product Level fields should constrain each other (means when I choose Level 1 value, Level 2 and Level 3 values should be correspondingly limited), but not any other fields in the prompt.
    - 2 Account Level fields should constrain each other (means when I choose Level 1 value, Level 2 values should be correspondingly limited), but not any other fields in the prompt.
    - Several service request dimension attributes (e.g. Open date) which should not constrain any other fields in the prompt.
    Speaking otherwise, product hierarchy choices should be constrained by product fields only, account hierarchy - by account fields only and other fields should not constrain anything.
    When you build dashboard prompt, there is a Constrain checkbox present for field, but unfortunately field values are constrained by ALL other fields in the prompt. That means, when I enter SR Open Date range interval, Product and Account levels will be constrained only to service requests within that interval, which is unwanted. This behavior also has negative performance impact, since different dimension are joined through the fact (which is pretty large table), while it is not actually needed.
    Solution I have in mind: create and use multiple prompts (separate for Product, Account and SR fields), but operating multiple prompts is not so user-friendly and is a bit confusing (you cannot apply multiple prompts at once).
    Any ideas how to implement such a functionality?
    Thank you in advance,
    Alexei
    Edited by: Alex H. on Apr 16, 2012 7:22 AM

    Hi MK,
    Do you mean implicit fact column for subject area using SR logical fact?
    This would not eliminate the joins between fact and dimension tables, hence will not solve the issue.
    What I tried as an option: created separate logical dimension containing multiple LTS-es (separately for each real dimension) and joined that dimension to dummy fact on logical level.
    When querying data from this dimension, physical tables are queried together without any join criteria, only filters are applied. This actually solved the original issue, but there is a performance hit since this is cartesian join query.

  • Functionality of Constrain in Dashboard Prompt

    Hi,
    Created a Dashboard Prompt with 3 columns and enabled the option 'Constrain'. Now, I would like to alter the default functionality of this Constraint. How can I do this?
    Thanks in Advance,
    -Vency

    Hi Casimo,
    When I use check the 'Constrain' option in the Dashboard prompt able to restrict the values but some of the fields in the prompt are not populating.
    I took 5 fields in the prompt and all are checked constrain. When I select a value in the first prompt, it is affecting correctly to the second prompt but results in no values to the other prompts. I have checked the log in Manage sessions and it is because of using second prompt previous value to populate the values in subsequent prompts.
    Year || Quarter || Company || Account || Department
    2007 || Q1, 2007 || C1 || Acc || Dept
    When I change the year to 2008:
    2008 || Q1, 2008 || -- || -- || --
    According to log file, to generate Company, Account and Department prompts it using 'Q1, 2007' instead of 'Q1, 2008'. Here, it requires to press the GO button to populate the values correctly but need to implement without clicking GO.
    This also causes another problem which I have posted previously Error during Navigation...
    If I uncheck 'Constrain' option getting no error but need to get the constrain behaviour either this way or any other so that I can resolve the above issues.
    Looks bit of complex... please let me know if your not clear... and it is a urgent deliverable for me..:(
    Thanks for giving Reply,
    -Vency

  • Constrained values not generating correctly in Dashboard prompt

    Hi,
    I have a dashboard prompt which has 4 drop downs viz From Month, From Year, To Month, To year and one Mullti Select Product.The default and the drop down values for the first four prompts are controlled by SQL queries so that in drop down only those values are displayed in the drop down for which i have data in my fact tables and the multi select of product is a constratined one.
    As per the current scenario i have data for current month - 1 (say if current month is August so i have data for July). In the default values for these prompts i show the current month and year (August and 2010). So when i select July in my From Month prompt the values for other promts get set to August and 2010 for month and date prompts (both From and To). And then when i click on the multi select of product no values are shown on OBI screen even though they are in database.
    This is due to the fact the query that OBI genrates in the backend the To Month is set to August not May, even though May is shown on the dashboard.
    However, if cilck on GO then the values for contsratined promt are generated correctly and also the backend query changes the To Month is set to May.
    Could somebody help me to resolve this problem.
    Thx :)

    Reminds me of a bug I hit with constrained prompts and a time dimension, but I didnt have another dimension (your Product) in my case. I'll try and dig out the bug number for you. - Have you got a support account to login and check it out?

  • Column constrain doesn't work correctly in dashboard prompts

    Hi,
    We have a dashboard prompt with 3 columns. The first both columns are set to default values. The last column has multi-select control with checked Constrain checkbox. The shown values should depend on the values of the other columns.
    If a user opens the multi-select window to choose values, only values are visible, which depends on the values of the other columns. This is the expected behaviour.
    But if the user clicks on the Go-Button in the multi-select window, all possible values are shown. Can anybody let me know why this is happening and how to overcome it.

    Hello,
    I think that this is the default behavior.
    At my reports happens the same, so nothing is apparently wrong in your prompt.
    Does anybody know a way to avoid this behavior?

  • Help needed with Dashboard prompt using SQL Constrain

    I am trying to implement a filter using presentation variables in a Dashboard Prompt.
    I wish to use SQL filter to Constrain the results to populate the 2nd Combo Box.
    The solution works for the 1st time, and there after it doesn't.
    Can anyone suggest a better approach or correct me if I am doing anything wrong.
    NOTE: I do not wish to use 'Constrain' Check box which is provided by Oracle.
    The code -> http://picasaweb.google.com/lh/photo/GTEQfuC6g7xGeP6HXor6_A?feat=directlink
    It works the First time ->http://picasaweb.google.com/lh/photo/SUrrZJSgB5W8H39D899yGQ?feat=directlink
    Hence forth it does not -> http://picasaweb.google.com/lh/photo/vUVrMPbPpdEzj7nHnePZEg?feat=directlink
    -Rohit.

    hi....
    your picasa is not opening.. i don't know why??
    follow this.. Can presentation variable created in one Dashboar prompt be used in other?
    see my first reply in this thread..
    may it solves..
    Thanks & Regards
    Kishore Guggilla

  • Dashboard Prompts in OBIEE 11g

    Hi all,
    I had a requirement:
    In my dashboard page , prompts are YEAR , QUARTER , MONTH , PRODUCT NAME , ORDER NAME .
    Now when i select  YEAR = 2010 , then Quarter should display values related to 2010 .
    If i select Quarter = 2010 Q1 then month should display only related values.
    which is like creating dependency between the dashboard prompts.
    Can some one please help me in this issue .

    In your dashboard prompt properties you need to tick the 'Constrain' box for all the columns that you want be constrained by the other choices, e.g Year, Quarter, Month.
    Only tick Product Name / Order Name if you want these to be constrained also but bear in mind it could cause a performance delay if you are having to join tables to get the constrain.
    Hope this helps,
    Regards
    Alastair

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Calculations in Page /Dashboard Prompts  in OBIEE doesnt work for me .

    Hi ,
    Iam trying to create a Custom Aging Report instead of using the OOB Aging report . In the report I created column ( only at this report level) "% of Outstanding Amount in AR Past Due 1- 30 Days" by changing the "Fx" and Now I can see the $$ amount that customer has due as well as how much % is that in the total Outstanding Amount. The report is coming good. Now I have a business requirement that the groupings such as 1-30 , 31-60 , 61-90 , and 90+ should be given in dashboard prompt . I could create 1-30 , 31-60 , 61-90 but 90+ ( 91-180, 181-360 , 360+) prompt is not working as I tried to concat these three groupings and iam getting the error message as " Un resolved column error , Concat Function does not support." and other thing when i tried to create a calcualted % prompt even that is giving me error message as " Unresolved colum. I think the Calculations doesnt work for Dashboard prompts ..but iam not sure ..May be Iam missing somethg , Can anybody pls help me in getting this fixed . How to create a calculation for page/Dashbaord Prompts ...I tried using the sql too but still it gives the error.
    Please help
    Thankyou
    Karthik

    In your dashboard prompt properties you need to tick the 'Constrain' box for all the columns that you want be constrained by the other choices, e.g Year, Quarter, Month.
    Only tick Product Name / Order Name if you want these to be constrained also but bear in mind it could cause a performance delay if you are having to join tables to get the constrain.
    Hope this helps,
    Regards
    Alastair

  • Dashboard Prompt Issue

    hi all,
    I have taken four coulmns as prompts.
    Prompt coulmn names : Region, Start date, End Date, Meeting name.
    All the four columns are from the same table
    My Scenario:
    if the user selects the prompt 1[region], and then the prompt 2[start date] and 3[end date] in order, then for the prompt 4 [meeting name] - i should get the meetings that were conducted for that region and between the specified dates.
    i have selected the constrain option for the 1st three columns in the dashboard prompt.
    but still i am not able to get the particular list of meeting names...
    pls suggest me some solution...
    thanks,
    ILAZZ

    Thanks Guys, This works...
    I have given the constraint in the meeting also.
    Now, the dates prompts are giving some problem..
    only if i give the exact value for the start and end date i m getting the result
    For Ex: if i select xxx as region and give 2-24-10 as start date and 4-30-10 as end date then i m getting the exact 5 meeting names record.
    if suppose i select the filters from 1-1-10 to 4-30-10, i should get all the meeting names which falls between those dates.
    but it is giving the result as "No results"
    how to rectify this ? pls help me.
    regards,
    ILAZZ

  • Selecting Multiple dimensions without using Dashboard Prompt

    Hi All,
    We have and requirement where we need to given an option to users where they should be able to select dimensions values to check set of reports in dashboard based on these selected values.
    As we know one way is to have dashboard prompt and all the reports which we need to analyze under this, but in dashboard prompt if we more values selected values will take more time.
    Instead we want in one page all the dimension values will be there and we need some thing like check box option in front of dimension values and based on the dimension values selection, we need to analyze reports available in another dashboard page.
    Thanks in advance.
    Regards,
    Som

    Thanks John for your reply.
    I'm not sure this is going to help me, may be my question is little bit confusing. Let me explain with some example.
    Lets us consider a dashboard page where we have All US States as global filter. Suppose by default global filter will have All values but now every time we want to analyze by selected states now to perform this we need to edit global filter and add States by which we want to analyze.
    By this option we are able to get the result what we want, but problem is that suppose every time we want to analyze by these states only the every time when we login we need to edit global filter again and again. which we don't want to do again and again.
    Now my questions are:-
    1. Is there a way to save values selected into global filter for future use by which we cab avoid selecting values again and again (one way is that we can add defaults in global filter edit mode but can we do this outside.)
    2. Or can we provide in one page just to select the values of analysis like dimensions and next to dimension like check box just to select values and in other pages based of the values selected.
    Regards,
    Somu

  • How to realize this reqirement in the dashboard prompt in OBIEE 10G?

    Hi,
    I have a new query about dashboard prompt in OBIEE 10g..
    All below is needed to Operator in the dashboard prompt.
    We have 4 columns, 4 columns using multi-select type need to constrain together and need to show value which is related with product..
    e.g.
    Now I display "REGION" column using multi-select in Control, and I need to show data which product name is not null. After I add "where product name is not null" in the SQL results in Show, then I cannot use the Constrain box.. and I cannot set any variable if I using multi-select type..
    So anybody have any idea about this?
    Your reply will be highly appreciate..
    Regards,
    Anne

    Hi Anne
    User Input type as " Multi select prompt" keep it with constrain option then apply below query
    apply like this kind of SQL query in Default selection --->SQL result section
    SELECT "MX_PORTFOLIO_STATIC"."MT_BU_Level1" FROM "Position" where "MX_PORTFOLIO_STATIC"."MT_BU_Level1" is not null
    Thanks
    Deva

Maybe you are looking for