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

Similar Messages

  • 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

  • Passing Values to Dashboard Prompt

    Hi Gurus,
    I have a summary Dashboard page with summary report and prompt build on Summary table , and i have a detail dashboard page contains Detail report and prompt same as Summary but these prompts are from Dimension tables and report from fact and Dimension.
    The requirement is Once i click some value in Summary dashboard it has to pass the values to Detail dashboard ( Means Passing the values to Dashboard prompt) and show the result in detail.
    As i cant use the OBIEE navigation logic to pass the values as prompts columns are not from same table. So i thought to use the GO URL this also i cant use as i am using Pivot table in Summary report. I thought to use Summary prompt in the detail Dashboard and create a dummy reports based on the prompt and resultant value pass to the Detail reports. I am able get the values but i am not getting proper answer. I dont no why .
    Is i am doing correct ? i know its not elegant way. If some one give me tip or direction that will be great help.
    Thanks in advance.
    Regards
    Ali

    If you are attempting to pass a value from one table1.column1 to another table2.column2 where the two do not match then you will need to use a presentation variable to hold the value. You can populate the variable using a hidden dashboard prompt that has the table1.table2 and read the value into a variable. You can then use this variable to filter the table2.column2

  • How to pass values to dashboard prompts from external applications

    Any idea is well appreciated.
    How can I pass values of dashboard prompts from external applications to the dashboard prompts so that the dashboard is prefiltered based on values sent by external applications.
    Thanks in Advance!
    Kris

    Kris,
    i am able to change the session variable and able to call the dashboard from external app, but i identified prompt value not changing. but Finally i am able to found a workaround for you.
    Use the following URL and it explained here
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    PortalPath is your dashboard location. /shared/abcd is folder where i saved dashboards. dash1 is my dashboard name.
    internally this dashboard includes many reports that uses the session variable. after doing above this i am able to update the session variable to the value i have given in URL, DSN=value.
    You may observer here that calls the dashboard and passes the value but its not updating the prompt value. so workaround for this is edit your prompt,
    change the Default to - SQL Results and place the sql
    SELECT CASE WHEN 1=0 THEN Markets.Region ELSE VALUEOF(NQ_SESSION.DSN) END saw_0 FROM Paint
    again here Market.Region is column from presentation layer and Paint is subject area. After doing this step, your prompt always shows value in the session varible as default.
    Now include reports and dashboard prompt in the dashboard and run this url from external applicaitons.
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    it worked for me and blog this soon. if it works for you mark the question as answered and mark my replies as correct.
    thanks
    - Madan

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

  • Return a Range of Value from Dashboard Prompt

    From example, 'Day' column has values from 1 to 365 and I set it as a dashboard prompt. If I want to select a range of value from 'Day', I can use 'is between' operator. Then I can select a range of day value from 1 to 365.
    My additional requirement is to return a fixed range of value. For example, the maximum range is 31 days. That means if I select day 1, the result should display 1-31. Also I should be allowed to select a range fewer than 31 days. In short, I need to return result from minimum 1 day to maximum 31 days. Is it possible for dashboard prompt? or there are other solutions?

    Let's see. To answer your first question, yes, you will end up having two prompts that hold values 1-31. The user will select one value from the first prompt, say 2, and a value from the second prompt, say 31. Since both of these prompt values are stored in presentation variables, you can use them in the filter on the "day column" in your report (i.e., 'Day' greater than or equal to pvStartDay and less than or equal to pvEndDay). This will give you the range on your report.
    The reason for the CASE WHEN 1=0 is because you are using the Day column twice in your prompt. OBI only allows you to use a column once in your report. It is also to protect the column from being affected by the prompts.
    Check this link for details:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    Now, based on your second post, it appears your conditions are different. You are selecting actual dates, not a number from 1-31.
    TomChan wrote:
    Maybe I can describe my case in a simple way. I have a startDate prompt that can select all date values. If I select a date value from startDate prompt, says '20090101'(in yyyymmdd format), the endDate prompt should display maximum 31 values(i.e. 20090101 - 20090131) basing on the selected values of startDate prompt. Then I further select a value in the endDate prompt to filter the report. Is it possible?I am a bit confused. It seems that you want the first prompt to display the first day of the 12 months of the year and once selected, the second prompt would be constrained to show the days of that particular month from which the user would select the "end date"? But then you say "basing [sic] on the selected values of starDate prompt" -- you have "values" as plural. Does this mean the user can select multiple values in the first prompt?

  • Hide values on dashboard prompt and set defaults

    I have a prompt with 3 values,
    1) Year-Qtr
    2) Year-Qtr Start Date
    3) Year-Qtr End Date
    2 and 3 are constrained based off of what is in the Year-Qtr drop down. How can I get 2 and 3 to automatically have the values set and also be hidden to the user.
    Is this possible?

    Check this thread out for different ways of hiding dashboard prompts which is already posted in our forums:
    Hide dashboard prompts
    And regarding the populating the default values based on the value selected in the other prompt is not possible. The default value will always be a hardcoded vaule which can be in the form of presentation variable or sql results or an expression.
    Hope it helps
    Thanks
    Prash

  • How to get value in dashboard prompt from database

    Hi All,
    I am using dashboard prompt (Year Prompt) to filter reports on year basis.
    fact table stores the hit date on a particular site linked with date dimension table .
    I have Datas in fact table say from year 2005 to 2009 .In dashboard Prompt it is showing me all the years 1990 to 2021(that are in date dimension).
    I hard coded the value of years in prompt now it only showing me years 2005 to 2009.
    My question is that is their any way that prompt automatically take values from database, those years which are stored in fact table ?
    Thanks in advance.

    Hi...
    Try writing query for dashboard prompt to get desired values..
    *select distinct year(FactTable.HitDate) from SubjectAreaName*
    To work this.. you should have HitDate column in presentation layer. (You can drag this column from fact in BMM and drop in any dimensions of presentation Layer, and name it as HitDate (Fact).. some thing like this...

  • 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

  • Default value in dashboard prompt

    Hi,
    I have created 2 dashboard prompt one is projectnumber another one is date which is in 'MON-YYYY' format.
    My requirement is date prompt default value one month before a current month.
    Example if it is February 2012 it must displayed as JAN-2012
    Thanks in advance.

    Hi RR,
    Edit the Prompt.
    Under Default Selection select SQL Result and place the following query:
    SELECT concat(upper(CAST (MONTHname( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) AS CHAR(3))),concat('-',cast( YEAR( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) as char)))
    FROM "OBIA"
    Try this.. I think it will solve your issue.

  • Two values in Dashboard prompt

    Hi,
    How do i display two values in the dashboard prompt. In order to make the prompt more discriptive and easy to understand for the user i am trying to display both the processing period and the week number in the prompt but i want to pass only the the processing period to the reports. Can i do it?
    Thanks

    Hi,
    create a new logical column with concatenated values of date & week number and use this in prompts display. In RPD, keep processing date as a key column for the new column.
    In analysis, simply put a filter based on the key column as OBIEE will pass processing date only to the report.
    Let me know if you have any doubts.
    cheers.. Patrick.

  • Changing 'All Column Values' in dashboard prompt

    In OBIEE 11g, how to modify the dashboard prompt All label value? I do not want to change value in XML file , because it will impact all dashboard prompt value.
    Is it there better method to implement this problem?
    For example:
    In dashboard prompt-->edit -->options--->tick 'Include "All Column Values" choice in the list', so I can view '(All Column Values)' value in prompt. Customers want to changed this value,such as 'all values'. Is it possible? Thanks.

    Hi,
    Can do it using Union All is prompt SQL and presentation variable in report.
    Refer : http://www.varanasisaichand.com/2010/01/editing-all-choices-in-dashboard.html
    Regards,
    Srikanth

  • Using a Sql Result in Default Value of Dashboard Prompt

    Hi,
    I Create a Dashboard Prompt, this have two dates, the initial and the last for a period to filter. I need to set the default value in the fist and last date of the previous month, for example, if today is 20th of november the default value of initial date has been 1th of October and the last date has been 31th of october.
    I used in default the option 'SQL Results' and use the next sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM') FROM dual;
    SELECT TRUNC(last_day(add_months(sysdate, -1))) from dual;
    But when I try to use the dashboard prompt the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT TRUNC(add_months(sysdate,-1),'MM') FROM dual
    When I try to use only select sysdate from dual; the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27004] Unresolved table: "dual". (HY000)
    Thanks for your help.

    Thanks for your help. Finally I solve this issue of
    this form:
    1. I Create a Initialization Block with the next
    sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM')
    INITIAL_DATE ,TRUNC(last_day(add_months(sysdate,
    -1))) END_DATE, To_char(TRUNC(add_months(sysdate,
    -1), 'MM'), 'YYYYMM') PERIOD FROM dual;
    2. Then I Create three Repository Variables and
    assign the Initialization Block to this
    3. In the Dashboard Prompt I use the "Server
    Variable" Option in the default and call the three
    variables.
    Thanks again
    EdwinHi: How u access server variable with two fields of date. Actually, I am doing the same work. But I can not do this work. Because this is ok when the date is greater than or less than. When i use between, in default server variable button did not show any text area for reoository variable. I also made initailization block with 2 fields.
    My Task is, I have to initialize the one date coloumn. From Date: and To Date. Pluzz help me in section
    Ali Haroon Nawaz

  • How to set the default value in dashboard prompt?

    Hi there,
    In my Dashboard prompt I'm getting values like:
    Mar 2010
    Apr 2010
    May 2010
    Jun 2010
    How to set the default value to the current month (Jun 2010). I don't want to use "specific value". I want to use the "SQL Result" for populating the default value.
    Appreciate your help

    hi,
    you can create a Repository variable current_month with the expression as
    select to_char(trunc(sysdate),'Mon')from dual
    and use this in the prompt "Default to" Server variable and use this repository variable.
    hope this helps.
    cheers,
    vineeth

  • How to set a value in dashboard prompt based on user id

    Hi
    i have a requirment like i need to set a dashboard prompt value based on user's login.i.e.if i login as administrator
    the adminstrator is belongs to circle(my requirment)then the circle name willbe displayed in dashboard prompt .
    if any idea pease help me.
    thanks

    Thanks for yor reply.please you can tellme clearly how to set use 'NQ_SESSION.USER' to set the value to logged in User.i.e i have circle table in that users and circle names will be there.it is teradata database.so how can i set that in to the dashboard prompt and one thing along with that prompt the follwing prompts will be there
    mobile no<>
    date<>
    circle name<"user">
    this is my requirement so please help me step by step what to do for achiving this.
    thanking oyu

Maybe you are looking for

  • Problems with new iPOD shuffle

    Just got a new iPOD shuffle, and can't get it to work. i followed all the troubleshooting directions (worked on it for about 2 hours, twice)with the same problems. Updated the software version, restored the settings, no help. I copied all my CD with

  • Migration two hard drives

    I tried migrating to my new macbook from a g4 tower with two hard drives. When I hook the fire wire up it only sees the non startup disk and will not see the startup disk on the g4 all my music and photos are on the startup disk which is what I wish

  • IPhoto slideshow images play unsharp when burnedI have rece to DVD in iDVD

    I have recently created a couple of slide shows in iPhoto where they look great and pin sharp. They still look great after export to iDVD but when they are burned to DVD and played back either on the computer or on the TV DVD player they come through

  • Software Update's Library Folder

    Quick question, where is the Software Update's library folder located? I have several applications that still show up in Software Update that I no longer need, such as printer driver updates despite removing the drivers from my computer some time ago

  • How do I report to a human being at iTunes that they have the wrong art?

    I had iTunes download art for my library and in some cases it associated the incorrect art with albums. I can't find anywhere to report that. Help?