Date control in Dashboard prompt??

Hi All:
I am using dashboard prompt to filters date. And I am using Between operator. When I give same date in from and to date then it does not work. If I give one day after to date then it shows ok dates. Like
From Date: '28-12-2007'
to_date: '28-12-2007'
It should show the record of '28-12-2007'(Record exist against that date). But when i give to date: 29-12-2007 then it shows the records of 28-12-2007's date. can any body know what could the problem. Thanks
Ali

Ahh, do you have dates stored as Timestamps in your database or do you just have dates without timestamps. The only way i can think of to overcome your problem is to convert them as chars in the filter rather than dates. Unfortunately, BI EE appends TIMESTAMP clause to all its date prompt values even if you have some other format as system-wide default.
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • Calender Control in Dashboard prompt

    Hi All,
    I am Using obiee 10.1.3.1.i need calender control in dashboard prompt.
    What are the steps needed to configure the dashboard prompt.
    Reply ASAP.
    Thanks and Regards
    Kiran Kumar

    hi Kiran,
    Pull a "Date" data type column to prompt section and under Control section select "Calendar" from drop down
    thanks,
    saichand.v

  • How to convert date in the dashboard prompt

    can anybody tell me how can i conver the date into month year format in the dashboard prompt
    originally i am getting data as a date in the dashboard prompt.i want to change that to MON YYYY format.
    can anybody tell me how can i change the original date format into MMM YYYY format

    hi,
    Try with evaluate function in prompt Fx use the following syntax
    Re: Date function
    Else, EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), Date."Calendar Date", 'MON-YYYY')
    What you are expecting to be in Prompt was it Mon-2009 right"?
    Thanks,
    Saichand.v

  • Changing Date Format in Dashboard prompt drop down list

    Hi friends, my dashboard shows a drop down list for dates , which are in format "7/1/2008 12:00:00 AM".
    This is defined datetime datatype in sql server. Is there any way to change the date format in dashboard prompt to just "7/1/2008" without doing it in database side.
    Appreciate your help.
    Thanks and regards

    Hi... Toony
    In Dashboard Prompt, you have option to select i.e. show SQL,
    there you write the Logical SQL or Advanced SQL: <em>select cast("timestampCOLUMN" as date) from "PresentationLayerName"</em>
    this is simple way without changing anything in rpd side...
    And if you want the timestamp column somewhere in some reports you can use that column directly.
    If you don't want you need to cast it as DATE.
    If your question was answered then put it as answered and mark it as correct... ;)
    Edited by: Kishore Guggilla on Oct 20, 2008 11:44 PM

  • Date field in Dashboard Prompt

    Hi,
    Still try to find how I can format date in dashboard prompt.
    I have created prompt for Invoice cleared date using calendar format in control.
    After pressing go button the format is changed to MM/DD/YYYY HH:MI:SS
    I want format should always remain to MM/DD/YYYY.
    Please let me the easy way to correct this issue.
    Thanks,
    Poojak

    Yikes! I think you may have found a bug...
    Seeing your screen shots, I was able to recreate your issue. I tried modifying the database connection feature tab to set a default datetime format, as well as changing the datetime format in the NQSconfig.ini file. Looking at the source code of the OBIEE page, it appears that there is Java script called GFPDoFilters that runs once you click the button (see "onclick" in the source code below). This function seems to be called in ..\OracleBI\web\app\res\b_mozilla\prompts\globalfilterprompt.js.
    If you know java script, you can try and play around in there to find where the date is defaulting to, although I'm no java script expert, and messing with core code can potentially void your OBIEE warranties.
    You may want to log this as a bug with Metalink and see how they respond to it. I agree with you that it does not make sense to have a timestamp added to a calendar day selector, so hopefully they would look into resolving for the next release.
    I'm sorry I wasn't able to provide the response you were looking for, but I think it may be the unfortunate reality.
    Please let me know if there is anything else I can do, and good luck!
    Regards,
    Jason
    !http://i46.tinypic.com/3499q4p.jpg!

  • Urgent- How to Default Current Months First Date in a Dashboard Prompt

    We have requirement that whenever our user clicks on a dashboard it should show the report associated with the dashboard defaulted to MTD.
    For example if the user is running the dashboard on 16th Jan then the report associated with dashboard by default should show data from 1st Jan to 16 Jan.
    And then latter user should be able to select the dates of his choice in dashboard prompt and the report should show data according to selected date.
    Please send some clues or work around for this issue.

    Regarding Question 2:
    What you need to have is a Dashboard scope dashboard prompt for Product_ID (i.e., Don't use the column prompt from the prompt tab within the Request.)
    1) Create the dashboard prompt, put it on tab1 and save the prompt to a presentation variable, say prmtProdID. Set the scope to "dashboard." (This is the default, by the way.) If you create a dashboard prompt and set the scope to "dashboard," then the prompt values selected will hold true across dashboard pages.
    2) On tab2, go to your report and in Criteria mode, apply a filter to the Product_ID column making it equal to the PV. (Click the filter icon, Add>Variable>Presentation Variable and type prmtProdID. Save.)
    When the user selects a Product_ID on tab1 of your dashboard and hits "Go," not only will it filter your report on tab1, when you go to tab2 the report here will be filtered with the same value selected in the prompt on tab2.
    Regarding Question 3:
    If you implement 2, you cannot implement 3. You can't have it both ways. Not for the same scenario. But if you want to know how to do it in general, read this:
    http://obieeone.com/2009/08/24/how-to-stop-queries-to-automatically-fire-off-once-entering-dashboarddashboard-page/

  • Date format problem - dashboard prompt - presentation variable

    Hi,
    I've created a dashboard prompt on a date and defined a presentation variable.
    In my report I make use of the following object : TimeStampAdd(SQL_TSI_MONTH,-12,date '@{pv_afw_start_date}' )
    My report works when making use of a drop down list, but when I want to make use of a calendar to select from, I receive the following error
    *A general error has occurred. [nQSError: 46047] Datetime value 17/11/2009 from 17/11/2009 does not match the specified format. (HY000)*
    Is there a difference in the date formats used by the prompt type (drop down list, calendar, ..)? And how you can align them..
    Txs for your help.
    Kr
    A

    Timestampadd ask for a timestamp not for a date.
    Check here :
    http://download.oracle.com/docs/cd/E12103_01/books/admintool/admintool_SQL14.html
    The syntax is :
    TimestampAdd(SQL_TSI_DAY, 3, TIMESTAMP '2000-02-27 14:30:00')You may have to change your prompt to retrieve a timestamp.
    Where do you use your formula ? In a formula column ?

  • Restrict the dates in calendar dashboard prompt

    Hi All,
    We have a requirement where depending upon the type of report selected,the users should be restricted in their selection of dates.
    Is there any way we could control the dates shown in calendar prompts?
    Thanks.

    I'm sorry I have misread your initial question. So you want to restrict the calendar. I don't think this is possible, I'm afraid.

  • Setting Date format in dashboard prompt and filter view.

    Hi All:
    I have created the dashboard promt upon two dates. But it shows date like
    "11/1/2007 6:00:00 AM" But I want only "dd-mm-yyyy" format. What I can do for it. I use only current_date. Thanks
    Ali Haroon

    Thanks for help
    But it shows date in 'YYYY-mm-dd' format but I want 'dd-mm-yyyy'. And how we give alias in coloumn formula.
    Thanks
    Ali Haroon Nawaz

  • Passing a Date value from a BI Dashboard prompt to a BI Publisher param

    Hello everyone,
    I have a dashboard page with a Date (type: Date). This date is linked with a presentation variable vpres_datedanssemaine.
    In my time dimension (name: Date) I have 3 columns:
    -"Date" which is the date
    -"Lundi de semaine" ("Monday of the week") which is the monday of the week whose includes "Date"
    -"Dimanche de semaine" ("Sunday of the week") (you understand the purpose...)
    (Weeks go from Monday to Sunday)
    It works perfectly in BI answers when I use this filter :
    "Lundi de semaine" lesser than or equal to @{vpres_datedanssemaine}
    AND "Dimanche de semaine" greater than or equal to @{vpres_datedanssemaine}
    The problem arises when I try to substitute the BI Answer report by a Publisher one in the Dashboard.
    The publisher report defines a parameter:
    -Name: vpres_datedanssemaine
    -Data Type: Date
    -Parameter type: Date
    -Date format string: yyyyy-MM-dd HH-mm-ss
    The filter we use
    Date."Lundi de semaine" <= :vpres_datedanssemaine AND
    Date."Dimanche de semaine" >= :vpres_datedanssemaine
    When we run the dashboard page, we get an error " Error can be displayed due to an error. Contact an administrator".
    Do you see an error anywhere?
    Did someone manage to pass a Date from a dashboard prompt to a BI Publisher parameter?
    Thanks
    Edited by: Jerome D on Jan 23, 2009 10:06 AM

    Hi
    see whether this is helpful or not for you...
    http://oraclebizint.wordpress.com/2007/10/19/oracle-bi-ee-101332-dashboard-prompts-and-bi-publisher/
    Thanks & Regards
    Kishore Guggilla

  • 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

  • Can we change filter column values in a union query using Dashboard prompt

    Hi,
    I have a requirement in which have to draw a chart report for last six months?.
    When i query against database, my query got different where clause for open month and close month.
    Say for july month bar, it got close month as july and open month as july, june, may. Like this, for june month bar, it has to have close month as june and open month as june, may, april. like this, i created six union queries using repository variable.
    Want to give control using dashboard prompt for close month and open month?
    my query look like this.
    select close month1, fact1 from table1
    where close month = july and open month in (july, june, may)
    UNION
    select close month2, fact2 from table1
    where close month = june and open month in (june, may, april)
    UNION
    select close month3, fact3 from table1
    where close month = may and open month in (may, april, march)
    UNION
    select close month4, fact4 from table1
    where close month = april and open month in (april, march, february)
    UNION
    select close month5, fact5 from table1
    where close month = march and open month in (march, february, january)
    UNION
    select close month6, fact6 from table1
    where close month = february and open month in (february, january, december)
    Welcome your suggestions on this?.
    Thanks

    Hi Karol,
    Yes the prompt is working fine when i put this following method under the "Button" Component.
    APPLICATION.openPromptDialog(800, 600);
    Somehow the when i use the "Input Field" and use the "Button" Component and write this following logic inside it i don't see the prompt is not taking the values what i am entering in input field i assume that its issue with data-source not getting refreshed.
    Variable=INPUTFIELD_1.getValue();
    APPLICATION.setVariableValue("PercentageIncrease",Variable);
    Thanks,
    Kumar

  • How to use action links or master-detail event in dashboard prompts?

    Hi,
    I am new to OBIEE 11g. I have created three reports 1.Daily Data Report, 2.Weekly Data Report 3. Monthly Data Report.
    I have created one dashboard prompt in which I have specified choices as Daily, Weekly and Hourly.
    My requirement is that when I select the choice as 'Daily' I should get Daily Data report below Dashboard prompt.
    When I select the choice as 'Weekly' I should get Weekly Data report below Dashboard prompt
    and when I select the choice as 'Monthly' I should get Monthly Data report below Dashboard prompt.
    How this can be achieved in OBIEE 11g?

    Hi,
    What you do is just put this 3 different reports in 3 different dashboard sections and in section condition assign a condition based on presentation variable so that when u select weekly in the prompt only the weekly section condition should be true and other 2 section conditions should be false, in that case only the true section condition will display and false conditions will hidden.
    Try implement this u will definetly can achieve the result.
    Note: Create Variable prompt for this as best practice
    Revert for any queries.
    Mark if helpful/correct.
    Thanks
    Edited by: 934322 on Mar 19, 2013 7:49 AM

  • Making dashboard prompts mandatory

    Hi All,
    I am facing one issue.
    I have 4 columns in dashboard prompt.I want to make it mandatory that user should select some value in atleast one prompt column.
    Means user can't run the report with all 4 prompt columns as "All Choices" or all 4 blank.
    If user do this than popup should appear (like in javascript) saying that "You should select atleast one prompt".
    Can we achieve this in OBIEE? PLease let me know if any other information is needed.
    Regards,
    Vikas
    Edited by: Vikas Barsaiyan on Aug 20, 2009 5:21 AM

    hi,
    I have not faced this "problem" .I try to avoid drop down and prefer using multi select(more flexible).
    Anyway,you face your problem from one way..why not try an other one???
    let the user to choose anything he/she wants,and make the filter in your answer.
    Meaning,put some case when in your columns....(by using rcount(1) function)...
    1.using the max(rcount(collumnname)) = (the number of your max rows of a column)....then null....the same if
    max(rcount(collumnname)) =0 .....
    2.put in aswers(there is a choise of none results...-->>display your message).
    Otherwise , for your first way of solving,the only way is javascript!
    get firebug and which functions,css control your dashboards prompts and go button.Put there your code.
    hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • Dashboard prompt calendar date not filtering results

    I have a report with a date value. I custom formatted the date to MM/dd/yy and the report shows it correctly. I created a dashboard prompt with a calendar control and "is between" operator. However, the date never gets filtered. All values are shown. Do I have to change anything in the prompt because I custom formatted the date?
    Ahh.. forgot to add "is prompted" to column filter

    Hi Subbu,
    Thanks, but my question is a bit different.
    I want to have 2 'Dashboard' Prompts:
    1) Country - The default value for which should be set to the logged in User's Country. Later the user can choose to select a different country.
    2) Calendar Year/Month - For this I want to limit the restrict the values that are displayed, i.e. they should start from 2010 / 01 and end at Current Month. So I need the variable that would work with this field.
    I am unable to get solution for both of the above.
    Regards,
    Ady

Maybe you are looking for

  • 1st gen mini (1GB) will not restore with new updates installed

    hey everyone would appreciate some help on this one cause im stumped. i plug in my ipod and it says it needs restored on ipod itself and on pc. i will try to restore and it will but once window closes it comes up again. i tried running a diagnostic c

  • Adobe 9 pro scaning problem with windows vista

    My laptop has Windows Visa.  When I scan a document it scans in various part of the document.  However, it did scan in a complete document twice out of about 30 scans.  Any help would be great.

  • [JS] (CS3) ParagraphStyles NOT sorted by default

    Hello everyone, I've noticed CS3 Paragraph Styles are not in alphabetical order any longer but in the order they are created. Is there any way to make them sorted by name by default at the app.level? A lot of my script checking available styles are b

  • Audit_file_dest

    My database is running on 11.1.0.7 on HPUX Itanium environment. Could you please tell me whether I can delete the files under audit_file_dest? (since it is consuming space) SQL> sho parameter audit NAME                                 TYPE        VAL

  • New search feature in iOS 4.2 not working

    The new search feature is not working because my search box says "Google" and defaults to a Google search. How do I get the "search" box to replace the "Google" box?