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

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

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

  • 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

  • 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

  • Data reconciliation using OBIEE/Answers

    Hi
    I am new to OBIEE. I am trying to use the OBIEE and Answers for the reconciliation of the accounting entries with transaction data, However This leads to two facts one transaction lines and accounting lines. I can make the transaction lines also dimension. But in such case can I compare the transaction amounts with accounting amounts something like
    Transaction Total – Accounting total – difference .
    Thanks a lot in advance.

    Hi
    Still I am not ready with complete data model. However I Can explain. we have the customer, transaction types, date , Currency as dimensions. These dimensions are linked to the transaction Fact where we have the transaction amount like Invoice amount for each Transactions, open balance for each TXtransaction. We have another child table to the transaction table called accounting distribution table. Now i can build two differnt star one for transaction as fact and another one as Accounting flex. In such a case in we join both fact in presentationlayer to get the transaction amount and accounting amount compared. Also another question is can we have the both facts in the same schema. Or any other approach?
    Thanks a lot in advance
    raj

  • How to count the occurance of the data entry on OBIEE answers

    Hello guys
    I have one report that contains a column call type. In the report that I am creating, there are 200 rows in that column, but there are really just 4 types of call type; "A,B,C,D"
    So in my report it looks like this
    Call type other dim and fact
    A
    A
    A
    B
    B
    C
    D
    D
    D
    D
    Now I need to add one more column said call counts, which needs to count the occurance of each call types:
    Call type count others
    A 3
    B 2
    C 1
    D 4
    So how would I be able to achieve this on answers? I used "count" function on "count" column, but it is counting all the rows without distinguishing the call type
    Please let me know
    Thanks

    Hi,
    Looks to me like this should be a measure within the RPD rather than something you try to do at the presentation level. Any simple "# of <x>" measure will work like you describe, it should just do a simple count on something unique in the table and have an aggregation rule set, OBIEE will then automatically group by this in your report by distinct call type without you having to do anything complex.
    Regards,
    Matt

  • Export to excel issue - date format cannot be displayed properly

    Dear all,
    When we do a export to excel, if it has date format, we always have problem on displaying it in excel. Some of the date if we change the data format, it will be changed to the correct way. Others will remain the old data format. Any idea?
    I've checked the SAP note. It doesn't work. Thank you in advance.
    Regards,
    Yuka
    SAP Note:
    Click the Excel symbol in the task bar in Business One
    Save the file as ".txt"
    Open Excel and open the file as a ".txt" (Select in "Files of type" All Files (,))
    In the Text Import Wizard Select "Delimited" and for "Start import at row" 1.
    Click "Next"
    In the Text Import Wizard - Step 2, select 'tab' in "Delimiters", for "Text qualifier:" choose ""
    Click "Next"
    In the Text Import Wizard - Step 3, highlight the Date column and in "Column data format" check the radio button Date in the drop down menu beside Date you can set the date format you require
    Click "Finish"

    Dear Yuka,
    You may check this thread:
    Re: Incorrect date format in excel reports
    Thanks,
    Gordon

  • 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

  • Presentation variable data format

    Hi All,
    We are using date as presentation variable and using that presentation variable in reports column formula's, but in prompt date format is showing MM-DD-YYYY, but in report it is taking as YYYY-MM-DD because of this data format difference it is giving error on dashboard but working fine in report results. If we change the format of date as char and giving user input filter it is working fine but users want the prompt value as it is. So how can we change presentation variable format in column edit formula?
    Tanks in advance.

    Try to look into that prompt column to see why you are getting different date format.
    If it is not correct as per you application then I would suggest to correct it using column->Data Format and then Save.
    I would suggest to convert the filter to SQL format to handle it, you may get it after Filter... button add date and then use Advanced button. using SQL you have options to do it.
    Thanks
    Edited by: Srini VEERAVALLI on Apr 12, 2013 7:47 AM
    What is Print Date?!! Is that available column in Subject Area? If you dont know why its like that investigate.
    Edited by: Srini VEERAVALLI on Apr 12, 2013 8:10 AM

  • Averaging column with date/time format in BI Answer

    Hi everyone
    we are working on BI answer and training to get the average of the working hours of the departments. The Working Hrs column is Date format in the Database so we tried to converted to CHAR through Cast Function from Edit columns Formula in Answers BI, and this gave us date "2007/09/01" as result!! We also tried to cast the Working hours to:
    CAST(WORKING HOURS AS CHARACTER FORMAT 'yyyyMMdd-HHmmss')
    NOTE: In the Working Hours we have null values...
    the actual working hours appear in Answer Table is "7/1/2009 6:13:00 AM"
    How to get the Working Hours column Average on Answer BI?
    Appreciate your help
    Regards
    Edited by: user817525 on Jul 21, 2009 11:15 PM

    how about next solution:
    60 * EXTRACT( HOUR FROM ATTENDANCES.A_ATT_TIME) + EXTRACT( MINUTE FROM ATTENDANCES.A_ATT_TIME)
    with this u have minutes for working day. If u divide this expression with 60:
    (60 * EXTRACT( HOUR FROM ATTENDANCES.A_ATT_TIME) + EXTRACT( MINUTE FROM ATTENDANCES.A_ATT_TIME)) / 60
    u now have hour with decimal (for 8:52 is (8*60+52)/60 = 8,67 )
    and u only need to round this number.I hope this help
    ps.when u have new question probably is good way to create new thread
    all best
    Phenix
    Edited by: Phenix on Aug 5, 2009 8:01 AM

Maybe you are looking for

  • Transferring from old to new computer

    My computer recently got a virus that does not let me log on to the internet. I have since gotten a new computer. I was able to transfer my "purchased" songs that I had gotten from the iTunes store onto my new computer by following the online directi

  • White balance temp and tint readings on hub

    Maybe I'm missing something. Aperture does not seem to show actual color temp or tint of specific photos on the adjustnment hub. Reads 0 tint and 5,000 k. Is there an option to activate the hub to display tint or temp similar to ACR? Thanks, Robert w

  • Flash Exposure Compensation Metadata

    Please allow Bridge to read and state the degree of Flash Exposure Compensation that a photo uses in its metadata. Currently, Bridge does not read this info for Canon photos but the info is in the picture.

  • Problems with my drivers after upgrading windows xp to windows 7 in parralels

    Hey. I have just bought paralells desktop 7. I installed windows xp and the windows 7 after on my macbook pro. The windows 7 is on a upgrade cd so I had to install it in the xp system. When the installation was finnished, the drivers was not installe

  • IPod integration with car navigation systems?

    I recently bought a Honda CR-V with a touch screen navigation system (with XM radio). Honda offers a iPod "music link" install, but supposedly it only allows shuffle song play or shuffle album play. It would seem a no brainer that they could write an