Removing Decimal Places from Graph labels

One axis on my graph is showing decimal places despiting formatting the report field to show 0 places - the graph is reading decimal places directly from the database underneath the report .  Other than editing each axis label manual (or editing the original database field) does anyone know of another way I can elimate the decimal places from the graph?

That solution only works for the x-axis but not the y-axis (or the other way round, depending on whether the chart is horizontal or vertical).
The values of the y-Axis are formatted according to the default Number Formatting. If you can afford this, change the default number formatting to 0 decimal places.
Another workaround would be to create a formula. Let's say amount was your database field. Then the formula would be
ToText({AMOUNT},0)
Put that in your chart instead of the original database field.
Cheers,
Florian

Similar Messages

  • To remove decimal places and round

    hi all ,
    select       (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
                (((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000)   )
                 when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
             (   ((nvl(H.CLASS_V_CEMENT,0)*94)/2000)   ) 
            when F.ITEM_UOM =  'Pound' then
          CEIL(  ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
           end)*(j.opn_value/2))  SUM_MAT_ACT_TON ,--------transport
                       sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
          when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
                nvl(H.CLASS_V_CEMENT,0)
            when F.ITEM_UOM =  'Pound' then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
       end) SUM_sload ,    ----sload
       sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
         -- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
              --  nvl(H.CLASS_V_CEMENT,0)
            when F.ITEM_UOM =  'Pound'  and F.BLEND <> 'PH'then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
       end) BLENDING
      ,e.opn_job_desc
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H,
        XXNP_OPN_JOBLOG_RES_005 J,
         MTL_SYSTEM_ITEMS_B P
          WHERE E.OPN_JOB_DESC   = 'K/D/SP158/SA399/1338/D/0510/1' AND
            E.MANUAL='N'
       and J.opn_resource_desc='4X4  PICK-UP OR LIGHT VEHICLES'
        AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID
         and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
           AND p.ORGANIZATION_ID='103'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
                                    GROUP BY E.OPN_JOB_DESC,j.opn_value
    o/p  i am getting
    SUM_MAT_ACT_TON      SUM_SLOAD                         BLENDING                                   OPN_JOB_DESC
    11587.7954154787         1957.62401925833               1454.62401925833                       K/D/SP158/SA399/1338/D/0510/1
    well can anyone guide me on  obtaining the following output (to remove decimal places and round )
    SUM_MAT_ACT_TON      SUM_SLOAD                         BLENDING                                   OPN_JOB_DESC
    11588                           1958                                      1455                                          K/D/SP158/SA399/1338/D/0510/1thanking in advance
    Edited by: makdutakdu on May 25, 2010 12:48 PM

    select      round( (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then
                (((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000)   )
                 when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
             (   ((nvl(H.CLASS_V_CEMENT,0)*94)/2000)   ) 
            when F.ITEM_UOM =  'Pound' then
          CEIL(  ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
           end)*(j.opn_value/2)))  SUM_MAT_ACT_TON ,--------transport
                       round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
          when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
                nvl(H.CLASS_V_CEMENT,0)
            when F.ITEM_UOM =  'Pound' then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
       end)) SUM_sload ,    ----sload
       round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
         -- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
              --  nvl(H.CLASS_V_CEMENT,0)
            when F.ITEM_UOM =  'Pound'  and F.BLEND  'PH'then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
       end)) BLENDING,
       e.opn_job_desc
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H,
        XXNP_OPN_JOBLOG_RES_005 J,
         MTL_SYSTEM_ITEMS_B P
          WHERE E.OPN_JOB_DESC   = E.OPN_JOB_DESC  AND
            E.MANUAL='N'
       and J.opn_resource_desc='4X4  PICK-UP OR LIGHT VEHICLES'
        AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID
         and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
           AND p.ORGANIZATION_ID='103'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
                                    GROUP BY E.OPN_JOB_DESC,j.opn_value

  • How do i remove a place from hard drive places menu

    how do i remove a place from hard drive places menu?

    Yes, I saw that Carolyn. I should have included that in my previous post. I asked the person who did the change for me and had no new information to provide. He said he only did the normal change of information to receive and send POP mail. He did nothing else that should have affected the mailboxes. In fact, he made the same changes to his own Macbook Pro and had no loss of emails from his mailboxes.
    So, what it boils down to is a simple question that may not require a simple answer, but my guess is there is a simple procedure to restore a mailbox's data from the Users folder on the hard drive. If the info is gone from Mail, but still on the hard drive, then it would stand to reason that we could stop focusing on what caused it to happen (especially if we don't know), and just make an attempt to Restore it - if I could find someone who knows the procedure to restore a mailbox.
    It may require a trip to the Genius Bar if it so complex that no one here has experience with it. I would think that from time to time people have to restore the mail box.
    Thanks so very much Carolyn for all your interest. If you know anyone who could restore mailbox, please see if they would offer a suggestion as to the steps to do so.

  • Remove decimal places

    I am using Report Builder 9i. I have an horizontal bar with the values being displayed next to the bars.
    The first value is 1.000, second value 58.00, third value is 533.0. How can I change the format so no decimal places are displayed.
    Thanks
    Brendon

    But it is not working dear..... Check ma XML code
    See this coding I have to remoce the decimals from this...how can i do that...plz help me....
    &lt;rw:graph id="CT_1" src="G_COMP_CODE" groups="DEPTCODE" dataValues="Department"&gt;
    &lt;!--
    &lt;?xml version="1.0" ?&gt;
    &lt;Graph version="2.5.0.5" depthAngle="0" pieDepth="0" pieTilt="0"&gt;
    &lt;DataviewFootnote foreground="#0" background="#ffffff"/&gt;
    &lt;DataviewSubtitle foreground="#0" background="#ffffff"/&gt;
    &lt;DataviewTitle foreground="#0" background="#ffffff"/&gt;
    &lt;MarkerText visible="true"/&gt;
    &lt;O1Axis lineWidth="1"/&gt;
    &lt;O1MajorTick visible="false" lineWidth="1"/&gt;
    &lt;O1Title textRotation="TR_HORIZ_ROTATE_90"/&gt;
    &lt;PieFrame fillTransparent="false"/&gt;
    &lt;SeriesItems&gt;
    &lt;Series id="0" color="#99ccff"/&gt;
    &lt;/SeriesItems&gt;
    &lt;X1Axis lineWidth="1"/&gt;
    &lt;Y1Axis lineWidth="1" axisMinAutoScaled="false" axisMinValue="0.0" axisMaxAutoScaled="false" axisMaxValue="400.0" majorTickStepAutomatic="false" majorTickStep="50.0"/&gt;
    &lt;Y1MajorTick visible="false" lineWidth="1"/&gt;
    &lt;Y1Title visible="true"/&gt;
    &lt;Y2Axis lineWidth="1"/&gt;
    &lt;Y2MajorTick visible="false" lineWidth="1"/&gt;
    &lt;/Graph&gt;
    --&gt;
    &lt;/rw:graph&gt;
    -----

  • Changing of decimal places from 2 to 6 digits

    Hi,
    Currently, our PO price and GR/GI quantities are being limited to two (2) decimal places only. However, we want to maintain it into six (6) digits so that we can have a more accurate PO price and GR/GI quantities in our record.
    We tried to do this in Tcode OY04 but the system issued as the following warning messages:
    1. In a productive system, you must not delete the currencies in use or change the decimal places. This could make amounts in document already posted incorrect or invalid.
    2. 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.
    Can you please explain to me the warning messages further?
    Thank you.

    Hi Jack,
          Please never try to change the decimal places in PRD system, you will be in deep deep trouble.
    Let me give one example , If the current decimal is set to 2 digit and you are going to change it 3 digit, then  USD 100.00 will become  USD 10.000 for the already posted document.
    Please not that, the decimal places are not sotred in the database, when you run a tcode to see any posted data the system queries the currency table and see the value for the decimals, if it finds 3 in OY04, it simply places the decial point afer 3 digit from right, if the decimal is set to 4m it will simple place the decimal point after 4 digit from right.
    Hope this clears your doubt.
    Best Regards
    Hari K.

  • Remove 0's from Graph

    Hi
    Im trying to plot some values that represent data recorded with 5 second intervals. The 2 plots is a mean value and a peak value. I would ideally want a line between the mean values. However in the dataset there's values that equals zero, so my graph drops to zero when this happens.
    How can i remove these points from the graph?
    I still want to keep the distance as if the point was still there.
    Hope someone can help me out here.
    / Maarten 

    You could use a FOR loop to replace all of the elements in the array that are equal to 0 with NaN.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Printing two decimal places from BigDecimal values

    I am using BigDecimal to represent money values. My output needs to line up so that (with a non-proportional font) the decimal point and the two decimal places are in the same columns for each line. But when the dollar value has zero cents, or has a number of cents that is divisible by ten, it drops the trailing zeroes, and drops the decimal point if the decimal places are both zeroes. For example, I want to see "25.00" instead of "25" and "25.50" instead of "25.5". It doesn't seem to make any difference if I set the scale to 2. (I have resorted to getting the toString() of the BigDecimal and hacking the string before I display it, but surely there must be an easier way?)
          BigDecimal aaa = new BigDecimal("25");
          BigDecimal bbb = new BigDecimal("25.0");
          BigDecimal ccc = new BigDecimal("25.00");
          BigDecimal ddd = new BigDecimal("25.5");
          BigDecimal eee = new BigDecimal("25.50");
          BigDecimal fff = new BigDecimal("25.75");
          aaa.setScale(2);
          bbb.setScale(2);
          ccc.setScale(2);
          ddd.setScale(2);
          eee.setScale(2);
          fff.setScale(2);
          System.out.println("SCALE SET TO 2: ");
          System.out.println("aaa = " + aaa);
          System.out.println("bbb = " + bbb);
          System.out.println("ccc = " + ccc);
          System.out.println("ddd = " + ddd);
          System.out.println("eee = " + eee);
          System.out.println("fff = " + fff);produces this output:
    SCALE SET TO 2:
    aaa = 25
    bbb = 25.0
    ccc = 25.00
    ddd = 25.5
    eee = 25.50
    fff = 25.75Thanks,
    Martin

    Thankyou Dr. Clap. This solved my problem - I added an LHS to the setScale statements:
          aaa = aaa.setScale(2);
          bbb = bbb.setScale(2);
          ccc = ccc.setScale(2);
          ddd = ddd.setScale(2);
          eee = eee.setScale(2);
          System.out.println("SCALE SET TO 2: ");
          System.out.println("aaa = " + aaa);
          System.out.println("bbb = " + bbb);
          System.out.println("ccc = " + ccc);
          System.out.println("ddd = " + ddd);
          System.out.println("eee = " + eee);produced:
    SCALE SET TO 2:
    aaa = 25.00
    bbb = 25.00
    ccc = 25.00
    ddd = 25.50
    eee = 25.50

  • How to Remove Business place from Plant assignment

    Hi All,
    I have created a new plant by copying the existing plant. Business place assignment also got copied from existing plant. I don't want business place for my new plant.
    I tried searching the Business place/Plant assingment in SPRO, eventhough there are many places (under Enterprise structure, Financial Accounting and Cross application components) we have this assignment, i couldn't see my new plant in any of those places and i am not sure how to remove this assignment. Can you please help me here?
    Regards,
    Prabu

    Hi Prabu,
    First let me know what is the issue that you are facing.
    Have you checked in the above mentioned nodes for business place & plant assignment.
    If your assigned this business place for taxes postings(J_1IT030K_V settings). The check in the billing document from the new plant what is the tax code is being used in the tax condition records.
    If the same tax code is being used in both the plants then try to create one new tax code & assing the same to the condition records of the new plant. Check the same.
    Or Mention clearly that what issue that u are facing because of this assignments.
    Regards,
    S.Himavanth.

  • Remove decimal points from variable.

    Hi,
    I have a little issue.
    I have one variable v = 25.000
    and i want to remove (.000) from this variable so my result will be only 25 and i want this.
    So, is ther any function to remove this?
    I want to do it in one shot.
    No 2-3 statements.
    Points rewarded soon
    Regards
    RH

    Hi Ronny,
    You move this variable data to an integer variable.
    Data: v_tempint   type i.
    move your_variable to v_tempint.
    v_tempint will have the required result.
    Reward points if this helps,
    Kiran

  • How 2 extract 2 decimal places from a float variable

    Hiya,
    I have a float variable say x with a value 10.56879, how do i extract 56 without rounding it up. I want to store 56 in an integer variable after extracting it from float.
    Cheers
    Deepak

    This works when f is positive,
    float f = 10.56879f;
    int i = Math.round((float)Math.floor(((f - (float)Math.floor(f))*100.0f)));
    System.out.println(i);

  • Formula Variable decimal Places

    Dear All,
    Is there any way i can remove decimal places from Formula Variable / Type Number / Ready for Input ?
    Plz help ASAP.
    Regards,
    SS

    Is that you don't want the user to enter any decimal values for this variable???
    Then best way is to create a Formula Key Figure of type Customer Exit. then you can writ the code in I_STEP =3 whoich will do the validation and throw an error message in case of deciaml values.

  • Increase decimal Places in SAP B1

    Dear Experts,
    (Using SAP B1 PL 49)
    I am trying to change the Decimal places in the General Settings->Display (Decimal Places), from 2 to 6 to in all the fields.
    When i try to update it gives me the following error:-
    "Cannot update while another user is connected to the company"
    Any help will be appreciated.
    Regards,
    Feroz

    Dear Asif,
    Thank you for the information.
    I logged all the users out from the SAP server and i stopped the SQL services and then re-started the SQL services again.
    I logged into SAP b1, but was getting the same error message.
    I removed the network cable of the server and I restarted the SAP server and then logged into SAP and tried to change the decimal places, but was still getting the same error message.
    I'm all out of ideas, this has never happened before to me.
    regards,
    Feroz.

  • Remove scaling factor from key figure - still shows in Report !

    Hi all,
    A key figure we use somehow had its scaling factor set to 100.
    This was accidental, so I have changed the key figure to have no scaling factor and then activated it.
    The query that uses this key figure still sees it as having the 100 scaling factor however.  While this is the case, I cannot set it to no scaling factor as needed.
    I have tried adding this key figure to a new report and it still comes in with the incorrect scaling factor setting.
    So far I have tried,
    Changed the scaling factor on the key figure to none and activated.
    Regenerated the query through rsrt
    Removing the key figure from the query and then readding as well as adding the key figure to a entirely new report. Incorrect scaling setting still comes through in both cases.
    Checked table RSDIKYFPRO and RSDKYF - both of which have no scaling as their settings for this key figure.
    I know that I could created a restricted key figure in the query from the original and set the scaling factor to none to get around the problem, however I would like the query to see the settings in the key figure.
    Can anyone suggest how I can resolve this ?
    Many thanks,
    Blair

    Was there ever a solution to this problem? I, too, have noticed the same issue. The key figure properties (in my case, # of decimal places) is not inherited in the query, and the only solution was to change the kf properties directly in the query, which I shouldn't have to do. The selection of decimal places "from key figure (0)" does not work; I have to override this and select "0". Anyone seen any notes or anything to fix this?
    Thanks.
    Rachel

  • Yielding the desired number of decimal places using the AVG function in t-sql

    Hello again.  Confused retired hobby coder having trouble setting up a scalar-valued function to return the desired number of decimal places from a AVG query.
    Whenever I run the following script I get the number of decimals I desire:
    Using the above I created a scalar-valued function as follows:
    Running this function as: SELECT [dbo].[TestHCIPartial] (1,3)  my return is -7.
    Can you help me with the function causing it to yield the answer to 6 decimal places?
    Thanks and regards, Minuend.

    You've not specified precision and scale in UDF return type. So you're leaving it to server to interpret it based on default settings
    If you want exactly up to four decimal places tweak udf as below
    ALTER FUNCTION..
    RETURNS decimal(20,4)
    AS
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • More DECIMAL places for MM price-Not Global

    I have read the <u>many</u> postings on decimals. However, I have not seen the exact scenario I'm inquiring about.
    I want to increase the decimal places from 2 to 4 for the cost of materials we purchase (i.e. supplier price), but I do NOT want to set this as a global aspect for the company when dealing with numbers/currency.
    It's not just a simple matter of setting a different unit of measure, because let's say we order a reel of capacitors - the reel may come in qty of 1,000 or 2,500 (only one example). So, we really need to set price by (ea). The problem is that many of our parts price at .0014 (example) and in SAP that shows a cost or price [depending on where you're looking] of zero. Plus, the Purchasing agent sends a PO with incorrect price information.
    <b>It would be very helpful if anyone could tell me how to increase the number of decimal places for specific fields as opposed to globally.</b>
    Thanks you!!

    The right tool to do that is the pice unit. This is in the system for ecatly that purpose, to provide more precision in prices. It has nothing to do with unitz of measure that is used for logistical purposes.
    If you have a price 0f 0.0014 each you can set a price unit of 1000 and will have a price of 1.40 for 1000. You still can have only 500 or even 1 on stock. the calculation done if you receive your 2500 will be 2500 * 1,40 / 1000 which is of course the same as 2500 * 0,0014
    best regards,    Udo

Maybe you are looking for