Constraining values in Multiselect Prompt-urgent

Hi Guys,
I have a problem. I need to constrain the values in a multiselect prompt based on the values of another prompt.
Now the problem is, the multiselect prompt is constraining the values but when i search for some other value(which should have been constrained) it shows up.
I tried using presentation variable in the sql query for the prompt. But that also doesnt work.
Any help please..
Regards,
Ronnie

are you using two different prompts or one prompt with two column selections in it. if it is one prompt then u cannot use pre. variable in the sql query. since the variable will set only after you hit 'go'. create two prompts. one with pre. variable. then use this variable in the second prompt. in your dashboard u need to select a value from the first prompt b4 using ur multiselect prompt.

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

  • 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

  • Combine 2 Column Values in One Prompt - - - - Urgent

    Hi Experts,
    I'm Using Obiee10g.
    I have a requirement where i need to create a prompt (based on 2 column values)
    Example: Name of Prompt (Search Agency) it has following values
    Agency Type1
    Agency Type2
    Agency Subtype1
    Agency Subtype2
    Agency Type1, Agency Type2 are Major Types - Which comes from Column: Agency Type
    Agency Subtype1, Agency Subtype2 are subtypes - Which comes from Column: Agency Subtype
    I took a dummy column from subject area. Converted the Prompt to Sql Results and wrote the following condition.
    Select Agency_type from Agency where Agency Type in (Agency Type1, Agency Type2)
    union
    Select Agency_subtype from Agency Where Agency subtype in (Agency Subtype1, Agency Subtype2)
    Now, My Prompt is showing correct values.
    And, My Report has following columns: Agency Id, Agency Name, Agency Type, Agency Subtype (Agency Type is prompted or Agency Subtype is prompted)
    Now, My Prompt and Report not reflects properly as i need to use multi select for prompts
    If, i'm using drop down and storing the values in presentation variable and saying that
    Agency Type = pv1 (Presen. variable1) default a
    or
    Agency Subtype = pv1 (presen. variable1) default a
    Then, it works.
    But, I need Multi select prompt. And, i cannot use p.v for multi select.
    How to acheive the above functionality.
    Experts, Please guide me.....

    If I'm Using And Condition it fails.
    Because,
    Say I have Types as - Type1, Type2
    Say I have Subtypes as - Subtype1, subtype2, subtype3
    Type table
    Type1, subtype1
    Type1, subtype2
    Type2, Subtype3
    Now, if select prompt1 ( Prompt1 is prompted -> Type1 is prompted) ----> My report reflects for type1
    if I Select prompt2 (Prompt2 is prompted -> Subtype3 is prompted) -----> My Report reflects for subtype3
    If i use here And ----> it fails ( Type = Type1 and Subtype = Subtype3)
    It should be Or ----> (Type = Type1 or Subtype = Subtype3) ----> this passes only when i select both values. But, my requirement is it should pass for even one selection.
    It can be done for drill down and pres. variable. But, my requ. is multiselect.

  • Distinct Values in Multiselect Prompts

    Hello All,
    I have the following Constrained Multi-select Prompts....
    Partner, Country Group, Country
    Though the list of Partners is unique, the list of Country Group and Country repeats.
    If I try to use SQL to populate the prompt, I can no longer constrain it.
    Has anybody found a solution to this?
    Thanks!!

    OK, try a different approach then. Why not a prompt for "Partner" then use either a column selector for "Country Group" and "Country" or a drill down (or navigation) to the next report which filters on Country Ggroup and then on Country?
    One prompt, the rest is either a select (column selector) or a drill...
    HTH,
    David

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

  • Selected Values not displaying in Multiselect Prompt

    Hi all,
    We are having reports with Multiselect Prompts. When we select values , we are unable to see the corresponding values. Is their any rule like Multiselect Prompt won't work if there are Null values in it..

    Hi,
    There is no case that if your column contains NULL values multi select prompt wont work.
    It should work irrespective of values in column.
    Just check that you have selected Control as Multi select for Prompt column.

  • Multiselect prompt display values in title

    Hello,
    I have a prompt which is multiselect. Is there a way I can display the values selected in the title of the report?
    thanks,
    deep

    Hi,
    here an abstact from the support:
    Applies to:
    Answers, Interactive Dashboard - Version: 10.1.3.4.0 [1900] to 10.1.3.4.1 [1900] - Release: 10g to 10g
    Information in this document applies to any platform.
    Goal
    How to set up a Presentation Variable in a Multi Select dashboard prompt in OBIEE 10g?
    Solution
    You cannot set a Presentation Variable in a Multi Select dashboard prompt in OBIEE 10g. This is expected behavior. OBIEE 10g is working as designed. A Presentation variable can assume a single value. Because of that, presentation variables are not available when using multi select prompts.
    OBIEE 11g will introduce the ability to set Presentation Variables when using multi select prompts. In 10g you can try as a workaround using more than 1 prompt.
    So basically you can't set a presenation variable from a Multiselect Prompt, that's because you can't show the values selected in any views.
    I don't know if there is somr way to do this with javascript.
    Regards,
    Gianluca

  • Multiple values are selected in a multiselect prompt then we can get indivi

    Hi Experts,
    Can it be possible in OBIEE that if multiple values are selected in a multiselect prompt then we can get individual graph for each selected values?
    For eg if in a multiselect prompt,values such as bangalore,pune,hyderbad etc are selected then the result in a report diosplays 3 graphs one for each state.
    Waiting for any work arounds on this.
    Regards
    Ashish

    hi Ashish,
    Pull the cities in Section's section of pivot table and construct the graph ,use is prompted filter on the city
    It should work
    thanks,
    Saichand.v

  • Showing prompt value in report - Need Urgent help

    Hi All,
    I have created a query that has a prompt (it is not the dashboard prompt) that has " in Between" operator. It is on date column. When i am generating report by passing the prompt value the data is coming properly.
    I have downloaded the report in excel format and it is coming perfect. But i am not able to provide the data that he has selected in the prompt.
    Like on top of page i need to show - The report is genrated for Date1 to Date2.
    And then the data.
    Thanks in advance for any clue. I am not able to figure out how to do this.
    Thanks
    Ashok

    Hi Ashok,
    It seems it's possible, but not with the Filters view... but with Narrative View....
    If you have Calendar Date (which contains all dates till today) column in your model, then... if you want to show only the date prompt values on top even though you have all other prompts...
    For above mentioned criteria... you can't show only one date using filters view...
    Now... go with Narrative View,
    In that particular report add Calendar Date column 2 times...
    On one column apply Max(date) and on another column apply Min(Date)....
    Hide those...
    Now note down the positions of these above 2 columns in criteria... say 6 & 7... respectively...
    Now you write in narrative view...
    Selected Date between @ and @6
    So... based on the dates you selected.. the calendar date populate with the values and would hold the max and min i.e. what... selected values of your prompts...
    So by using this.. you can only show.. one prompt.... not all the prompts which you have...
    May helpful to you when you have .. Calendar Date only... remember ;)
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Nov 20, 2008 7:52 PM

  • Multiselect Prompt issue in OBIEE Apps 795

    Hi All,
    We are using OBIEE 10.1.3.4.1 along with OBIEE Apps 7.9.5.
    We are facing an issue regarding the sort order of the Multiselect prompt. When we select More values(More than 256) in the multiselect prompt by pressing on the more button in the application the order of the values in the prompts is lost and they get displayed randomly.
    I tried putting the sort order column in the rpd also the sql in the prompt the back end query is generated as required but the values doesnt display as Order By whereas they are displayed in random.
    Please help on this issue? Or is it a product Bug?
    Thanks:

    Hello,
    I have the same problem in 10.1.3.4.1.
    I create multi select on dayshort. In "Sow" I put SELECT Time.DAYSHORT FROM "XX-example" order by Time.DAYID asc. After this see records form 1 to 256 with correct order. I pick more and I see records from 1 to 512 in bad order.
    Any ideas?
    Regards,
    Luko

  • SQL not working in Multiselect prompt

    Hi all,
    I have restricted the results in Multiselect Prompt by giving the sql query.It is working fine but when i try to search for particular record in Multiselect it is not filtering the results by applying the query instead it is using the base query with no restrictions.
    Please help.

    I understand and I don't understand... So you have a dashboard prompt set to multi-select, yes? You have changed "Show" to "SQL Results" and added your "active products" filter, yes? Now with the prompt and report in the dashboard, you click on the ellipsis of the prompt and for example, you change "Match" to "begins with," type "A" and click on "Go" which then displays all the values that begin with "A," yes?
    Now you select those "A" products and click on the left arrow to bring them to the left pane, yes? Then you click "Ok" which closes the window and click on "OK" one more time to run the prompt, yes?
    Now you are saying that the report filters "all the products that start with 'A' both active and inactive, yes? And this is what I don't understand. The report should be filtered by the specific "A" starting products you selected in the prompts, not "all 'A' starting values" regardless of whether they are active or inactive. If you have "Is Prompted" on the appropriate column, you should get only those values from the prompt, nothing more.
    How are you getting "all values that start with 'A'"? Please explain.

  • 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

  • Setting Presentation Variable with Multiselect Prompt

    I want to know if there is a way to set presentation variables from a multiselect prompt. I want to store all the values that the user has selected from the prompt.
    Mrinalini.

    I have a report in which I use Oracle analytic functions. But I have to show only subset of all records because of analytic functions. In case of ListBox I use a presentation variable in a FILTER(expr1 USING expr2). How may I do this in case of multiselect prompt? It doesn't support presentation values.

  • Multiselect prompt

    Hi, is it possible to configure the multiselect to make that field one that could be populated either by directly typing a value into the field or via the multi select? Or allow typing a string of values with a delimiter - for instance in SSN typing something like 012345678, 234554324, 888556666 to search on multiple values?
    thx,
    parag

    In the multiselect prompt, there is a search field. You can choose the search criteria from the drop down and key in the search key words. eg. you can search for all values starting with the letter A by typing A and then clicking in Go.
    Hope this helps

