Issue in Default selection in Dashboard prompt

Dear All,
I have a dashboard prompt with columns year and month.month column i kept as slider in that default selection i kept 45 days backward from current date,since my requirement is the end user have the option to selection the day backward instead of 45 they need to selection either 45 or 30 15 15 based on that they have to run the report.can any help in this regards.
appreaciate the immediate response !!!!
Regards
GN

Hi GN,
Create an variable prompt ( Eg: v_days ) and add custom values as 15,30,45,100 into it and keep the default as 45.
Use v_days variable in another column prompt (Eg: Period) with the format MON-YYYY.
Now when user selects no of days , period will get the corresponding change.
Thanks,
Haree

Similar Messages

  • How to Get Default Dates in Dashboard Prompts

    i just want to select two dates by default on the Dashboard prompts.
    Those two dates would be last day of the last quarter and last day of this quarter.
    Any body please give me the select statement to pick those two dates(last day of last quarter and last day of current quarter)by default on the dashboard prompts?
    Thanks in Advance

    If you just want it once, then in the dashboard prompt "Default to" window, select "SQL Results" and enter this:
    SELECT CASE WHEN 1=0 THEN table.column ELSE TIMESTAMPADD(SQL_TSI_QUARTER,0, TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1,CURRENT_DATE)) END FROM "subject area"
    UNION
    SELECT CASE WHEN 1=0 THEN table.column ELSE TIMESTAMPADD(SQL_TSI_QUARTER,1,TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1,CURRENT_DATE)) END FROM "subject area" This will give as the default, the last day of the last quarter and the last day of the current quarter in your multi-select prompt.
    Edited by: David_T on Apr 26, 2011 12:12 PM

  • Default width for dashboard prompts

    Hi:
    Does anyone know how to set the default width for dashboard prompts? Is there an XML file that contains this value?
    Thanks.

    During creation of prompts you can set additional format just check available icon on that layout. If it is 10g just look at above the heading 'Dashboard Prompt'.
    Pls mark correct/helpful if helps

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

  • 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

  • Using presentation variables selected in dashboard prompt in query builder

    In dashboard prompt I have made four dropdowns(have four presentation variables) and based on these values selected,can the Query Builder generate dynamic reports based on the presentation variables selected?
    I will provide the link(i.e Link of BI publisher where I stored the report) displayed to the user based on Four presentation variables.
    If we click on that link can we use the presentation variables in where clause of Query Builder in BI Publisher?
    Please help me out
    Thanks in Advance

    - OK. In the second prompt, instead of setting Default to SQL Results, set it to Specific Value.
    - Then insert '{pres_var}' in the window. I got it to work this way.
    - It supplied the PV as the default in the second prompt after hitting "Go" on the first prompt.
    Hi, thanks for your suggestion but I don't need to have the value of the presentation variable itself as the prompt default. The variable is a filter for a specific SQL clause and the default is the result of this SQL.
    Cheers
    DrPlexi

  • 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

  • Issue with siebel 7.5 dashboard prompt and grandtotals

    Hi Group
    We are having a weird issue on a dashboard page in 7.5 version.On our dashboard there is report with columns like area,area values and area values column is being filtered with a dashboard prompt.
    The dashboard prompt is working fine by applying the selected filter value but we are doing subtotals by area and grand total at the end.The subtotal and grandtotal are not changing with the filter value selected.
    Say we want to see area only having area values >=40000 the report is showing right areas applying this filter to areavalues,but the subtotals and grand totals still showing up for all areas and not for selected areas as per the filter.But when we run this report individually in Answers we are getting right subtotals and grandtotals by applying filters.
    I know description may not be very clear for you guys but can give you any kind of clarification you want in detail.
    I believe this is somekind of bug in this version.
    Please let me know.
    Thanks a lot.

    Quit the applications that you are not using. Monitor RAM usage with your Activity Monitor. Add more RAM, 6 Gigs is the max on your model.
    When your Mac runs out of RAM, it starts using swap files on your hard drive, shown as page outs in Activity monitor. Your hard drive's speed performance will be noticeably slower than your RAM's speed.
    Activity Monitor will also allow you to identify which apps are using the most RAM. The app is in your Application's Utilities folder.
    Plus, Mid 2007 iMacs's (iMac 7.1) can run Mavericks, it's free, and will make better use of your RAM than Lion, IMHO.
    P.S., If you actually have an iMac 6.1, it's a Late 2006 iMac and is limited to Lion.

  • How to set Default to in Dashboard Prompt from presentation variable value

    Hi all BI Gurus,
    I am trying to come out from my problem from last two days and I am not able to find the solution.
    Here is my problem.
    I am having two dashboard pages in one dashboard. Both pages contains dashboard prompt. Now from the first page’s prompt I had set a presentation variable and I want to use that presentation variable’s value in to prompt’ s default value which is used in my second dashboard page.
    I am hoping I can do that with Server variable or variable expression, but don’t know the proper way. I tried a lot with both but not able to find the solution.
    Could any help me please?
    Regards,

    Hi David,
    Thanks for replying. I really appreciate it.
    Yes I am using the same column.
    Let me provide you more details regarding my problem,
    I am having one dashboard prompt for gender and it's default value is 'Female' so I am assigning that value in to presentation variable PV_GENDER with set variable option in prompt.
    Now in my second prompt which I am using on second page of same dashboard, I am trying to assign that value 'Female' ( or the one that user had selected ) with the help or that presentation variable PV_GENDER in Default to. I tried all options (e.g. Variable Expression, Server Variable, SQL Result ) but I am not able to get that value.
    If you need more detail just let me know.
    Once again thanks for replying.

  • Need to store variables from multi-select in Dashboard Prompt.

    I am using a Dashboard Prompt with a Drop-down List Control. The user selected value from this Drop-down List Control is stored in a Presentation Variable.
    I would like to use a Multi-Select Prompt and store all multi-select values in a variable string. I have read that is not possible to use Presentation Variables with a Multi-Select Prompt.
    Does anyone have a workaround for this?
    Thanks,
    Stan

    Check out this thread here:
    Re: Display values selected in Multiselect prompt

  • Limiting rows displayed from user-selection on dashboard prompt

    Hi,
    I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario:
    User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are returned by the query but I only want to show the last 12 rows (Jan06-Dec06).
    Motivation is that I'm using the MSUM function to display a 12-month moving sum total and I don't want to display the first 12 rows as they do not contain a complete moving sum total.
    I've looked at using a variable to store the user selection at the dashboard prompt, but the 'In Between' dashboard prompt does not allow one to store a result in a variable.
    Any suggestions are welcome!
    Thanks!

    Hi Som,
    Thanks again for your feedback. I've thought about using dynamic repository variables, but found them not to be the answer. Although the moving sum would always be a 12 month total, the user needs to be able to vary the range of periods using the dashboard prompt. Today he might only want to look back 12 months, tomorrow he may need a 5 year overview. Using dynamic repository variables would mean I'd have to create variables for the entire history i.e. CM until CM - 240 (20 years * 12 months). If a user then would like to report on a specific period, he would need to pick the correct dynamic variables, which would not be user friendly/acceptable.
    I think I may need to resolve this problem in my datamart by calculating & storing a 12 month total (the only 'fixed' requirement of the report) in my fact table. This would also remove the need for the user to select 12 months more that he would see in his report (a drawback of my original scenario above).
    Thanks again for your input!
    Regards,
    Dutch

  • How to set sysdate as default date in dashboard prompt

    Hi all
    I want to set default date(sysdate) in dashboard prompt. How to do that.
    I have not done this before.
    tell me in clear.
    Thanks in advance.

    Hi Anand,
    The formatting of the data is not something you can change in the variable expression. It is dependent on the data type of the column you used in the prompt. For example, if your prompted column is a DATE data type in your repository file, then you will NOT see a timestamp. However, if your source column is defined as a DATETIME object, then it will always add in a timestamp, even if that timestamp is 12:00:00.
    If you don't want a timestamp, go into your repository and in your physical layer, change the datatype of your column from DATETIME to DATE. And in the prompt, keep using the syntax: @{system.currentTime}\[MM/DD/YYYY\]
    Good luck and if you find this useful, please award points!
    Best regards,
    -Joe

  • Result should Display at dashboar after selection of dashboard prompt

    HI,
    i develop a dashboard with dashboard prompt .when i go to dashboard page first it's show me all records then i select a prompt value and press go button then it's show me result according to prompt.i want at first it don't show any record (as it's showing all records).it should show record after i select prompt value .
    please help
    note =there is only single filter' is prompted' applied in filter
    Edited by: shakeel khan on Jan 7, 2010 12:36 AM

    Hi Shakeel,
    A lot of questions aleady have been answered. Please check the forum; [Prevent dashboard from running automatically|http://forums.oracle.com/forums/thread.jspa?messageID=3359763&#3359763]
    Good Luck and Thanks,
    Daan Bakboord

  • Auto filter by selection of dashboard prompt or other workaround

    Hi all,
    I have 2 dashboard prompts, let's say a Product ID and Product Desc.
    How can I force user to select Product ID?
    How can OBIEE auto-select the Product ID after users has selected Desc? Is it possible by writing scripts?
    I ask this because we have faced a case that when user only chooses Desc but left the PID empty, the performance will be very slow and abnormally consumes all the RAM on server which leads server error. Product ID is from essbase, Product desc is from oracle db.
    Thanks a lot and let me know if need clarification ~

    Can you explain more about how to use the 'advanced' filtering which depends on another subquery?
    Since I have tried to create a filter on the main report (Report A), which is depending on another report's query result (Report B). E.g. Report A's Product ID is 'equals or in' Product ID in report B, I have also set it as "is prompted".
    Besides, I set a dashboard prompt on Report B, e.g. filter on product ID and Product desc. I put Report A and B together on the same dashboard page, put the Product ID and Product Desc as a prompt on that.
    So now, PID and PDesc prompts will affect Report A and Report B.
    My Wish is, even users only select filter on "Product Desc" --> Report B will be filtered and show corresponding and filtered "Product ID" --> use this list of product ID to filter Report A to limit the result.
    However, it fails. Report A will filter the product ID by the 'original' saved version of Report B in Answers. That means 'no filtered' on Product ID. (As Report B I saved contains the product ID column of "is prompted" only.)
    If friends here understands my question, or you have faced the same case, how can I solve it? Any workaround !?
    Thank a lot !

  • 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

Maybe you are looking for

  • Layout changed when I added spacing around images.

    @charset "utf-8"; body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; background: #363; margin: 0; padding: 0; color: #000; /* ~~ Element/tag selectors ~~ */ ul, ol, dl { /* Due to variations between browsers, it's best practices to zero pad

  • Process Not Getting EXITED

    BATCH FILE LOCATION : D:\test.bat Ex: test.bat It contains del c:\sample.txt JAVA FILE LOCATION : c:\testunion.java import java.util.*; import java.io.*; public class testunion public static void main(String args[])      try           Runtime objRt =

  • Email settings fault

    I have three email addresses set up on my phone, (instantemail.t-mobile, ntlworld and gmail) which have worked for a few months without problem.  Today, went to change an email password in email set up, and the screen said checking for updates, initi

  • Itunes software installation

    When i try to install itunes 10.5 it gives me the following error There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Please let m

  • CE 7.1.1 Error

    I am using SAP Galaxy and CE 7.1.1 for a process. There is a ECC server configured as a provider system to the CE server. The log viewer in NWA is constantly showing an error. The error is: Logical Port <100.SystemName.ECC.SystemNumber.0020194035.Sys