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.

Similar Messages

  • 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

  • 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

  • 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

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

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

  • 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

  • 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

  • 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

  • Sorting a column does not result in distinct values on Dashboard prompts

    Hi,
    We have a period column, the records of which are 'JAN-02' , "FEB-02"...."DEC-09". We need sort this column in descending order in Dashboard Prompts. We have another column "Date", which has been used to sort the period column. To achieve this in descending order, we have converted Show Results from “All Values” to “SQL Results” in dashboard prmpts, then entered the below sql.
    SELECT "CODE COMBINATIONS"."LINE AC PERIOD" FROM INVOICE_PAYMENTS
    order by "CODE COMBINATIONS"."LINE AC DATE" desc
    The above sql resulted in non-distinct values as below. Using distinct in the above sql throws syntax error.
    Period
    JAN-09
    JAN-09
    JAN-09
    FEB-09
    FEB-09
    How do we get distinct values and in descending order??
    Thanks and appreciate any ideas
    Surya

    Go to advanced tab and check "Use distinct clause" that will fire a distinct to the query.
    In the rpd month logical column , there is an option called sort order in the general properties and you need to specify the date column if you need to sort it based on the date column and in the Answers you can simply enable Descending sort order on the same column. That should take care of it
    Hope it helps
    Thanks
    Prash

Maybe you are looking for

  • Not able to generate the absence quota WITHOUT Time Evaluation

    Hi ALL, When i try to generate the absences quota for employees without time evaluation using program RPTQTA00, I am not able to generate it. And i am getting "E You have not selected any generation rules". Kindly if any one come across this issue pl

  • BAPI Function module for transaction ME32K for change

    Please let me know the name of the BAPI Function module for transaction ME32K for change the contract.

  • Unable to modify email settings

    I've changed my pswd on an email account (via laptop), went to update the password of this account on my iphone and all of the mail accounts in the settings are grayed out.  Tired turning phone on/off but it didn't work.  Any suggestions?  Thank you!

  • How to pass a value and call SE38 program using SUBMIT statement

    Hello Friends I am trying to write a batch program in SE38, that calls other SE38 Programs. I don't want to use Parameter command to see the value on screen. All I want is to send a range of date (ToDate & FromDate) and generate different reports sat

  • Email re-appears after filing and deleting

    My business uses Mail and ever since we upgraded our machines to Yosemite we've had recurring issues.  On occasions - deleted and filed mail returns to it's original position - most often this is the Inbox.  Our set up is as follows: - Mail Server is