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

Similar Messages

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

  • Can I pass ID of the table instaed of value in dashboard prompts?

    HI,
    Say, I have a table QUESTION which contains 2 columns: ID, DESCRIPTION.
    sample data:
    ID DESCRIPTION
    1 TEST
    2 TEST1
    3 TEST11
    4 TEST
    Herer the DESCRIPTION is stored in the order they appear in a portal application
    Please note that the value of ID 1 & 4 are lexically same
    I now make DESCRIPTION column sorted on ID column in LOGICAL layer and use DESCRIPTION in my dashboard prompt, it will list :
    TEST
    TEST1
    TEST11
    TEST
    but once I select any of the TEST value the results will be shown against both the TEST value, what I want is that if I choose the first TEST value I get the reults against it and when I choose the fourth TEST value I get the results against it only.
    IS this feasible ? Can we pass ID instead of DESCRIPTION as filter ?
    Any other ideas are welcome.
    thanks
    Rishabh

    Maybe this solution works also for you:
    Regarding 1 prompt returning 2 values
    Regards,
    Stijn

  • Problem while passing parameters for dashboard prompts in URL

    Hi,
    We have created a dashboard on OBI which has some dashboard prompts. We have a requirement that we shall open the dashboard from an external application. We are doing this by invoking an URL. We want the dashboard to turn with prompts already being applied.
    I was trying to open the dashboard with the following URL
    http://<servername:port>/analytics/saw.dll?Go&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    But when I use the above Go URL the dashboard is not coming up. It shows the following error
         No Columns
         The request cannot be performed because it contains no columns.
    When I use the following URL(which has the keyword 'Dashboard' not 'Go') the Dashboard is coming up fine
    http://<servername:port>/analytics/saw.dll?Dashboard&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    There are dashboard prompt defined in dashboard. When I try to send the filter value via URL(given below) it is not working. I just see the Dashboard coming up.
    http://<servername:port>/analytics/saw.dll?Dashboard&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&P0=1&P1=eq&P2=Supplier."Supplier%20Name"&P3=1+AccessMicron
    when we use the keyword Dashboard in the URL , can we pass the parameter for the dashboard proimpt ..? If we can do that .. how to do that ..? Is it the same manner that we do for Go URL. ..?
    Please let me know if you need any more information on this.
    Thanks in advance for your time,
    Raj Kumar
    Edited by: Raja Kumar on Jan 22, 2010 3:29 AM

    Hi Raj,
    Raghu is correct, you need the Action=Navigate to make prompts work, otherwise you get move to the target dashboard without prompts.
    I think you figured it out your self, but the ?Go is for Answer Requests and ?Dashboard is for navigating to dashboards.
    I would also recommend using col1="COLUMN_NAME" and val1=value syntax instead of the P0,P1, etc, etc. It's a little easier to read and implement.
    Try this:
    http://<servername:port>/analytics/saw.dll?Dashboard&Action=Navigate&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&col1=%22Supplier%22.%22Supplier%20Name%22&val1=1+AccessMicron
    Good luck!
    Best regards,
    -Joe

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

  • How to retain the presentation variable values for Dashboard Prompt

    I've a dashboard prompt with date and two other drop down field, with default value as yesterday's date set for date and All Values set for other two drop down list. Presentation Variables are D1, P1 and P2 respectivilly
    I'm using GO URL from "Report A" and passing presentation variable to navigate to other report (Report B) that works fine. eg:
    '<a href = saw.dll?GO&path=/shared/Reports/ABC/ReportB&Action=Navigate&p0=1&p1=eq&p2="-%20Time"."Next%20Day"&p3=@{d1}>Test</a>'
    From Report B I'm using Dashoard URL to go back to Previous Report like:
    <div class="XUIPromptEntry minibuttonOn">
    Return to Previous Screen</div>
    This also works fine.
    My problem is that, when users selects different values in the Main dashboard prompt for date and other other two drop down and navigates to other report (Report B), and from Report B, when user returns to previous screen (Main Dashboard), Prompts values gets refreshed to original default values.
    Is there any way to retain the values of presentation variable in dashboard Prompt when I return to main dashboard from Report B?
    I'd appreciate your help.
    Thanks

    Change your dashboard url include the column and column value for the date column sample shown below,
    [a href=saw.dll?Dashboard&PortalPath=/shared/sample/_portal&page=pagename&Action=Navigate&col1=Dim.Date&val1=@1>Return to Previous Screen[/a>
    In my second report Date is the first column so I referenced it's value as @1 in the dashboard URL
    note: replace [ with <
    Thanks,
    Vino                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Passing Parameters for Dashboard Prompts to Answers Report

    I have the following requirement.
    I want to pass the value of a 2 dashboard prompts to an answers report. What is the syntax using GO URL method.
    Thoughts anyone?

    Refer to this link on how to achieve this: http://www.iwarelogic.com/2010/09/integrating-oracle-obiee-content-using-go-url-850/
    Regards,
    -Amith.

  • How to pass values of the prompt through Action Link - URL in 11g

    Hi All,
    I am in OBIEE 11g v6.
    Let's say, I have two dashbaord pages P1 and P2.
    P1 page contains
    1. Prompt PR1 - containing a single column EmpName
    2. Report R1
    P2 page contains
    1. Prompt PR2 - containing a single column EmpName (same column as in PR1)
    2. Report R2
    Requirement :
    Let's say a user select a value = David from the EmpName column in prompt PR1. In the Report R1, on one the measure columns 'Sales', I am using an action link - Navigate to URL ( I can't use Navigate to BI Content for some reasons). In the URL, I am giving the URL to page P2. Can I pass the selected value (which is David) to the EmpName column of the Prompt PR2 of Page P2 so that Report R2 is automatically limited by David when I land on that page through the URL?
    Few things to consider are, I can't use EmpName column in my report R1 on page P1, I just want to pass the value of a common column from one prompt on Page1 to another prompt on Page2. Is that possible. Can anybody please help?
    Thanks,
    Ronny

    Hmm can you give a try one more time with
    Add EmpName name and hide it on report R1 on page P1
    and set EmpName as Is Prompted on report R2 on page P2 and with my earlier steps should work.
    Other option is read this doc once that helps you how to pass value thru url.
    http://docs.oracle.com/cd/E21043_01/bi.1111/e16364/apiwebintegrate.htm#z1005224
    You need to have a EmpName as Is Prompted on report R2 on page P2
    If helps pls mark

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

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

  • 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

  • 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

Maybe you are looking for