Date Format in OBIEE

Hi All,
I am using OBIEE 10.1.3.4.1 with informix db. While extracting data from the db, it has all the date field as "YYYY/MM". And While executing the report I am getting an error as *"[nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 1994/02 does not match the specified format. (HY000)"*. I have checked the data type for the particular field which is "Date" type.
Any Suggestion?
Thanks in Advance,
Deepak.

actually i got like this type of format . i have done this format. but i want comparision like
i have column like month id yyyymm
i would like to give filter condition . i need data last 13 month values.
CAST(YEAR(CURRENT_DATE) AS CHAR)||CAST(MONTH(CURRENT_DATE) AS CHAR) it gives current date
CAST(YEAR(TIMESTAMPADD(SQL_TSI_MONTH,-12,CURRENT_DATE)) AS CHAR)||CAST(MONTH(TIMESTAMPADD(SQL_TSI_MONTH,-12,CURRENT_DATE)) AS CHAR) this one give last 1 2 month value
i need data b/n values. how can i achive this. big challenge to me. could u give any suggestion to me. urgent requirement. if u get. forward to mail [email protected]
regards
sivanagireddy.k

Similar Messages

  • How to update the default date format in OBIEE 11G.

    Hi All,
    How to change the default date format in OBIEE 11g from the MM/DD to DD/MM. Could anyone please help me out ASAP?
    Thanks,
    Arpan

    Hi Arpan
    OBIEE 11g is having " localedefinitions.xml " file at this Location C:\Oracle\Middleware\Oracle_BI1\bifoundation\web\display
    in my case i installed at C:\Oracle\MIddleware.
    so
    1- Stop BI Server from EM
    2- Navigate to this Location C:\Oracle\Middleware\Oracle_BI1\bifoundation\web\display. in your case oracle home will be different
    3- take a backup of this file localedefinitions.xml "
    4- modify it and save
    5- bring BI Server up.
    Regards
    sher

  • Not able to save date column with custom date format. in OBIEE 11g

    Hi,
    I have migrated one report from OBIEE 10g to 11g. There is a date column with customized date format(i.e. Default format is 'dd-MMM-yyyy' and I have used 'MMM-yyyy').
    But when I use this custom format and try to save the report in 11g its giving this below error.
    ''Catalog object privilege validation failed for user to path /shared/ALM BI/Finacial Results/History Income Statement Detail.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup.
    This HTML might be present in column headings, table headings, text views, narrative views, the print header,
    or the print footer and must be removed before saving.''
    Please let me know what changes I need to do for this.
    Regards,
    Ambika Nanda.

    Hi ,
    privilage issues...check the security settings once..
    Thanks,
    Ananth

  • Date format in obiee reports

    HI guys
    i got two obiee server running in our env . both are identical . on one server when ever we rite any report with date column in it it comes up with dd/mm/yyyy output on another server if we right any report all the date column comes with dd mon yyyy format .. i want both of them should show date like dd mon yyyy format .. i checked all the conf files are both are looking same still not able to figure out where should i change for this to work .
    please let me know if you need more info from my end.
    Regards,
    Dev

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Date format in OBIEE 11g is changed.

    Hi,
    we have installed 11.1.1.5 on linux x86-64bit machine. after that we upgraded the OBIEE 10.1.3.4.1 rpd and catalog to OBIEE 11.1.1.5.
    everything was working fine at this stage.
    After that we did some development in 10g ... and again upgraded the rpd and catalog to 11.1.1.5 using upgrade assistant.
    but after that the date format in all the date prompts on the dashboards is changed to MM/dd/YYYY.
    How to change it back to dd/MM/YYYY?

    Hi Visal,
    Please award points it is useful the above answer.
    2. After installation the date format default : DD-MM-YYYY.
    I am not sure, I think you need install patch file in this version on your server or you need to change ALTER SESSION set NLS_DATE_FORMAT = 'DD/MM/YYYY'.
    I though this is bug in server version.
    What server its showing this format means(Unix,Linux,AIX)?
    Award points it is useful.
    Thanks,
    Satya

  • How to change date format in OBIEE

    Hello
    I have a need to change the date column to a varchar column in OBIEE..
    The date column stores data in the format of 'YYYY/MM/DD', I need to change this to a varchar column with this format 'YYYYMM'..
    Since I am pointing directly at the transactional database, I can't make any changes at the database level, so I will have to do it in OBIEE layer, any ideas how it could be done?
    Many thanks in advance!

    hi user,
    Refer : http://varanasisaichand.blogspot.com/2010/01/how-to-change-data-format-to-our-custom.html
    http://varanasisaichand.blogspot.com/2010/05/evaluate-function.html
    Thanks,
    Saichand.v

  • Data Wrap and data Format in OBIEE Reports

    Hi
    When we select few columns , the data is getting wrapped. To avoid this we had chosen "Plain Text (Without broken spaces)" available in the data format tab and it resulted in unwrapped data.But we are unable to get the same format as that of database.
    Please , suggest us how can we get the same dataformat for the columns similar to the database format in reports .
    Thanks.

    Hi
    Our requirement is not to display multiple column values in the same cell in OBIEE .
    As mentioned earlier we do have a column named " Comments" . This column in database contains the data in the following format :
    - Statement 1
    - Statement 2
    - Statement 3
    - Statement 4
    FOLLOW-UP:
    - Statement 5
    - Statement 6.
    - Statement 7
    Now when we create a report with this column , the data for this column in the report is as follows :
    - Statement 1 - Statement 2 - Statement 3 - Statement 4 FOLLOW-UP: - Statement 5 - Statement 6 - Statement 7 .
    But we do have a requirement where the dataformat for this column in the report should be same as that of the database ie., the data displayed under this column in the report should be same as it is in database as follows :
    - Statement 1
    - Statement 2
    - Statement 3
    - Statement 4
    FOLLOW-UP:
    - Statement 5
    - Statement 6.
    - Statement 7
    BUT NOT AS
    - Statement 1 - Statement 2 - Statement 3 - Statement 4 FOLLOW-UP: - Statement 5 - Statement 6 - Statement 7 .
    Thanks.

  • Date format in OBIEE 10g Calender Control

    Once date selected in Calender, it is taking Date-Time format automatically.
    i.e when we select 20/01/2013 in calender and select GO button, then it takes '20/01/2013 00:00:00'. How can we change from Date-Time format to Date format only.
    Best regards,

    Check this
    http://108obiee.blogspot.com/2009/03/how-to-change-date-format-mask-in-date.html
    Btw: Is that causing on report data?
    Mark as correct
    Edited by: Srini VEERAVALLI on Apr 25, 2013 7:02 AM

  • Column data formatting in OBIEE ANSWERS

    Hi,
    I have a requirement of putting '-' whenever column value is NULL. I am doing this ANSWERS. I am doing this by using the below.
    IFNULL(CAST("COLUMN NAME" AS CHAR),'-').
    It is correctly replacing by '-' whenever data is NULL but it is also overriding default data format as Treat Text As(custom Text Format) if you look at the data format tab in the column properties. So if column has data like 23.1 it is displaying as 23.123456667777.
    But I want to overwrite custom text format as number format to show as 23.1.
    Please help me on this.
    Thanks,
    SRK

    I have made a solution for you :
    http://gerardnico.com/weblog/2009/04/09/how-to-mix-string-and-number-data-type-in-one-column-and-get-a-sum/
    Replace the condition by your value is null in the conditional formatting and you are done.
    Success
    Nico

  • How can I change defaut date format to dd-mon-yyyy in bi analytics

    hi..
    How can I change the default date format to DD-MON-YYYY in BI Analytics...
    I am passing a date in a report from a prompt....but it is always taking "dd-mon-yyyy hh:mm:ss" format...I want to input the prompt in oracle's default date format i.e dd-mon-yyyy..
    please help...I dont want to use cast function because it will convert the date into a character value....I want a date...

    Hi USer
    Try this link
    How to change date format in OBIEE
    Re: repository variable at date prompt
    Thanks
    Diney

  • Custom date format that can use in Obiee 11g

    Hi,
    I'm new here,
    What are the date format could be use in OBIEE 11g?
    can we custom like this: DD-MM-YYYY?is there any case sensitive like dd-MM-yyyy?
    Please help
    Joe
    Edited by: JoeSSI on Mar 1, 2012 8:32 PM

    Hi,
    bot should work.refer the below
    go to u r required columns -->right click and properties then select data format tab --> check it Override Default Data Format > select it custom option put u r required both option work.
    if u kept it
    DD-MM-YYYY ===> 01-03-2012 format u ill get
    or
    dd-MM-yyyy
    Thanks
    Deva

  • Date format conversation in OBIEE

    Hello guys
    I am a quick question about how to stop OBIEE from using to_date conversation? The date format in the db is dd/month/yy, and when I run any report in OBIEE answer using Date columns, it will always convert the format to "dd/mm/YYYY". The sql generated will always have a to_date() in where clause..
    Is there a way to not have OBIEE does that and just show the date with format as it is and drop the to_date conversion in SQL?
    Thanks

    I think you are getting confused here. Oracle's default date format is dd-mon-yyyy. So when you run a query like this:
    DATE_COLUMN = '01-Nov-2009'
    Oracle applies an IMPLICIT data type conversion to your date string and converts it to a date data type. Whether you allow Oracle to do the implicit conversion or do it explicitly like this DATE_COLUMN = To_date('01-Nov-2009', 'dd-mon-yyyy') should always result in the same query performance. When to TO_DATE functions affect query performance? When you apply the function over the DATE_COLUMN like this:
    TO_DATE(DATE_COLUMN, 'dd-mon-yyyy') = '01-Nov-2009'
    Why? Because indexes on DATE_COLUMN WILL NOT be used unless you have defined a function level index with a index column using the function: TO_DATE(DATE_COLUMN, 'dd-mon-yyyy'). My guess is that your DATE_COLUMN is not a date but a varchar2, therefore when you pass in To_date('01-Nov-2009', 'dd-mon-yyyy') Oracle does an IMPLICIT conversion of your DATE_COLUMN to DATE data type to match the data type of your where condition hence it is taking long to execute as no indexes are used. Can you confirm what is the exact data type of the DATE_COLUMN you are using to filter on? Do you have an index defined in that column? Can you confirm exactly how is the index is defined? Have you ran statistics on the table AND the indexes as well?

  • Obiee 11g upgrade issue for date format

    Hi,
    I am facing a date format issue with obiee 11g report. This statement cast(cast(current_date as char) as timestamp) is failing with "not a valid month" error in obiee 11g. This worked fine with obiee 10g.
    I am basically trying to set the date to 12:00:00 am of the sysdate. Below is what I am trying to achieve:
    timestampadd(sql_tsi_hour, 1, cast(cast(current_date as char) as timestamp)))
    the above statement fails in obiee 11g.
    Thanks for your help,
    AP

    I dont think you need any functions to get the required output, try to set the date format as below
    [FMT:timeStampShort]
    If helps mark
    Thanks
    Edited by: Srini VEERAVALLI on Apr 23, 2013 4:18 PM
    I think with format and then the below should work with no issues.
    timestampadd(sql_tsi_hour, 1,current_date)
    I think you are wasting time by posting here, just do it. You no need any ones permissions to do it ;)
    Edited by: Srini VEERAVALLI on Apr 24, 2013 8:55 AM

  • Can't see HTML and Custom text format under data format tab in obiee.

    Hi,
    I want to add a java script to my report but I can't see HTML/Custom text format option under Data Format Tab--->"Treat Text as" menu.
    My report is a union report.
    For data column and numeric columns i can see custom option available but for text columns it is not visisble.
    Any idea why it is not showing and what should be done here.
    Any pointers are welcome.
    Please help,it is really urgent.
    Thank in advance!
    Edited by: 810008 on May 18, 2011 10:03 PM

    Hi,
    Select text column (varchar column) -> Treat Text as -> custom text format ->Remove @ (default) -> add [html]<script>sometext(‘@’)</script> followed by your javascript
    for eg:
    [html]<script>buildGoogleChart(‘@’)</script> <head> <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert box" /> </body> </html>
    hope helps u.........
    cheers,
    Aravind

  • Date prompt in obiee

    Hi Gurus,
    Prompt Name(date) =13-sep-10
    table name -test1
    requirement is to once i select the date from Date prompt let us say 13-sep-10 so it should select all the data after that date
    so should be query for the same in prompt SQL
    please help
    thanks

    TimestampDiff and TimestampADD( Difference of two dates) in OBIEE
    How to get a difference between two dates (in terms ) of days,weeks,months what every it may be
    The below formula gives you no.of days between day date and current_Date
    Days difference:
    TIMESTAMPDIFF(SQL_TSI_DAY, Time."Day Date",CURRENT_DATE)
    The below formula gives you no.of months day date and current_Date
    Months difference:
    TIMESTAMPDIFF(SQL_TSI_MONTH, Time."Day Date",CURRENT_DATE)
    The below formula adds months to day date column
    Toadd 12 months to a date column:
    TIMESTAMPADD(SQL_TSI_MONTH, 12,Time."Day Date")
    similarly we can write the formulas using different intervals based on the date format in the column
    Here are the intervals :
    SQL_TSI_SECOND,
    SQL_TSI_MINUTE,
    SQL_TSI_HOUR,
    SQL_TSI_DAY,
    SQL_TSI_WEEK,
    SQL_TSI_MONTH,
    SQL_TSI_QUARTER,
    SQL_TSI_YEAR.

