Error in chart legend totals when there is a negative number involved

Post Author: dawnyanne
CA Forum: Charts and Graphs
Hi
if anyone can help me I would be extremely grateful!
I have a pie chart with a legend. There are just two values that are showing but one of the values is a negative value and the total of the legend is adding up incorrectly. Here is how it is showing at the moment
Cash                 -0.71
Uk Equities     100.71
Total              101.42
here is how it should be
Cash               -0.71
UK Equities   100.71
Total             100.00
I can set the chart amounts to be percentage - but then it comes out as only one decimal place and I need two.
Any help would be very much appreciated!
kind regards
Dawnyanne
Filed under: chart legend incorrect totals negative values

First see KnowledgeBase Entry 1XPH5BV7.
What processor speed was the Windows NT machine? What is the processor speed of the PXI-8170 (700 or 850 MHz). How many channels are you aquiring? Which version of LabVIEW Real-Time are you using? Which version of NI-DAQ are you using? Are you using an example program or one of your own programs? What priority are you running the VI at? (Time critical priority is recommended for DAQ VIs - remember to provide sleep time to allow lower priority operations, such as the user interface thread, to run).
If you feel this behavior may be a bug, please contact National Instruments technical support.
Regards,
Chad H.
Applications Engineering
National Instruments
http://www.ni.com/ask