Maybe you are looking for

  • Why does Shock Wave keep crashing? Only crashes on Firefox browser.

    Every time I use Firefox browser, I get the error message: "Shockwave Flash is either busy or it may have stopped responding. You can stop the plug in now, or wait to see if the plug in will complete." I also get another one saying that the "Silverli

  • Bidder Not able to filter Bid Invitations with custom fields

    Dear Community, Need some ABAP help. Know many experts are in our community. We have added 3 custom fields to the Bid Invitation and Bid header Coded Badi BBP_CUF_BADI_2 for them to appear in the Search criteria for Find Bid Invitation for both the l

  • RFQ and PO XSL-FO reports

    Hello All, We are currently implementing R12 (Sourcing, Purchasing etc) for one of the customer in APAC region, and we have to modify standard RFQ and PO XSL-FO reports. We are able to modify XSL files. But if we have to add new fields, we need to mo

  • Can you see page background?

    Hi, I have created a site using Dreamweaver 8 as I usually would. The client claims she cannot see the page background on the main page of the site. Could someone please tell me...can you see a background image (paperbutterfly in different languages)

  • Startup error in Java Web Tomcat 7 Container in PersistenceDataSourceFactory

    Hi, I tried to deploy a webapp in the Java Web Tomcat 7 container in my trial account. In my web.xml I have the following resource-ref: <resource-ref>      <res-ref-name>jdbc/ccocs</res-ref-name>      <res-type>javax.sql.DataSource</res-type> </resou