Decimal places in excel

Hi,
   I am sending quantity field to excel with three decimal places but when I open the excel after generating it shows only two decimal places.How can i obtain this function with excel it should show only 3 decimal places with thousand seperator.
Regards,
Karthik.k

Hi,
if you are sending your data with OLE try something like this:
SET PROPERTY OF GS_CELL1 'NumberFormat' = '#,##0.000'.
Kostas

Similar Messages

  • How to get the exact decimal places displayed while exporting to Excel?

    Hi All,
    I have a requirement to display the exact decimal place values in my report. In my pivot table, i duplicated a column named order number and converted to percentage by applying these conditions Show Data As-> Percent Of-> Column. I got a resultant column with one decimal point. As i needed two decimal points i took the xml of the report and changed the minDigits='2' and maxDigits='2' values like this. After that i got the accurate answer. But when i export it as excel sheet it is not showing the % column properly. The values after 0 is not getting displayed. Any solution for this?
    Thanks in Advance
    Thenmozhi

    Hi Thenmozi,
    You can try adding the below statement in the Custom CSS section of the your column properties.
    mso-number-format:"\@"
    Edit your report--> Criteria-->which column you want to display in excel click column properties --> select CCS--> Paste here above code.
    Second way:
    Edit your report --> criteria-->click fx option for your column and apply the below code.
    2. '<span style="display:none">&nbsp</span>' || CAST(your column name AS CHAR)
    Award points it is useful.
    Thank,
    Satya

  • Decimal places when exporting HFM form to Excel

    Hi All,
    We are on HFM 9.3.1.3.
    From the web, when we export a data form to Excel, we lose the decimal places.
    In our data form we use 3 decimal places, however all exports to Excel deafult to 0 decimal places. We can reproduce in Excel 2003 and 2007.
    Is there a setting we can change so that an export to Excel picks up the decimal places used in the data form?
    Thanks for your help.
    Seb

    Hi,
    Thanks for the reply. I just checked and both settings are the same:
    decimal separator is a . in the server's regional settings and user preferences.
    I have tried changing the regional settings to no avail.
    The strange thing is that if I connect from my laptop to another 9.3.1 environment then I can export to excel with the correct decimal places.
    I'd say this is definitely an environment issue.
    Thanks again for your help.
    Seb

  • Trunc 2 decimal places

    I have a report that has the option of dispalying pdf or excel. I have the pdf version working fine but i am having a little trouble on the excel version. I have a grand total and department total. Basically I need help formating two decimal places. Both dept_total and grand_total are numbers that both display. I have another column that displays what percent of the total is from each dept.It currently returns a number such as 10.23383547957459973 which i need to display as 10.23 How can i incorporate the trunc function into this code?
    ...to_char((dept_total/grand_total) *100)
    The query looks similar to this.
    select
    to_char(a._grand_total)
    ,to_char(a.dept_total)
    ,to_char((dept_total/grand_total) *100)
    from(
    select sum(xxxx) grand_total,
    sum(xxxx) dept_total
    from table)a

    Use ROUND:
    select to_char(round(10.23383547957459973, 2)) from dual;
    10.23

  • Trunc percentage two decimal places

    I have a report that has the option of dispalying pdf or excel. I have the pdf version working fine but i am having a little trouble on the excel version. I have a grand total and department total. Basically I need help formating two decimal places. Both dept_total and grand_total are numbers that both display. I have another column that displays what percent of the total is from each dept.It currently returns a number such as 10.23383547957459973 which i need to display as 10.23 How can i incorporate the trunc function into this code?
    ...to_char((dept_total/grand_total) *100)
    The query looks similar to this.
    select
    to_char(a._grand_total)
    ,to_char(a.dept_total)
    ,to_char((dept_total/grand_total) *100)
    from(
    select sum(xxxx) grand_total,
    sum(xxxx) dept_total
    from table)a

    Hi,
    Since you're calling TO_CHAR anyway, you can add a 2nd argument, specifying two decimal places:
    select
         a._grand_total
    ,     a.dept_total
    ,     to_char ((dept_total/grand_total) *100,       '999999999.99')     AS pct
    from     (
             select  sum (xxxx) grand_total,
                      sum (xxxx) dept_total     -- Why have two copies of the same value?
             from    table
         )a If you're not using a 2nd argument, why use TO_CHAR at all in this query?
    This will round the value, not truncate it. That is, if the value is 10.23<b>5</b>83547957459973, it would display '10.2<b>4</b>', not '10.2<b>3</b>'. If you always want to round toward 0 (rather than to the nearest multiple of .01), then use TRUNC.

  • Calculated Key Figures Decimal Place Error

    Hi Experts,
    Wonder if there is anybody to help me out to explain why I am having a problem on the calculated key figures decimal places when if I report on the components of the calculated key figure (restricted key figure) are working correctly?
    The calculated key figure is a boolean formula made up of 2 restricted key figures.  The 2 restricted key figure are having 2 decimal place (one is 0.36 another is 0.00).  In the current condition, the 2 restricted key figure just sums up - 0.36 + 0.00 = 0.36.  However the calculated key figure displayed as 0.359999 (6 decimal places) as the result.
    I am using BEx Analyzer Excel.

    Hi Fang,
    right mouse click on your KF and select properties. Then define the number of decimal places you want.
    Ciao.
    Riccardo.

  • Decimal places on the result row is incorrect

    Dear Expert,
    I met a problem that decimal places on the result row is incorrect.Anyone can help me?
    On key figure balance,we do the currencies translation,also we set the key figure should have two decimal places.
    We set a fomular to calculate the total result of Account A,B,C.
    (Total result = account Aaccount Baccount C).
    If we manually sum up the balance of account A,B,C displayed on analyzer,which are rounded to 2 decimal places,the result should be 601.25(100.61200.38300.26),but the actual total result executed by query is 601.24.
    In fact we need the result 601.25 instead of 201.24.
    I take the example as following:
    Account      Balance
    Account A  100.61
    Account B  200.38
    Account C  300.26
    Total result 601.24
    Thank you in advance.
    Best Regards,
    Maggie
    Edited by: Maggie Ma on Sep 25, 2008 9:17 AM

    your "problem" is, that BEx is not totalling the "displayed" values but the real values
    try a summation on the following in Excel:
    100,605
    200,375
    300,26
    then format the cells to show 2 decimal places only
    do you see the result changing?

  • Decimal places diferent in BO SUM function than from DB

    Hi,
    I have a column from a Netezza database with 2 decimal places, if I apply a sum() function in BO (report) the decimal places are 4.
    The strange part is that if i do exact the same query in a DB2 database the decimal places are always two (like in DB) even if i use a sum function in report.
    There is some configuration regarding the database i'm using to set the decimal places in the report level to be the same than in DB?
    Edited: I've been studing the problem and I found using a odbc instead of a jdbc makes all the columns have 2 decimal places, and the sum problem doesn't happen. Now my issue is the division. How is possible that with the exact same values with two decimal positions, in BO and exporting to excel the last decimal place is different in some cases
    Example:
    Lets say A/B with A=13549678065,560000 and B= 21629484348,690000. With Netezza result is 62,6444803173527 and Db2  62,6444803173528
    Thanks for your time.

    I've never seen this particular problem before. Quite strange. It sounds more like an OLAP or SQL Server issue, not BPC.
    I'm not aware of any configuration on SQL server that allows you to control the decimal separator.
    I had a similar problem in the past, when my customer refused to follow the install guide instructions, and insisted that the server be set to non-US English regional settings. If I recall, the issue had to do with date formats not decimal separators. They ended up un-installing and re-installing the entire OS (with US English setup, the second time around), and then it worked fine. This was back on 5.0, and perhaps the situation has changed since then. There's a section in the master / install guide that covers the server-side language & regional settings in some detail.
    But before you look at that, try something easier -- is it possible that the cube is somehow corrupted? Do you get any errors when you process the application? Perhaps there is some data in the fact table with an invalid member ID.
    Do you get the same result in your Excel report when you use both EVDRE and EVGET?
    And if you browse the cube data in SQL Mgmt Studio (logging into the Analysis Services cube) do you see aggregated data there?
    Regards,
    Tim

  • How can i configure number of decimal places in smartview for Word?

    When I open a smart slice in word via smart view all my values are in scientific notation, I have set the options in excel but they don't come over to word.  Isa there any way to correct this?

    Have you tried formatting the fields in Word?  For example, after bringing in your SmartSlice data, right-click on the field where your data resides and select "Toggle Field Codes" from the Windows menu. Modify the field to look something like this for comma delimited with two decimal places: {=HsGetValue("", "Period#Sep", "Account#Cash")|SmartView14103814190|$#,##0.00|||} Comma delimited with no decimal places: {= HsGetValue("", "Period#Sep", "Account#Cash")|SmartView14103814190|$#,##0|||}

  • GUI download, how to retain format of decimal places

    Hi everyone!
    I have a program that downloads data to excel file using GUI Download. The values of the amount in the ALV display are 11.90, 11.90- which is correct because it has two decimal places. But the problem now occurs in the excel file. The values are now 11.9, 11.9-.
    Do you know of any method that will retain the format of the values when it is already in the excel file.
    The format of my decimal notation is 1,234,567.89.
    Thanks in advance.

    Thank you!
    But I need to have the format of the numbers in the excel the same as the format in the ALV <b>without changing the format of the cells in the excel file</b>. It has to be changed in the program.
    Actually there are also amounts that are being displayed in excel file with 2 decimal places the same as the ALV display. But some of the amounts were changed when it comes to the excel file, and I don't know why this happens.
    Thanks.
    Message was edited by:
            Betsie Camoro

  • Uploading Number with Two Decimal Places

    I am trying to import data from my excel file to table in the database using SQL Developer.
    It is working fine except that in my excel file I have data with two decimal places, but during import it shows only one decimal place. Is there any way I can import data with two decimal places?

    This works well with SQL Dev 1.5.X.
    Guess it would have been a bug in prior versions.

  • Essbase - spurious decimal places??!!

    Hi,
    having double checked my source data I have the following issue, I import balances into Essbase, using Hyperion Planning's flat file interfaces, so I can easily see the source data only has 0 d.p. for GBP, 2 d.p. for STATs (non-currency) - my problem is that in Essbase there are spurious decimal places well beyond the levels indicated immediately after import (i.e. I am certain this is not related to user input and also certain that this is not an excel issue as data is generated via sql routines that directly create flat-file content).
    I need to fix this issue as we have a large structure which will yield aggregate errors if I cannot remove these spurious decimal places.
    I prefer to fix this via configuration if possible, not via business rules that truncate / round user input.
    With thanks for your input,
    Robert.

    You can round the values using @round command in calc script or BR
    Check this
    http://docs.oracle.com/cd/E12032_01/doc/epm.921/html_techref/funcs/round.htm

  • SSM 7.5 SP7 - Entry & Approval decimal places

    Hi all,
    I create a PAS database with several KPI's/metrics. For one of those KPI's I configure the Actual and the Target metrics to have 4 decimal places.
    My question is now related with the Entry & Approval, because when I try to put values on those metrics E&A only allows two decimal places (is ignoring the setting of PAS database).
    How can I insert a value with 4 decimal places for those metrics using E&A?
    PS: This happens in both E&A metric set form, and also using the Excel data entry of E&A.
    Thanks in advance
    Regards
    Pedro Costa

    Hi Pedro,
    As far as I know you won't be able to load more than two decimal places in E&A unless you use customization. And the second problem is that even if you load the four decimals for your measures (through E&A or automatically) the scorecard will still show 2 decimal places so I think you would need another change there as well.
    In my experience this changes are relatively easy (depending on the flexibility of your users), but as they are customizations you need to change it in such a way it's easy to maintain from one service pack or release to the next one.
    I hope this helps.
    Hector

  • Decimal format in Excel output

    In one of my Excel output reports, I'm setting the number format dynamically as SRW.SET_FORMAT_MASK('LNNNGNNNGNNNGNN0D0');
    to display just one decimal place but this works for numbers less than 1000 and it displays two decimal places for numbers 1000 and greater. However, this works for all numbers inside the Reports Builder but I'm getting this issue when I run the reports in the web using rwservlet with desformat as SPREADSHEET. Any help would be appreciated.
    Thanks
    Krishnamurthy

    Hi,
    Thanks a lot and thanks for your time and good solution.
    This the syntax is used for Date datatype :<?format-date:CREATION_DATE;' MON- YY'?>
    and for varchar data type <?concat(' ',/XLAAARPT/P_PERIOD_FROM)?>.
    Thanks & Regards
    Srikkanth

  • Error while updating decimal places in general settings

    Hii All
             I have got an error while updating Decimal places in General Settings
    Cannot update while another user is connected to the company i have checked, there is no other user logged in, i could add other settings but the problem is only with Decimal Places
    Note : there are no postings yet, a fresh database for a new client
             what could be the possible reason
                                                                 thanks
                                                                         RIYAZ

    Hiii All
          As a forum rule, i have initially gone through with the existing threads and then i was force to post a thread,
              would be helpfull if there is any other way..
                                                Thanks
                                                         RIYAZ

Maybe you are looking for