Decimal Places in Pivot table

Hi Gurus,
When I create a pivot table with a measure and I choose "Show Data as ...
percent of something (for example section) I get the result with 1 Decimal Place.
How to modify it for 2 or more Decimal Places?
Thanks
Laszlo

Hi Laszlo!
We have found and discussed the answer already, but to more people can see it I write it.
When You have the results already, You can use the 'Advanced' page to see the XML source. There you can modify the code carefully. Change the section:
<saw:dataFormat xsi:type="saw:percent" minDigits="2" maxDigits="2" scale="2"/>
Change maxDigits to the number of decimal digits You wanted.
Although we found the answer on the course, I found later this page - also could help:
http://blog.trivadis.com/blogs/andreasnobbmann/archive/2008/07/15/quot-percent-of-quot-in-obiee-s-pivot-tables.aspx
Best regards,
Tamas

Similar Messages

  • Changing Decimal Places for Currencies (Table V_TCURX)

    The instance is ECC 6.0
    We need to change the decimal places for a currency from 0 to 2 decimal places. Is there any impacts of doing that?
    Also need to add some currencies which are not in the table. Is there anything need to be careful while doing this. If this table is updated, do we need to update any other tables also which may be impacted?

    Hi,
    It is not recommended that when postings have already been made, that a change in the currency be done, as amounts posted can become invalid or incorrect as a result (ie USD 100->1.00), which is most critical in production environment Please go through the note 137626 When you made changes via OY04, the effect of which is across all clients.
    To change the number of decimal places for a currency already in use, you must convert all the tables in the R/3 System that contain currency fields, so that the data integrity remains. This cannot, however, for both organizational reasons and under the runtime aspect, in a productive system.
    You must never change decimal places in a productive system if you have documents posted with this currency. Such a change could lead to inconsistencies in these documents already posted.
    In case you really decide to use decimals you may consider to use SAP conversion services for them to convert all documents aready posted as explained in note 434349.
    Additional inforamtion:
    Note No.  137626 - FAQ: Decimal places for currency codes
                     126857 - Display of amts with correct decimal places in SE16
                       53206 - Processing of currency fields
                         9574 - Currency fields on selection screens
    Regards
    Ravinagh Boni

  • Round float to 2 decimal place in the table

    Hi,
    One field in a table in my DB has float datatype.
    I insert some data into this table. The value read from a textbox I input as 0.02 for example. after insertion, I select the table and the field of the table shows the number as 0.0199999995529652
    Where did I do a wrong thing? how can I make it exactly as 0.02 in the table?
    Thanks.

    Hi there
    Float data types have known problems with precision, see
    here
    Since FLOAT and REAL are approximate numbers, you can run into all kinds of presentation / storage issues if you use them inadvertently. 
    They have their place, and if you are using scientific data that requires the properties of floating point numbers, th they are the right choice.  But in most cases, I think this is another evolutionary thing that happens accidentally when you upsize
    from Access.  You are much better off using DECIMAL or NUMERIC (which are functionally equivalent) unless you really know that you should be using FLOAT.
    You should consider changing the datatype to decimal or numeric if you need it to be more precise.

  • Decimal place in dynamic table

    Hi All,
    I have created a dynamic table with selected fields.
    Copied data from one internal table to dynmic table. For  DEC type data I am getting only integer part no decimal part, where as for CURR it is showing full (inclding decimal)
    How to solve this problem.
    I am using lvc_t_fcat
    for RFMNG form vbap.
    in lvc_t_fcat it is showing  intlen = 5 and datatype = DEC  inttype  = P.
    But the data transfering only interger part.
    -- Field catalog with the fields the user selected, used as input
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_alv_cat[]
        IMPORTING
          ep_table        = t_new_table.
    *-- Create ref to the newly generated table <fs_table>
    *-- Plus a new Line with the same structure as the table.
      ASSIGN t_new_table->* TO <fs_table>.
      IF <fs_table> IS ASSIGNED.
        CREATE DATA w_new_line LIKE LINE OF <fs_table>.
        ASSIGN w_new_line->* TO <fs_line>.
      ENDIF.
      CREATE DATA w_new_line_ori LIKE LINE OF t_datatable.
      ASSIGN w_new_line_ori->* TO <fs_line_ori>.
      LOOP AT t_datatable ASSIGNING <fs_line_ori>.
        MOVE-CORRESPONDING <fs_line_ori> TO <fs_line>.
        APPEND <fs_line> TO <fs_table>.
      ENDLOOP.
    Advance Thanks
    Balamurugan.R

    Hi vijay,
    Thank you. It helped me.
    So, to create dynamic table , the following fields are enough?.
    Ref_field
    ref_table
    decimals
    fieldname
    datatype
    inttype
    intlen
    Thanks,
    Balamurugan.R

  • Changing Decimal places in table TCURX

    Hi There
    We have a business requirement to change the decimal places in table TCURX from 3 Decimals to 5 Decimal places. No previous postings have been made in foreign currencies.
    If no transaction data has been posted in foreign currencies yet, will this have an impact?
    What will the impact be?
    Regards

    Hi,
    Refer to this SAP text:
    In the R/3 System tables currency fields are stored as decimal figures with a variable number of decimal places. The decimal point is not stored in the field in the database. Instead, each currency field refers to a currency key field. In this transaction you assign the number of decimal places to this currency key uniquely. Example: If you have set currency USD to have two decimal places and you post an amount of 100 USD, an amount of 10000 USD is stored in the currency field in the database. Not until this
    amount is processed further or is output does the system use the currency key from the reference field to determine the number of decimal places via this table. In this way the table content can be interpreted correctly for further processing or formatted for output with the correct punctuation. If after posting you changed the number of decimal places for USD, for example, to 3, the existing field content of 10000 would be interpreted for futher processing or output as 10 USD (10.000). This would mean that the contents of tables across the system would, for all currency fields containing an amount in USD,
    be interpreted incorrectly by 10 per cent. To change the number of decimal places for a currency already in use, you must convert all the tables in the R/3 System that contain currency fields, so that the data integrity remains. This cannot, however, for both organizational reasons and under the runtime
    aspect be carried out in a productive system. The following changes to the TCURX table can
    thus lead to the loss of data integrity if you make the changes in a productive system or transport them into a productive system:
    o Change to the number of decimal places of an existing currency
    o Deletion of an entry from the TCURX table (corresponds to changing the decimal places to the standard value of two decimal places)
    o Insertion of an entry in the TCURX (corresponds to changing the standard value of
    2 decimal places to a different value), if this is a currency code that already exists
    Uncritical changes are any made to this table during the Customizing of a new installation or the insertion of TCURX even during operations, if the currency codes have just been entered in the TCURC table using transaction OY03, signifying that no postings to these currency codes can have been carried out yet.
    Regards,
    Eli

  • Change the decimal places of a field in screen table control

    HI ,
    I have a MENGE field having data element as , BSTMG (decimals 3 ).
    This field MENGE , I have used in a table control. The value in this field is filled from a custom Z-table where the same data element BSTMG is used. So , for eq.) value in MENGE field is shown as 6.010
    But the requirement is that the value should be displayed as only 2 decemals i.e.)   6.01
    I dont want to change the domain of the field in the Z-table , to 2 decimal places , because the table is used in other developments also , so it will give a dump there which I have to correct in other developments also.
    So , is there any way to change the decimal places of a field in screen table control , without changing the domain , in the table from where the value is fetched... ????
    Edited by: abhijeet_7013 on Feb 14, 2011 3:18 PM

    Hi, create a structure in local program with same field names and change the TYPE with some 2 decimal domain of MENGE. Populate this local stucture and use it in TABLE CONTROL.
    Hope this helps...
    Cheers

  • Select amount field of a table with decimal place of 3rd value grater than 0.

    Select all the reord  in a table with amount decimal place of 3rd value grater than 0.

    Can you show the sample data + desired result?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to place the page items horizontal in pivot table in OBIEE

    Hi experts
    In pivot table i have two pages items. And i want to place them horizaontaly. So how can i achieve this.
    for Ex: I have placed my two columns in page section of pivot table: Year,city.
    then i need as ;
    Year City
    where year is one dropdown list and city is another drop down list.
    Thanks in advance
    Regards
    Sunil

    Hi,
    We can seperate the page items using 'Start New Page Drop Down', but the item will be displayed in the next line.
    I think you would like to show them side by side i.e, horizontally..
    If it is, i think it is not possible as of OBIEE 10.1.3.3.. not sure about 10.1.3.4..
    Please let me know if my assumption is wrong.. I will be very happy if anyone corrects me..:)
    -Vency

  • Table values to have more decimal places

    Dear Experts,
    In one of the LIS table S022 , the value is updating up to one decinal place only. We want this value to have atleast 2 or 3 decimal places . How to make it effective.

    Hi
    As u have not mentioned for which field the value is updating with 1 decimal its difficult to say but I assume it is related to time. As per the field attributes in the table structure for S022 for all time and capacity related fields the decimal places defined as 1 only hence the data is updating with 1 decimal place.
    U can check this in SE11 by entering S022 in the fields tab.
    In order to increase the decimal places in table u need the Help of ABAPer with Access key
    Regards
    Brahmaji

  • Changing Node Attributes to drop decimal places on MI 7.1 table UI Element

    I have been struggling with finding a way of dropping three decimal places on a QUAN data type for a Node attribute, so that the value can be displayed as an integer instead of with three decimal places displaying when outputted within the table UI element within our MI 7.1 Mobile Client application.
    I have adjusted the column width, which is not ideally what I am trying to achieve.  The decimal places for the value are not required and should therefore not be displayed and take-up additional space on the table template view.
    Does anyone know a slick way to remove the decimal places for a data object that is outputted to a table UI element within the NWDS java application?
    If the above is not possible, what is the best approach for making a change to a data object node structure of the SWCV?  Can the node attribute for the  Decimal value be changed directly, or are there other things that should be considered when making a change to a node attribute of the data object?
    I appreciate any advice in this area.
    Kind regards,
    Rose Orovec

    Hi
    Try to create your own value attribute ( with out decimals)  in the node and pass the actual value to this
    and finally show your value attribute( as a field ) on the screen
    Hope this works....
    Regards

  • Mimic "show data as percent of row parent" in non-pivot table

    Is it possible to implement or mimic the 'percentage of parent row' functionality, foreseen for pivot tables in obiee 11g, for a 'normal' table?
    We use a rather fixed table, in which no drilling is allowed - conditions are applied by means of prompts and filters. The report is based upon the store dimension, which has as hierarchy: country > cluster > store. We have added a column to represent the 'share' of a store's net turnover in the cluster total. The results looks like:
    country  cluster  store  turnover   share
    =======  =======  =====  ========   =====
    belgium  1        a        20.000   66.7%
                      b        10.000   33.3%
             cluster total:    30.000  100.0%
             2        c        40.000   57.1%
                      d        30.000   42.9%
             cluster total:    70.000  100.0%
    country total:            100.000  100.0%
    holland  3        e        50.000   71.4%
             4        f        20.000   28.6%
             cluster total:    70.000  100.0%
    country total:             70.000  100.0%
    grand total:              170.000  100.0%Instead of all the total levels showing as 100% however, we would like to see each sub-total represented as a percentage of the level above, much like the forementioned pivot table functionality. For the example above that would mean it should look like:
    country  cluster  store  turnover   share
    =======  =======  =====  ========   =====
    belgium  1        a        20.000   66.7%
                      b        10.000   33.3%
             cluster total:    30.000   30.0%
             2        c        40.000   57.1%
                      d        30.000   42.9%
             cluster total:    70.000   70.0%
    country total:            100.000   58.8%
    holland  3        e        50.000   71.4%
             4        f        20.000   28.6%
             cluster total:    70.000  100.0%
    country total:             70.000   41.2%
    grand total:              170.000  100.0%Any advice or idea would be greatly appreciated...

    902360 wrote:
    Hello,
    I'd like to know if there's a way to configure the Pivot Table "Show Data As - Percent of" precision.
    ATM, I have some reports using SR types where one of those are much bigger than the others.. So when the report its generated, it returns something like:
    TYPE A: 99%
    TYPE B: 0%
    TYPE C: 0%
    TYPE D: 0%
    How can I show the other types correct value? Something like number of decimal places...
    Ps: As criteria to this report, I have changed my Data Format to "Number", "Minus: -123" with 15 Decimal Places.
    Thanks,
    RamonYup. Can do. Read this link:
    http://shivabizint.wordpress.com/2008/09/14/changing-the-precession-of-percent-of-columns-in-pivot-table-of-obiee/

  • Data format in pivot table calculated item

    Hi All,
    I've got a pivot table with a dimension on rows and a dimension on columns and a measure. I have a "new calculated item" based on the dimension on the columns which does the following: ( ($2-$1) / ($1) ) *100
    I want this calculated item shown as a percentage like 1,2% but the measure must stay a whole number like 1234 (no decimal places or percentage symbols) any suggestions on how to achieve this?
    Thanks in advance!
    Gilles

    Hi Kishore,
    It is not helpful, I mean, it doesn't solve my problem. But nice post!
    What I have is the following:
    --------C1------C2-----C3
    R1|--123--|--345--|--678--|
    R2|--124--|--346--|--679--|
    R3|--125--|--347--|--670--|
    What I want is the following:
    --------C1------C2-----C3---------calculated item
    R1|--123--|--345--|--678--|--(($2-$1) / ($1) ) *100)
    R2|--124--|--346--|--679--|
    R3|--125--|--347--|--670--|
    the column results must remain in the same format, but the calculated item must be in the format %9.99 (to see the percentage change)
    any other suggestions?

  • 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

  • Formatting metrics in a pivot table differently based on a unit of measure

    I have a generic metrics table with columns for METRIC NAME, UNIT OF MEASURE, ACTUAL VALUE, BUDGETED VALUE, and PRIOR YEAR VALUE. Each metric has a unit of measure associated to it, and I need to be able to format these metrics differently in the same field based on that unit of measure.
    For example, I may have an actual value for a "cost per unit" that needs to be formatted in dollars to 3 decimal places (Unit of measure = USD3) while another metric may be a simple "number of items" that needs to be formatted as numberic to 0 decimal places (NUM0).
    Has anyone ever formatted the same column in OBIEE with different data formats depending on the unit of measure needed? I know I can conditionally format the cell with colors or images, but I haven't figured out how to change the data format in a table or pivot table.

    Hi,
    I've read all the tips that are offered in this forum. I tried all the solutions provided here, but I can not get the grand total formatted conditionally, what I get is the following error nell'answer:
    DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None
    Error details
    Codici di errore: YV3KVTDM
    Location: saw.hypercube.dxeApi, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    I'm use the version: OBIEE 11.1.1.6.2
    Anyone have any ideas for me?!

  • Division between two columns in pivot table in Answers

    Hi all
    In answers
    if I have two columns in my pivot table say column A and Column B, how can I use a division of Column B by Column A to derive Column C. I am unable to do that using the "New Calculated column feature" or in the criteria section. I keep getting either 0 or 1. I even tried changing the format to show two decimal places and am still unable to get the result.
    Thanks
    B

    Thanks,
    our issue is that we want to do our calculations at the summary level (region level of the company) and not at the detail level. However we cannot do this at the aggregate level because this is a moving total for the last 7 days worth of data.
    Also, Answers (even in Criteria) does not seem to be doing division properly. We are just not getting the results when we do col A/ Col C. We are in 10.1.3.4 on windows xp against SQL Server
    Any ideas?
    Edited by: Mid Atlantic on Jul 22, 2011 5:33 AM

Maybe you are looking for