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

Similar Messages

  • Including "All column name " in the dashboard prompt drop down list

    Hi All,
    I have following requirement :
    1. Exclude the one of the column value from the drop-down list ( say exclude XYZ from client Name)
    2. Add a new “All Clients” to the Column drop-down list and make that the default. This choice will be as if the user went in and selected all of the Clients on the drop-down list.
    I am not able to achieve the second point of the requirement . Can anyone help me with this.
    Edited by: Surabhi24 on Jul 12, 2012 11:52 AM

    If i understand you right you are trying to change "All column values" to "All clients" and you can do that in
    Global filter changes file
    oracle_BI1\bifoundation\web\msgdb\l_en\messages\globalfiltermessages.xml.
    Thanks
    Ravi

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

  • How to initialize a Prompt drop-down list using a Repository Variable.

    Hi,
    the aim is to fill a drop-down list of a Year prompt only with year values that can provide data.
    This Show list SQL statement works:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= 2007
    Using the maxYear Repository Variable does not work:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= @{biServer.variables[’maxYear’]}
    Error Codes: G689FFB3:SDKE4UTF
    Expression: biServer.variables[’maxYear’]
    How can I achive the result without hardcoding the Year 2007?
    Mny thx Thomas

    Hi,
    Actually this error does not cause any harm except a presentation inconvenience. In my multi-select prompt I am using variable expression with dynamic repository variable. Dashboard results are correct. Just variable's value does not appear on page (error Error Codes: G689FFB3:SDKE4UTF
    Expression: @{biServer.variables['CUR_CAL_PER_MONTH_NAME']}). Pushing "GO" button on the prompt fixing the error but it's actually second execution of the dashboard.
    Any ideas ??

  • Change date format in dashboard promt and calendar

    hi,
    do any one know how to change the date format when using the calendar option in dashboard prompt. As the user picks a date from the calendar the format becomes DD-MM-YYYY. The customer would like YYYY-MM-DD!!
    Any suggestions?

    Hi Jose, i tried to update the settings in the NQSConfig.INI file, but there was no luck.
    I would like to mention my issue here again.
    I have a dashboard prompt built on a Date Column and I would like to see it as a Calendar Type. The value of this prompt is save in a variable pDate.
    In the answer, i have a filter on a date column(This is exactly the same column used to build the Prompt). The filter i set as Advance SQL Filter as I want to use the TimeStampAdd function.
    The filter is set as Date_Key = TimeStampAdd(SQL_TSI_DAY, -6, '@{pDate}')
    The above request when ran from the dashboard, gives me the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 932, message: ORA-00932: inconsistent datatypes: expected DATE got NUMBER at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    SQL Issued: SELECT Calendar."Time Id" saw_0, "Sales Facts"."Amount Sold" saw_1 FROM SH WHERE Calendar."Time Id" = TimeStampAdd(SQL_TSI_DAY, -6, '01/01/2002 12:00:00 AM') ORDER BY saw_0
    My understanding is that the Calendar control is populating pDate variable in 'mm/dd/yyyy hh:mi:ss' Format, while the TimeStampAdd function expect the variable as 'yyyy-mm-dd hh:ss:mi' Format.
    Is there any other place that we need to update on the server that will force the Calendar to return the prompt value in 'YYYY-MM-DD HH:MI:SS' Format ?
    Thanks
    Sai

  • Change Date Format in Calendar prompt

    Hi All,
    I am on 11.1.1.5 and the calendar prompt on selection of date/typing of date defaults to MM/dd/yyyy but, the requirement is to make it to default to MM/dd/yy. I have made 3 changes to the localedefinitions.xml file (dateSeparator,dateShortFormat,dateOrder) and they look like below
    <property name="dateSeparator">/</property> // separator to use between fields in short date formats
    <property name="dateShortFormat">MM/dd/yy</property> // default short date format for locale
    <property name="dateOrder">mdy</property> // preferred order of date fields for input
    But I still dont see a change in the format of the Calendar prompt. Do I need to change something else too?

    I checked under the My Account the locale is set to English and I have the following in the file but still when I select in the prompt the date format is MM/dd/yyyy instead of MM/dd/yy
    <localeDefinition name="en"> <!-- english base -->
    <property name="localeDisplayMessage">kmsgLanguageName_en</property>
    <property name="defaultLanguage">en</property>
    <property name="characterSetList">locale:en</property>
    <property name="listSeparator">,</property>
    <property name="decimalSeparator">.</property>
    <property name="thousandsSeparator">,</property>
    <property name="dateSeparator">/</property>
    <property name="timeSeparator">:</property>
    <property name="am">AM</property>
    <property name="pm">PM</property>
    <property name="timeFormat">h:mm:ss tt</property>
    <property name="dateShortFormat">MM/dd/yy</property>
    <property name="dateLongFormat">dddd, MMMM dd, yyyy</property>
    <property name="negativeNumberTemplate">-#</property>
    <property name="collationImplementation">win:0409</property>
    <property name="dateOrder">mdy</property>

  • OBIEE Prompt  - Drop Down List security restrictions .... Helppp

    Hi all,
    How can I put the security on a Drop Down Select List ?
    For Example, I have a Department Prompt for a dashboard.
    So I want put something like:
    the User of Department 1 can see and select our department (1)
    the User of Department 2 can see and select our department (2)
    the Admin can see and select All Departments.
    How can I do that?
    thanks.

    You need to implement security filters in your RPD to automatically restrict the values returned by the BI Server.
    You will need a way of mapping User of department 1 to the filter value , you can hold this in table if you want - Use an initialization block to populate a session variable per user , then filter the Department logical table using that session variable.
    Its been covered in a few blogs - just search OBIEE security filters.
    Regards
    Alastair

  • 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

  • Dashboard prompt - Hierarchy Drop down list

    Hi gurus,
    Is it possible to create a hierarchy in the dashboard prompt drop down list
    For example i have 2 paramater fields :
    Drop Dow List - 1 Department and
    Drop Dow List - 2 Job Title
    Drop Dow List - 2 is having dependency on Drop Dow List - 1, so when user choose the Department, Drop down list -2 (Job Title) value will change accordingly
    Can we do this using a dashboard prompt? Pleaseee advice
    Thanks in advanced,
    Fina

    Hi,
    I have a suggestion but it may not be perfect
    Use presentation varaible to capture the department value and use this as an input to restrict the "Job Title" choosing "SQL Results" under Show option with a query like this SELECT Employee."Job Title" FROM "Account Lists" where Employee.Department = '@{department}'
    Ensure the department prompt has a default value set in
    Also the new revised options for job title only comes up after you hit "Go" (It doesnt refresh automatically)
    As an alternative, you can also try out keeping them as 2 different dashbaord prompts. On hit of first Go, the next gets refreshed
    Hope this helps !!!
    -- Venky CRMIT

  • Is it possible to show first item in a Drop down list

    Is it possible to automatically display the first item in a drop down list ?
    The reason I ask is  ... I am generating pre-filled PDF forms using XML data files.
    Whenever there is a certain type of data I am populating a drop down list for the user to review.
    Currently, the user must click on the drop down to see if data is there regardless of whether there is no data at all or many data lines of data..
    I would like to make it clear to the user whether or not there is any data - right awa.y
    I have considered creating a display item next (like a check box or a text field ) next to the drop down and setting it to cindicate if there is data, etc -
    but i thougth that I would ask if the drop down could simply be set to automatically display the first item in the list (this is the preferred functionality)
    If this is not possible I can always create a check box and set it if there is any data as an  indicator for the user ..
    Thanks

    You can do this way..
    Place the code in Inititalize event with Java Script
    if(DropDownList1.rawValue == null)
        DropDownList1.selectedIndex = 0;
    You need to check if the Dropdown has a value selected from the previous save.. If not then set the selected item to 0th index. (which is 1st one in the dropdown values)..
    Thanks
    Srini

  • Drop down list on Interactive Adobe in ABAP Web dynpro application

    Hi Experts,
    How to provide data from R/3 to drop down list on Interactive Adobe in ABAP Webdynpro application.
    Please send any documents on this.
    Your help will be greatly appreciated.
    Regards
    Sridhar V

    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/b0884118aa1709e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/bb/69b441b0133531e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
    http://www.apentia-online.com/UP/Apentia/files/Article/Web_Dynpro.pdf
    http://dpermana.files.wordpress.com/2008/02/how-to-use-webdynpro.doc
    These all links will resolve your problem.
    Regards,
    Yogesh...

  • Controlling drop down list in struts

    Hi there!
    I 've a form whereby in the form, I've 2 drop down list and data displayed in the second drop down list is depending on the data selected from the first drop down list. Both data are read from database.
    After finished selected the selection from both drop down list then I'll submitt the button.(Save, Update etc ).
    I used DispactAction to take control the buttons.
    My Question is how to do it.
    Any help pretty much appreciated. Thanks.

    Hi,
    In ur Action Class create aa ArrayList of LabelValueBean Object (use import org.apache.struts.util.LabelValueBean; )
    Eg:
    ArrayList myList  = new ArrayList();
    for( int i=0; i<10 ; i++ )
       myList.add( new LabelValueBean(  "Label of  "+ i , " value of " +i  ) );
    }put myList either in request or session
    eg
    session.setAttribute(  "DisplayList", myList  );****************************************************************
    in JSP use JSTL Tags for JSP
    eg
    <html-el:select property="listToDisplay"  style="width=200" size="1">
    <html-el:option value="-1">--Select One--</html-el:option>
    <html-el:options collection="DisplayList" property="value" labelProperty="label" />
    </html-el:select>Here "DisplayList" will be ref'ed from session scope or request scope.
    Hope this can solve ur Doubt.
    Ganesh

  • How to change Date format in Prompts.

    Hi,
    How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.

    Hi,
    try to below ways
    1) By using cast fxn you can solve it.
    SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
    2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
    3) refer
    http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    Thanks
    Deva

  • Pre-Populating Text fields from a Data drop down list using SQL Server

    I'm currently trying to update some of our internal forms which are word based or a basic PDF form you fill in by yourself.
    I'm connecting to our SQL server as there are databases stored there for an internal bit of software that hold information
    I can use to fill in parts the form.
    I have a data drop down list that is dynamically linked to the SQL databass and allows you to select a Project Number from that database, what
    I want to do after this is selected is to automatically populate some text fields with the Project name, Account handler and other fields held in the
    database.
    I've had a look online to see if there is a solution but haven't really found anythig that is similar (although I am new to LC so may have seen it
    and not realised) and my Java is non existant.
    Has anyone tried this and able to point me in the right directions?
    I'm using LiveCycle ES2 version 9.0.0.2 from Creative Suit 5.5 on Windows 7
    Cheers

    Hi,
    Actually this error does not cause any harm except a presentation inconvenience. In my multi-select prompt I am using variable expression with dynamic repository variable. Dashboard results are correct. Just variable's value does not appear on page (error Error Codes: G689FFB3:SDKE4UTF
    Expression: @{biServer.variables['CUR_CAL_PER_MONTH_NAME']}). Pushing "GO" button on the prompt fixing the error but it's actually second execution of the dashboard.
    Any ideas ??

  • 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

Maybe you are looking for

  • User exit for sales order-Urgent

    How  Developed a User Exit, which will be triggered when a Sales Order is changed manually. This user exit will check the requested delivery date and update VBKD-BSARK field. Pls help me how to do it.... Pts will be rewarded.....

  • Add button inactive in Match record step in Import manager

    Hello, In the Main table, I want to see the country data as 'US; United States' in country field. I have made both 'country code' and 'country description' as display fields in the country flat lookup table. When I load country code and country descr

  • Speech Recognition not working when tested in IE on Windows 8.1

    Hi, I have adapted the example code form the Speech Recognition documentation to fire up Speech recognition in Visual Studio for Web Express 2013 on Windows 8. The speech synthensizer works fine when I fire up the app in IE and produce Text-to-speech

  • UML code synchronization unwanted

    I have an existing application that I would like to reverse engineer into a UML (or Java) diagram. I want to then "disconnect" the model from the source code, so that I can try different designs in the model. Is there a way to turn off the code synch

  • QuickTime accidentally deleted...help!

    Hi this is Julie and I'm an average to good computer user dealing with the techy stuff (so be patient with me whoever is kind enough to reply!). My kid accidentally deleted the Quick Time and this bogus Apple download is not working. BTW, when I trie