Suppress decimal places in OBIEE Year column prompts

Hi gurus,
I don't know its a bug or what , in our database the "Year" columns comes without any decimal places ,also in the criteria section of the report ,I have made the data format "with '0' decimal places ", but still in the column prompt in the dashboard , I am getting year value with decimal places .
Eg. 2012 coming as 2012.00 in choice list of the prompts . Can you provide me any work around? for that thanks in advance..

The problem is due the data type of the column . Go to the physical layer and check the data type . It would be of 'Double' data type .. Change it to 'Int'  data type.  This would solve the problem . Posting it for the benefit of others who face similar issues. let me know if it helps anyone..
-Jay

Similar Messages

  • Custom decimal places in OBIEE Presentation Services

    Hello All,
    In the OBIEE presentaion services for a column of type number there is an option to override the default data format.
    In this option in the decimal places we have a value "up to 6".
    Is there any way I can change this to "up to 10" (at the backend) because the user data has 10 places of decimals.
    Thanks
    Neerupama

    Hi,
    Specify the decimal places using override option and select save and you will see two options
    1) wide default for Table.Column
    2) wide default for this data type.
    First one will apply this formatting only for this particular column whereas the second one will apply this formatting for all fields having same data type.

  • Displaying 2 decimal places in BI Answers column, using SQL_TSI_HOUR

    Hi,
    Would anyone know why the following code refuses to display 2 decimal places in a BI answers report:
    ' case when "- Job Detail"."Date Delivered" is null or "- Job Detail"."Date Received" is null then 'Not Available' else cast (ROUND(cast(timestampDiff(SQL_TSI_HOUR, "- Job Detail"."Date Received","- Job Detail"."Date Delivered") as double),2) as char) end '.
    Thanks,
    - Jenny

    instead of * 1440
    do with
    * 1440.00
    btw: why you need to cast to date? why cant be timestamp?
    Discard it

  • Suppressing decimal places in the screen fields

    Hello All,
    I need to display a quantity fields which is referring to the domain MENGE(10+3)
    While displaying, it appears as 1234567890.000
    here how to suppresss the zero's.
    Screen field is got from program(not dictionary)
    can you help me out.
    Regrds,
    Subramanian.

    Hi,
    Try the following..
    in the attributes for the menge field give the Reference field (down below the attributes screen)...
    Also Check the check box Right justified..
    Thanks,
    Naren

  • Rounding to 2 decimal places in Derived column transform editor

    I want to replace the contents of a value column with itself but rounded to 2 decimal places.
    The current column is a double and I have tried to perform this using the following expression but it fails to work.
    Code Snippet
    Round(cc_vl,2)
    How should I achieve this?

    I’ll take a guess here but you started with this –
    123.45678
    Got this –
    123.45000
    Wanted this –
    123.45
    So the 123.45000 is absolutely correct, the value has been rounded to 2 digits. A double however has a scale greater than 2, and you only wanted two digits after the point because you were concerned about how the value looked rather than the actual value. This is certainly not a bug. It is how you format the data for display.
    Your solution is the way to do this, either on the Derived Column or Data Conversion Transformation. You got it in the end, the replace versus new, because you cannot change the type of a column. You may convert the value, but the storage type of the column means it will implicitly revert to the base column type when you put it back, albeit with a value that has been rounded.
    Does that explain it?

  • Decimal places default

    Hi
    Is there any way of setting a default number of decimal places for a new column added on a deski report, so that any new column added on any report will always take this default number of decimal places?
    Thanks

    Louise,
    Within the designer module you can set the default format for any of the objects within the universe.
    In the report that than will be the default format used. If you add a new column to the report the new column gets the same format as the column where you started from. So if you are in a column where the format is 3 decimal places and you insert a new column to the left or right that new column format will also have 3 decimal places.
    Regards,
    Harry

  • OBIEE - edit report entities like title, column name, decimal places

    Hi all,
    How do I edit OBIEE report entities like title, column name, decimal places?
    I know I can edit column name in repository, but I hope I can do it also at report level.
    As you can see, year looks like "2012.00", I don't need these zeros after "2012", how do I edit it?

    Using Criteria tab
    Column Properties->Data Format->Override Default Data Format
    You may go for Save button to make it catalog level for that column
    Edited by: Srini VEERAVALLI on Dec 7, 2012 10:57 AM

  • How to get the number of decimal places configured for a site column

    Hi,
    I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
    The column conatins a value, but when retrieved programatically is displayed as 5.00000000  instead of 5.00.
    I am retrieving this column using listitem.Properties[field.InternalName].
    I need to trim the decimals based on  number of decimal places configured for the site column.
    How to get the number of decimal places configured for a site column?
    Thanks in advance,
    dhijit

    Get the field as SPFieldNumber and then check DisplayFormat which returns
    SPNumberFormatTypes
    SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
    SPNumberFormatTypes numFormatType = numberField.DisplayFormat;

  • Quantity column display upto 2 decimal places in ALV

    I've created an ALV for dynamic columns. For this i've first created the fieldcatalog and then the internal table.
    The problem that i'm facing in this is that the user wants the quantity column to be displayed upto 2 decimals. For this i tried the following:
    1.)     wa_fldcat-decimals_o = '2'
             wa_fldcat-decimals    = '3'.
             wa_fldcat-datatype     = 'QUAN'.
    with this i tried that let the calculation be to 3 decimal places but on output it should show 2 decimal places.
    But this doesnot gets reflected on ALV. It still shows 3 decimal places.
    eg:  3 decimal places: 16.667 + 16.667 + 66.667 = 100.001
    2.)     wa_fldcat-decimals_o = '2'
             wa_fldcat-decimals    = '2'.
             wa_fldcat-datatype     = 'CURR'.
    I also tried doing the calculation with 2 decimal places with datatype CURR but with this the last digit gets rounded.
    eg:  2 decimal places:  16.67  + 16.67   + 66.67   = 100.01
    Now we are taking total as 100 %. So tha calculative total cannot be more than 100.
    On seeing 100.001 user says show it to me to 2 decimal places  i.e. 100.00
    On seeing 100.01 user says  how can the total be more than 100 & this is .01 more than 100.
    Therefore how can the 1.) option be achieved.
    PLZ HELP!

    Hi,
    Can u check this one
    DATA: gv_packed TYPE p DECIMALS 2.
    CATCH SYSTEM-EXCEPTIONS conversion_errors = 6.
    MOVE char_field TO gv_packed.
    ENDCATCH.
    IF sy-subrc = 6.
    error handling
    ENDIF
    Try to move ur char field to a type p field. If char field is other than numeric then u will get error that can be handled in try...chatch..endtry block.
    data: l_val type p decimals 2.
    parameter my_val type char20.
    try .
    l_val = my_val.
    catch cx_root.
    Do ur error handling here
    endtry.
    you can work with search and concatenate.
    value1 = 3601152
    search value1 for '.' .
    if sy-subrc eq 0.
    concatenate value1(5) '.' value1(2)+5 into text.
    Or value1 = value1 / 100.
    endif.
    Thanks.
    Ashok.

  • OSA - Weightage Column Percentage decimal place

    Hello
    I have set up FWGT column for weightage in the Appraisal Template as percentage and it is giving 1.000 as default value, can the decimal place be changed to 1.0?
    Could you please help me with the following issue?
    Regards
    Vibha

    Hi,
    as mentioned, it was a guess ;o)
    I fiddled around a bit but if you create a new quantity scale with interval 0,1 (instead of 0,001 which is assigned to the standaard 100 point scale), you'll see only one decimal.
    Or at least it does so in the SAP backend.
    Wilfred.

  • To Include Decimal places for set of Records

    Hello,
    I have an OBIEE Report with four Unions where the first union has the count and other have Sum as aggregation for the 3 measure columns. If iam using combine similar request and if I apply column formatting it applies to all the unions, but my requirement is to show first bucket (top union which are counts) as 0 decimal places integer and other union values as currency with 2 decimal values. Something like below
    Col1 Measure1 Measure 2
    A 100 200 ---> Values from First Union
    B $ 2.35 $ 3.45 ----> Values from Second Union
    C $ 1.25 $ 1.00 -----> Values from Third Union
    D $3.67 $5.67 ------> Values from Fourth union
    I tried to add round(column,0) to values in my first union but it does not work. Could you please help me on this, hope iam clear.
    Unions - http://i51.tinypic.com/izcg2x.jpg
    Edited by: 887893 on Sep 27, 2011 4:31 PM

    You can't...This can throw errors like incapatible data types and all..
    As a business analyst, I'd suggest business to go for: i.e using signs in row values only
    Col1 Measure1 Measure 2
    A(FTE) 100 200 ---> Values from First Union
    B($) 2.35 3.45 ----> Values from Second Union
    C($) 1.25 1.00 -----> Values from Third Union
    D($) 3.67 5.67 ------> Values from Fourth union
    Hope its clear

  • 11g Client - Inconsistencies at the 16th decimal place

    In TOAD, SQLPlus, & ODBC clients numbers returned from a query are correct (max 3 decimal places)
    In Discoverer & from a report, the numbers are off at the 16th decimal place...
    EG:
    7.081 becomes 7.0810000000000004
    7.090 becomes 7.0999999999999994 (which is exceptionally weird because the rounding doesn't work)
    7.200 becomes 7.2000000000000002
    Any idea what would cause this?
    How can I query from SQLPlus (or TOAD) to confirm whether or not those extended decimal places actually exist in the table?

    Alan3 wrote:
    Maybe I should have added this little tidbit...Please be as verbose as possible (feasible). Show queries etc. - use copy and paste.
    The particular table in question is an interface table that has been in place for 4+ years.
    The columns in question are of data type NUMBER.
    We just switched the PC that runs this interface to Win7 with an 11g client.Describe the interface. E.g. In what program language is it written?
    Now we see the extended decimals with Discoverer (on any PC) and the interface report (an old report built from developer 6) as well, but not from SQL, etc...How is changing one pc client related to the Discoverer and Reports reports? Has the database server been upgraded also? (full version from select * from v$version; )
    Do you see the same change for "old" data (from before the switch).
    I want to know if there is a setting in SQLPlus or the DB client that limits the display of the decimal places that I can alter to determine if the extended decimals actually show up... (they shouldn't be there at all)Both sqlplus and db may affect the outcome, e.g.
    SQL> desc test
    Name                                      Null?    Type
    A                                                  NUMBER
    B                                                  NUMBER(38,5)
    SQL> show numw
    numwidth 10
    SQL>
    SQL> select * from test;
             A          B
         12345      12345
    123456789  123456789
        123,45     123,45
    123,456789  123,45679
         1,234      1,234
    1,23456789    1,23457
    6 rows selected.The same values was inserted to both columns of test. With scale = 5 for its datatype, B values are rounded (4th and 6th row).
    SQL> set numw 5
    SQL> select * from test;
        A     B
    12345 12345
    123,5 123,5
    123,5 123,5
    1,234 1,234
    1,235 1,235
    6 rows selected.The numwidth setting affects sqlplus formatting.
    Edited by: orafad on Jan 5, 2011 9:44 PM

  • Oracle DBConnect fetches less records when increasing decimal places

    Hi All,
    In our project we are extracting data from Oracle table into BW using DBConnect. One of the fields is an amount field which is stored as a DEC datatype in Oracle. When we try to bring in the value as it is by increasing the decimal places in the datasource "Proposal" tab, we see that the number of records transferred gets reduced. If we specify the decimal place as 2 or 3, we get all the records, but if we specify 4 or more, the records get reduced. Any idea what could be the problem? We are in BI 7.0 SP 13.
    Thanks
    Sundar

    Hi Kishore,
    Thank you for quick reply.
    Yes, I've already played around with different call interface types - no result.
    It is funny, but in View Data I see the column values are shown as integers! Of course, datatype is set to DOUBLE in OBIEE.
    May be it has something to do with the fact underlying db object is not a table, but a view? In the db view datatype is shown as NUMBER.
    I also noticed the same issue with other physical tables which are defined as opaque views (Select). If I change type to Physical Table and underlying db object is a table indeed, values are displayed as decimals, but no issues with extra digits. Still I have the issues with queries over this physical table.

  • TIMESTAMPDIFF rounding to 2 decimal places instead of 0

    Hi,
    Requirement is to find difference between two timestamp column,
    as known one we cannot perform arithmetic operation in non number type in rpd.
    Hence tried using TIMESTAMPDIFF function as below,
    TimeStampDiff(SQL_TSI_MINUTE, MONITOR_TIMESTAMP, ATT_TIMESTAMP" )
    OBIEE server converting this function to below SQL ,
    ROUND( ( CAST(ATT_TIMESTAMP as DATE) - CAST(MONITOR_TIMESTAMP as DATE) ) * 1440 )
    this returns value as ex: 12 as rounded value without any decimal places.
    but we want to have two decimal places, how to fix this or any work around ?
    Thanks,
    Satheesh

    instead of * 1440
    do with
    * 1440.00
    btw: why you need to cast to date? why cant be timestamp?
    Discard it

  • Decimal places in report painter

    Hi experts.  I have a financial report written in report painter.  I want to show two decimal places on a single row.  The rest of the report is in whole dollars, but this one row is a percentage, so I want to show decimal places.  I know that you can format an entire column, but I can't figure out how to format a single row.  Can anyone help?
    Thanks
    Janet

    YES U CAN
    SAME AS ABOVE PROCEDURE
    BUT SELECT ROW INSTEAD OF COLUMN
    Edited by: Anil Kumar Potnuru on Feb 10, 2009 9:02 PM

Maybe you are looking for

  • Why is Save As box for downloading files opening to random directories?

    In version 9 when I performed a download of a file the save as dialog box would prompt me for a save location per my settings. I would select a directory to save it to and save the file. When I saved another file from the same site it would default t

  • Firefox won't close after checking plugins

    I do a plugins check B4 I close Firefox, then I always run CCleaner after that, but lately CCleaner has been telling me that I still have a browser open and asks if I want it to close Firefox, if I tell it "yes" then it says it is taking too long do

  • Module Pool Error handling

    Hi friends, This issue regarding Module Pool Error Handling How to handle the multiple error on the same screen , For example in the below code you could see "Carrid is Invalid"  when carrid is entred wrongly "in the same way i also need " Connid is

  • SMART OBJECTS VANISH IN CS3 PHOTOSHOP

    ADOBE CS3 PHOTOSHOP/ ILLUSTRATOR WINDOWS XP I'm using a smart object in photoshop, I click to edit it in illustrator, make the changes and save but when I return to photoshop the Object is not updated and disappears from view leaving just a blank lay

  • Help with setting up MMS (N900) not supporting it

    I bought it recently!!! And I hate to regret buying such a device. I could not configure it to receive MMS messages? Anybody with an idea!!!!!