Similar Messages

  • Pie chart legend total does not calculate correctly

    Hi All
    I have a pie chart in a CR 2008 report (SP0). 
    The pie has one "On Change Of" and one "Show Value" field.
    The datasource for the report is an Oracle 10g (Rel 2) Stored Procedure (SP).
    The SP signs the value per each transaction (record), so if the txn is a reversal is will arrive in the report as a negative value
    The records that are listed in the report have the correct sign on each line, and totals in the report are correct
    So, if the first record has a value of 10,000 - these would be known as Cash txns
    and the second record has a value of -5,000 - these would be known as Cash Reversal txns
    The report total will be 5,000
    In the legend entry of the pie chart the values per series are being displayed correctly.  There is a series per Txn type (so one series represents Cash txns, the second series represents Cash Reversal txns)
    From the example above my pie shows 1 txn for Cash @ 10,000
    and 1 txn for Cash Reversal @ -5000 (it has the negaitve amount in brackets)
    But the total in the legend is 15,000
    I cannot figure out why that the legend total is not calculating correclty.
    Has anyone seen this behaviour before?
    Any help would be great thanks
    Best regards
    Patrick

    Just realised why....  The total is counting all txns, and my formula is not telling it that Reversal should be subtracted - duuhhhh!!!!

  • Pie Chart legend text when drill down too larger

    Dear Gurus,
    I have this report with Pie chart:
    *)Table:
    Element Group
    Earnings 100
    Deductions 30
    When drill down (after click on Earnings/Deductions), it become detail like this:
    Element Group Classification Name
    Earning Regular
    Earning Irregular
    And the Pie chart legend show this: Earnings, Regular Earnings
    ->how to remove Earnings?I just want to show classification name as legend.
    I use OBIEE 11.1.1.3
    Any help will be appreciated
    Regards
    Joe
    Edited by: JoeSSI on Aug 10, 2012 12:33 AM
    Edited by: JoeSSI on Aug 10, 2012 12:35 AM
    Edited by: JoeSSI on Aug 10, 2012 3:24 AM

    Hi Joe,
    There was a bug associated with repeated legends in 11.1.1.3 version.Can you check the below document and see if the mentioned patch helps,
    Vertical Bar Charts In OBIEE 11g Display Repeated Labels In The Graph Legend [ID 1376185.1]
    Regards,
    Dpka

  • Sender File Adapter does not get files when there is a large number ( 300)

    We are on XI 7.0 (SAPKB70015)
    We have an issue picking up a large number of files from a particular server. We are trying to pickup the files based on a wildcard e.g. test
    - we can retreive up to 200 files from the same server (using the same config) no problem
    - we can pull lots of files (>3000) files from other servers (using the same config) no problem
    - we can write an mget command (mget test) to reteive the files no problem
    So the only issue is retrieving a large number of files from a parfticular server. We see no errors in the RWB.
    To get this sorted out we need to find the exact commmands that XI executes to attempt to retrieve the files. Can anyone point me in the right direction on how to find this.
    Thanks
    Richard

    It turned out that this was caused by a limitation on the ftp server.
    The file adapter uses the dir command to get a listing of the files matching a specific mask. The dir command does not return any files if there are a large number (the ls command works fine but the file adapter uses dir instead of ls).
    sap told me that 'According to this FTP server is no compliant with RFC 959 and that is
    why DIR command returns an error.'
    We were able to get this resolved by applying a patch on the ftp server.
    Thanks
    Richard

  • Stacked bar chart showing zeros when there is no data

    Hi,
    I am developing a stacked bar chart which plots month vs sales of 3 different products.
    I am showing data points and the total sales on chart.  Every thing looks good except the zeros displayed on the chart if there are no sales for a product for a particular month... how to get rid of these zeros ? i mean how to display the value only if there is some data ?
    Thanks

    Sounds like you have a left outer join from your product table to the sales data. Thus product is listed even when no data present.
    Try changing join to Equal
    Ian

  • Error opening report as webservice when there's parameters!

    I followed the instructions in the developer's guide: "Publishing and Consuming a Report as a Web Service"
    I am using VS2008 and Crystal Reports 2008.
    I have a web application with 1 report in it called CrystalReport1.rpt and this report is published as a service called CrystalReport1Service.asmx
    The web service is working normally. I can browse to http://localhost:51132/CrystalReport1Service.asmx
    I am trying to load the report in a windows application (VB.NET) using the following code in the form:
    > Me.CrystalReportViewer1.ReportSource = "http://localhost:51132/CrystalReport1Service.asmx"
    This code works as long as the report does not require any parameters.
    When I modify the report to require a parameter (date param), the viewer displays the parameter popup window, when I enter the parameter and press OK I get an exception error in visual studio IDE, the exception is:
    >System.NullReferenceException was unhandled
    >  Message="Object reference not set to an instance of an object."
    >  Source="CrystalDecisions.Windows.Forms"
    >  StackTrace:
    >       at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
    >       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()
    >       at CrystalDecisions.Windows.Forms.ParameterUnit.AddEditControl(ParameterValue pv)
    >       at CrystalDecisions.Windows.Forms.ParameterUnit.UpdateControls()
    >       at CrystalDecisions.Windows.Forms.ParameterUnit.set_ParameterFieldInfo(ParameterFieldInfo value)
    >       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()
    >       at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowInteractiveParameters()
    >       at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport()
    >       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(PaintEventArgs evtArgs)
    >       at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    >       at System.Windows.Forms.Control.WmPaint(Message& m)
    >       at System.Windows.Forms.Control.WndProc(Message& m)
    >       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    >       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    >       at System.Windows.Forms.UserControl.WndProc(Message& m)
    >       at CrystalDecisions.Windows.Forms.CrystalReportViewer.WndProc(Message& msg)
    >       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    >       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    >       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    >       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    The documentation for publishing a report as a web service does not mention any special way to handle parameters, the windows viewer seems to read the parameter info correctly and automatically displays the window to edit the parameter, but the error happens upon submitting the parameter by clicking ok, this seems like a bug doesn't it?
    The report works fine if I open it directly from Crystal Reports 2008 or if I embed it in my windows application.
    Thanks,
    Talal Nehme

    Hello, Talal;
    When you create the report with the parameter, was it the same report just adding a parameter or a new report?
    Did you recompile the report after adding the parameter so you have a new "CrystalReport1Service.asmx" file?
    The Crystal Report viewer should pass the parameter value correctly to the report as long as the asmx file is the updated report.
    If you look at the parameter in the report, is it a Date, Date Time or String with date value?
    How are you passing the value at runtime - what does the format look like in the prompt?
    You may want to test first with a string or number parameter to eliminate possible format issues and see if you can get the parameter to work.
    Elaine

  • Compler error "integer no too long"  when there is no integer

    My compiler complains that the interger value is too long.
    i want to generate a 12 digit random pin numbers. i have this code that wont compile.
    {private void generate()
          Long pinNumber=0;
          int no=100;
          for(int counter=0;counter<no;counter++)
              pinNumber=Math.round(Math.random()*1000000000000);;
    }}

    faustofrancis wrote:
    pinNumber=Math.round(Math.random()*1000000000000);;The largest valid integer is 2147483647. You'll need to use longs, which means suffixing long constants with "L".
    Also, multiplying Math.random() by a large number isn't a good idea, since it returns an int double. In addition, are PINs that begin with 0 okay?
    Edited by: paul.miner on Dec 10, 2007 10:55 PM

  • Why does itunes 11 not sort the songs properly unless I am in a playlist when there is no track number

    I have lots of audio files that have names in the format of a Date (eg. 2012 01 23) with no track number.  The old I tunes always sorted them perfectly.  Now they are all out of order when I look at them under anything but if they are in a playlist.

    Did you try Alt/View/View Options...   ?

  • Oracle Reports : Run time error when there is a call to DBMS_LOB package

    I am facing a strange issue, please do share if you have some inputs. When I try running the compiled RDF report(Generating XML to be specific), Oracle Reports Builder crashes when I make use of the following formula function. Strangely, this works fine in the backend. Moreover I tried debugging and by trial and error method found out that, when there is a call to the DMBS_LOB package it errors (works fine when this is commented). Please do let me know whats the root cause of this issue. Thanks in advance
    function CF_ClientSignatureFormula return VARCHAR2 is
    file_name BFILE;
    dir_name VARCHAR2(100);
    dest_file_name VARCHAR2(100);
    dest_path VARCHAR2(400);
    begin
         SELECT client_signature
              INTO file_name
              FROM xxfpr.fpr_rcp_bank_details frb,
              Xxfpr. fpr_rcp_gtn_rpt_map frm
              WHERE frb.record_id = frm.bank_record_id
              AND frm.gtn_request_id = :p_gtn_request_id;
    SYS.DBMS_LOB.filegetname(file_name,dir_name,dest_file_name);
    SELECT directory_path INTO dest_path FROM all_directories where directory_name = dir_name;
    dest_path := dest_path || '/' || dest_file_name;
    return dest_path;
    EXCEPTION
         WHEN OTHERS THEN
              RETURN NULL;
    end;
    Thanks,
    NirmalGeo

    And what version of Reports are you using?
    BFILES are accessible from the database, not the client (Reports). So, put your code in the database.

  • There is an invalid number of arguments found in the function '@PARENTVAL

    Hi
    In a prior version of Hyperion, we had a business rule which pushed values down to to a child member
    +Fix ( EE105, , @Children("FX entry"), &District, @UDA("Cost centre - primary", "DuplicateMbr"),C3090,[Opex_WriteScenario], [Opex_WriteVersion],&CurYear: &YearPlus6)+
    Month = @PARENTVAL("Cost Centre");
    Endfix;
    We are moving across to Calc Manager in version 11.1.2.1 and the problem is that I now get the following error message:
    An error occurred in: Calc Opex CC
    There is an invalid number of arguments found in the function '@PARENTVAL(Cost Centre)'. .
    Your assistance is appreciated.
    Cheers

    Check if you can validate this script again Essbase, I am sure you will be able to.
    If I remember correctly there were few functions missing in calc manager which were fixed in the patches released.
    Try it on the latest patch:
    Patch 14265667: Patch Set Update: 11.1.2.1.104 for Oracle Hyperion Calculation Manager
    Cheers..!!!
    Rahul S.

  • Large Negative Number in Column Chart

    When using a large negative number (eight digits or more) from hierarchical data in a column chart, the browser FREEZES. Has anyone else experienced this? Any suggestions on how to fix? See the sample code below.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        <![CDATA[
            //hierarchical data.
            [Bindable]      
            private var input:Array = [
                { xfield:"World", value:-50000000, children:[
                { xfield:"Asia", value:15, children:[ { xfield:"Bhutan", value:1 }, { xfield:"Singapore", value:5 }, { xfield:"Thailand", value:17 }, { xfield:"India", value:10 }, { xfield:"Japan", value:15 }, { xfield:"Nepal", value:5 }]},
                { xfield:"America", value:30, children:[ { xfield:"Mexico", value:5 }, { xfield:"Brazil", value:8 }, { xfield:"Chille", value:6 }, { xfield:"US", value:25 }, { xfield:"Canada", value:22 } ]},
                { xfield:"Europe", value:20, children:[ { xfield:"Switzerland", value:8 }, { xfield:"UK", value:15 }, { xfield:"Germany", value:15 }, { xfield:"France", value:5 }] },
                { xfield:"Australia", value:23 }
        ]]>
    </mx:Script>
    <mx:ColumnChart id="chart" dataProvider="{input}" height="200" width="254" x="25" y="10">
        <mx:horizontalAxis>
            <mx:CategoryAxis categoryField="xfield" />       
        </mx:horizontalAxis>   
        <mx:series>
            <mx:ColumnSeries yField="value" />
        </mx:series>
    </mx:ColumnChart>
    </mx:Application>

    I am facing exactly similar issue in my project. can anyone help?

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

  • I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    Read what i say. Put iPhone in DFU mode. Connect with USB cable and restore.
    Read:
    http://www.apple.com/support/iphone/assistant/restore/

  • Is Sender File Adapter always throws error when there is no file?

    Hi,
    I have a simple question but can't find a straight answer to it. I have a Sender File adapter that configured to pick up file XXX* from FTP server every 1 hour. But a file can come every 2, 3, or 7 hours- no certain time.When there is no file I got "File not found " error. As we use alerts, this behaviour is not acceptable.
    Does this error comes always if there is no file? Any possible way to avoid this error ?
    Thanks for help.
    Nataliya

    Hi Ravi,
    I can see the error in Runtime Workbench under CC monitoring. To be precise it says:
    An error occurred while connecting to the FTP server '1X.1XX.XX.XX:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 552 RMS-E-FNF, file not found, ES4_SAP*'. For details, contact your FTP server vendor.
    My ftp server has the following set up:
    Server: xx.xxx.xx.xx
    Port:21
    Dataconnection:Active
    Timeout:120
    Connection secuirity: None
    User name .... etc set up.
    Connect mode: Per file transfer
    Transfer mode:Text
    QoS:EO
    Pollinterval: 120 (for test purposes)
    Processing Mode: delete
    Can it be that its a ftp server generates error and sends back to XI?
    Thanks,
    Nataliya

  • I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    Hi
    And if You change view - in main "window/view field" so that You see the box-plot structure.
    No exclamation marks there either ?
    and non at the front page ?
    iDVD do not copy Your material - only points to where it is stored. So if on any external hard disks, USB-memories, CDs or DVDs are missing - assetts are broken.
    Or if You changed location of any material or directed iPhoto or iTunes or GarageBand to a new Library - Then iMovie/iDVD also get's lost.
    Yours Bengt W

Maybe you are looking for

  • Error when running VI logger 2.01 with MX driver

    Hi, When I run a VI task , the following message from Task Validation shows up: Database does not exist in the specified path. I have reinstalled the software, but it want fix the problem. How do I solve this problem? Do I need the full vers. of VI l

  • Video

    I have a curve 8330 Verizon. I have 4.5 OS and I use Desktop 4.5 as well. I cannot get videos either thru my mail as attachments or if I am on the web, I cannot get videos either. Am I missing an App, or am I not setting my device to tothis. When I r

  • Computer doesn't recognize my printer since upgrade

    my computer doesn't recognize my printer since upgrade to yosemite

  • View Link and and navigate between pages problem...

    Hi, everyone! Hope someone can help with my problem. In DB I have one table with informationa about Employees and Jobs. From this one table I made one EO from which I made 2 VO - EmployeeVO and JobsVO. I link these two VO with ViewLink - EmpJobVL (1

  • Free/busy information error for users whose primary SMTP is internal domain

    We have a scenario where we have some users on our network who use s web-based mail service but have AD logins as they need access to internal resources (file and print).  We have been asked to set up access for these users to the meeting rooms. An i