Maybe you are looking for

  • What language would suit someone who hates anything that isn't PHP?

    Psst. Yes, this message is long, but so are my requirements. Please take the extra few seconds to read it First it was QBasic, then QuickBasic, then, of all things, Visual Basic... version 1.0. On Win98. Then XP. I made a lot of stuff with VB. 500 do

  • Printed Documentation Error - Converting RH8 Proj to MS Word 2007

    I get the following error message when I attempt to use the Single Source Layout > Printed Documentation option: Microsoft® Word has not been started on this computer. Launch Word and click the 'Start using Microsoft® Word' option before generating P

  • Passing values in hyperlinks through the URL

    I am trying to do the following: <a href = "linkhandler.jsp?value=lee"> then in linkhandler.jsp I am trying to get that value...i have: String firstName = request.getParameter("lee"); ...but when I print its NULL What is the proper syntax? Thanks!

  • Control Excise invoice cancellation

    Hi All Our Business process is Proforma invoice - Excise invoice - Commercial invoice (Pass to accounting ) Problem - After generating Commercial invoice system is allowing to cancel Excise invoice through J1IH or J1IIN with out checking commercial i

  • Where can i find the icoud control panel for windows vista

    I need to back up my iphone and cannot find the software for the icloud control panel for windows vista --- only for windows 7 and 8. Where can I find this as Ineed to back upp my phone before an appointment tomorrow to replace my battery. Thanks for