Using negative percentages in Pie Charts

I am having a devil of a time creating a visual pie chart based on the data I am getting from my spreadsheet.
Here is what I am trying to do:
I want to see a visual representation of how many calories I have left to consume before I reach my goal for the day. I have created a spreadsheet that tracks daily caloric intake and gives me a total value. This is a numerical value, like 1600 to 2300. I then have a "goal" caloric value, which remains unchanged. This value is 1800.
The pie chart sees these numbers as positives, so when I put them in you can imagine the result would be close to 50% for both sections of the chart. Obviously, I am inputting garbage values that the pie chart is interpreting accurately.
The next logical step I thought of was to take the "goal" caloric value and subtract the actual "caloric intake" value - this way I come up with a balance of the two - positive or negative. I then used this newly created balance value as "calories remaining" and compared it to "caloric intake."
This seems to give me accurate results, except when I get a negative number in calories remaining. For some odd reason, the pie chart sees this negative number as a positive!?!? For example, if I have a -400 calories remaining compared to 2200 consumed, the pie chart would see this as 400 to 2200.
Any ideas??
Thanks in advance!

You have the option, in the Chart Inspector, to format the labels any way you like. You don't have to use Percentage. In fact, you can add text to your labels, like this:
Regards,
Jerry

Similar Messages

  • How to show negative value in Pie Chart from Webi?

    I have below example data, I want to convert this to a pie chart in Web Intelligence, my problem is after I convert it to a pie chart, the revenue '-30' is shown as '30', looks like the pie chart is not suppor the negative value to show, I want to know if there is any workaround or solution to make the pie chart to show the negative value? Is this behavior is by design? do we have any official document to explain this?
    The product I used is BOE XI 3.1 SP3.
    Department    Revenue
    A                      100
    B                       -30
    C                        80
    Edited by: Alex Wang on Jul 13, 2010 5:51 PM

    Why are you showing this information as a pie chart? It doesn't make sense to try and display a negative slice in a pie chart. I can't really think of a logical way to try and draw a negative slice in a pie chart. With a pie chart you will need all your information to either all be positive or all negative, otherwise it doesn't work.
    What you need is to have a bar chart, with positive and negative values on the y axis.

  • Display the value as percentage in pie-chart in WEBI

    Hi Experts,
       I have two measures  No. of Sales Transactions and Customer Visit. And I created a measure named CustomerConversionRate.
    ie, CustomerConversionRate = ([No. of Sales Transactions]/[Customer Visit])*100.
    So my requirement is that CustomerConversionRate is  to be display  into a pie chart in WEBI . CustomerConversionRate always a percentage.I
    hereby attached a sample pie-chart based on my requirement.
    Eg:CustomerConversionRate=79.27 and Remaining = 20.73
    I want to display  CustomerConversionRate=79.27  and Remaining = 20.73 into a pie chart in WEBI

    Hi ,
    Add 1 more Query with dimension that will have values
    Completed      Or      X
    Remaining      Or      Y
    Duplicate your Query And Keep only 1 Dimension [Extra_Dim]( Remember this Dim Name you have to use it in different way so it would be better if use any Dimension which is not there in First Query )
    Go To--> View Script --> Custom SQL
    write below code in Query Script Editor
    SELECT
      'Completed' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__1
    Union
    SELECT
      'Remaining' As "CATEGORY"
    FROM
      "YOUR_TABLE"  Table__2
    And Save this Query .
    Now Rename this Query as Pie Dimension .
    Now You can Use [Extra_Dim] As [Achievment_Status]
    Create Measure Variable [Achievment_Val] as mention above .
    And use it

  • Displaying percentages on pie chart

    hi All,
    I am displaying a pie chart to show some data based on some calculations. Its a simple 2-D pie chart. I want to be able to display the percentage on the different parts of the pie chart. I tried using the label property of the series as well as point but it doesnt display anything. Can anyone please help?
    Regrards,
    Malita

    Are your fonts embedded? Rotating non-embedded fonts makes
    text disappear during rotation.

  • Custom built field to be used as lable in pie chart having multiple values

    Hi All,
    I have a requirement and if someone can throw some light, then I could try the same as I am stuck now.
    I have a list of Cities and I have to show the Top 5 Cities and remaining all should be "All Others". I have used Rank and was able to Show Top 5 and combine rest everything into "All Others" through a logic.
    e.g:
    City                            Sales Rev
    Belarus                          1000
    Delhi                               2000
    Melbourne                      2500
    Sydney                          2000
    Singapore                      1500
    All Others                       4500
    Now I have to show this new dimension combined like below and use New_City as Dim and Sales Rev as Measure in a Pie Chart. The Pie chart will be shown on Sales Rev as measure and the New_City which is a combination of a lot of other fields will show them as labels
    New_City                                                        Sales Rev
    Belaruschar(10)[Qty Sold]                          1000
    Delhichar(10)[Qty Sold]                               2000
    Melbournechar(10)[Qty Sold]                      2500
    Sydneychar(10)[Qty Sold]                          2000
    Singaporechar(10)[Qty Sold]                      1500
    All Otherschar(10)[Qty Sold]                       4500
    This is my requirement and I am stuck at combining City like Belaruschar(10)[Qty Sold] to form New_City because as and when I do this and remove City column from the table it starts throwing multivalue error or in some other style gives me a summation of the entire Sales Rev in each row.
    If I can achieve the same in some other approach also, I would highly appreciate the same if someone can share their ideas.
    Regards

    Greetings,
    Normally you can create a variable with a formula depending on the city's that you want to have.
    For example using efashion, the following formula would give you two lines:
    =If([City]="Miami";[City]Char(10)"1000";"Others")
    Result would be something like
    Miami
    1000                           1500
    Others                         20000
    Please note this is only an example and then you can apply your ranking. However bear in mind due to aggregation the Others will be the sum of all the other City which are not included in your condition.
    Regards,
    Rico.

  • Display pie charts

    I have a problem!
    I had to create a pie chart. So I tried to create one. But at the end when I want to test it, I only get a "X" (picture not available) on the site. If I use the same data I used for creating the pie chart for creating a "normal" chart, it will works.
    Now my question, how can I display a pie chart?
    (I hope you4ll understand, I4m not very good in english)
    Tanja

    Hi Tanja,
    It's not a problem .Pie charts ,if you look in the global settings it clearly says that it is a beta version .So Oracle does not give us any guarantee for those features.Pie charts are under Beta version for the last many months.Every time they will say that will work in the next version, but even to day it is a beta feature..
    Thanks
    Vishnu

  • Flash Chart : Percentage values in the pie chart and  values in the legend

    Hi All,
    Query is :
    SELECT null link
    ,GN.region Region
    ,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value
    FROM goodnews_stories GN
    GROUP BY GN.region
    I use the above query to display the flash pie chart percentage values.
    The values are displayed in percentage in legend as well as on the chart.
    I need to display the values in the legend and percentage values in the chart.
    How this can be achieved ?
    Regards,
    Archana

    Hello,
    Can we do this using apex? I have observed in legend as well as on chart it displays the same values which are generated by the sql query.
    Regards,
    Archana

  • Pie Chart displaying percentages

    Good Morning,
    I'm hoping someone has had experience creating a pie chart
    with percentage values and is wiling to offer some assistance
    because I've tried many ways and still came up short.
    The data table I'm using contains two columns: type (A, B, C,
    etc) and amount (100, 250, etc).
    In order to create a chart showing what percent of the whole
    each type is, I need to sum all the amounts for all types then
    divide each type by the sum of all amounts (to create each slice).
    Any suggestions on how to do this through CFquery and
    CFchart?
    Thanks in advance,
    Sue

    Add this line in the graph you are putting in RTF template.
    Right click the image, properties and the last tab web.
    add this under the graph node.
    To get the actual Value use this.
    <SliceLabel textType="LD_VALUE"/>
    Other vaules you can use are
    LD_TEXT_PERCENT, LD_VALUE , LD_TEXT , LD_PERCENT

  • Crystal reports V8.5 Chart legend adding up incorrectly - when using negative values

    Post Author: dawnyanne
    CA Forum: Crystal Reports
    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

    Hi Ryan
    The search string 'crystal net 40' (search box in top right corner, returns this KBA:
    2105208 - ER - CR .NET SDK has a Section limit set to 104 and subreport limit of 40
    SP 13 for "SAP Crystal Reports, Developer Version for Visual Studio .NET" can be downloaded here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Pie Chart Slice Label Percentage + Label

    Hi,
    i'm newbie of Publisher 11. I've a problem. I've created a DataSet and a report containing a pie chart using wizard of Publisher as written at following link:
    http://allaboutobiee.blogspot.it/2012/04/working-with-bi-publisher-11g-part3.html
    My chart shows near each slice the percentage value, but it should show the percentage value + corresponding legend text. I've changed all chart properties on left side of window, but it doesn't work. I read that i must set the value LD_PERCENT_TEXT. But where????? How can i modify XML? I must export the report in OBIEE to have more functionalities? Can you explain me what to do step by step because it's the first time i use Publisher 11
    Thanks
    Giancarlo

    do paste this in the alt text of the chart ,
    Right click the picture , select format picture and go to alt text tab.
    paste this in between the graph element and not at the end or beginning.
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>

  • Can Illustrator calculate percentages for a pie chart?

    Or do I have to go to Excel (which I can barely use) and enter the numbers there to get my percentages? Thanks.

    ?  What gives you the impression that we're wasting time?
    LauraHaywood wrote:
    I do know how to Google for such answers.
    Please excuse the assumption that you do not know your way around the web... but you did miss the Illustrator forum down the hall and to the right.
    Perhaps if you described the origin of your pie chart and how you are intending to enter numbers in Excel, we might have a better clue as to what you expect. This discussion could be continued in the Illustrator forum.

  • Percentage pie chart whose query return just one value

    Hi,
    I have a requirement which is to display a pie chart that shows the relative percentage of based on a particular row's values.
    Here the SQL query return just one value to generate the chart, however Apex is creating its own seemingly random value to draw the rest of the chart and dividing the region.
    Is there any way for Apex to take the single value that the query returns as a percentage and generate the chart by calculating the other value to be as (100 - queried value) and split the region in the chart accordingly.
    Of course one method is to store both the value that the query returns as well as 100 - that value in a table and then write the query in the chart that references both these values.. but I'd like to know if there is a way to go about it without storing this extra bit of information in a table
    Thanks!

    you create a hidden page item and populate with total value and percentile calculated value and use it in dial chart as querry.

  • Pie chart using httpservice

    hello guys i am using a httpservice for giving dataprovider
    to pie chart ..When this service return a single record ,pie chart
    do not show anything instead of showing 100%...
    problem occurs when my service return this..
    <?rss version="2.0"?>

    <data>

    <SalesReport>
    <status>Assigned</status>
    <inquiry>22</inquiry>
    </SalesReport>
    </data>
    otherwise it's work fine.......if it return
    <?rss version="2.0"?>

    <data>

    <SalesReport>
    <status>Assigned</status>
    <inquiry>22</inquiry>
    </SalesReport>
    <SalesReport>
    <status>New</status>
    <inquiry>12</inquiry>
    </SalesReport>
    </data>
    Here is my code .... Please help me .....
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #808080]"
    creationComplete="init();">
    <mx:Style>
    <mx:Script >
    <![CDATA[
    import mx.binding.utils.BindingUtils;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    [Bindable]
    public var reportData10A:ArrayCollection;
    [Bindable]
    public var reportData10A1:ArrayCollection;
    [Bindable]
    public var comboData10A:ArrayCollection;
    public var fromMonth10A:Number;
    public var techID:Number;
    public var salesPerson10A:String;
    [Bindable]
    public var comboData10A1:ArrayCollection;
    public function mytest10A():void
    salesPerson10A = salesPesronCombo.selectedLabel.toString();
    var salesPID:Number = mytest10A2(salesPerson10A);
    fromMonth10A = monthFromCombo10A.selectedIndex + 1 ;
    techID = TechnologyCombo.selectedIndex+1;
    var str:String ="
    http://reena-new:3021/reports/specperson_spectech?year="+yearCombo10A.selectedLabel+"&pers on="+salesPID+"&month="+fromMonth10A+"&techid="+techID;
    Alert.show(str);
    reportService10A.url="
    http://reena-new:3021/reports/specperson_spectech?year="+yearCombo10A.selectedLabel+"&pers on="+salesPID+"&month="+fromMonth10A+"&techid="+techID;
    reportService10A.send();
    reportData10A = new ArrayCollection();
    reportData10A =
    reportService10A.lastResult.data.SalesReport;
    public var i:Number;
    public var salesPersonId:Number;
    public function mytest10A2(str:String):Number
    for(i=0;i<comboData10A.length;i++)
    if(comboData10A.name==str)
    salesPersonId = Number(comboData10A.id);
    break;
    return salesPersonId;
    public function init():void
    this.comboData10A = new ArrayCollection();
    this.reportData10A = new ArrayCollection();
    this.comboData10A1 = new ArrayCollection();
    //reportService10A.url="
    http://reena-new:3021/reports/specperson_spectech?year=2008&person=1&month=04&techid=1";
    reportService10A.url="my.xml";
    reportService10A.send();
    comboService10A.send();
    ComboService10A1.send();
    public function getData10A(event:ResultEvent):void
    reportData10A = new ArrayCollection();
    reportData10A= event.result.data.SalesReport;
    //Alert.show(reportData10A.length.toString());
    public function getComboData10A(event:ResultEvent):void
    comboData10A = new ArrayCollection();
    comboData10A = event.result.data.SalesPerson;
    public function getComboData10A1(event:ResultEvent):void
    comboData10A1 = new ArrayCollection();
    comboData10A1 = event.result.data.technology;
    ]]>
    </mx:Script>
    <mx:HTTPService id="reportService10A"
    showBusyCursor="true"
    result="getData10A(event);" />
    <mx:HTTPService id="ComboService10A1"
    showBusyCursor="true"
    url="
    http://reena-new:3021/reports/techlist"
    result="getComboData10A1(event)" />
    <mx:HTTPService id="comboService10A"
    showBusyCursor="true"
    result="getComboData10A(event);" url="
    http://reena-new:3021/reports/personlist"/>
    <mx:Canvas id="report10A" height="75%" width="70%" x="0"
    y="100"
    verticalScrollPolicy="off" horizontalScrollPolicy="off">
    <mx:PieChart id="pie10A" x="0" y="25" width="350"
    dataProvider="{reportData10A}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    labelPosition="callout"
    nameField="status"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A}" />
    <!-- <mx:PieChart id="pie10A1" x="365" y="25"
    width="350"
    dataProvider="{reportData10A1}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    nameField="name"
    labelPosition="callout"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A1}" x="350" /> -->
    </mx:Canvas>
    <mx:Canvas x="0" y="0" height="90" width="100%">
    <mx:HBox y="30" id="combo10A" x="0" >
    <mx:Label text="Sales Person" fontSize="12"/>
    <mx:ComboBox width="100" id="salesPesronCombo"
    change="mytest10A()();"
    dataProvider="{comboData10A}" labelField="name">
    </mx:ComboBox>
    <mx:Label text="Technology" fontSize="12"/>
    <mx:ComboBox width="100" id="TechnologyCombo"
    change="mytest10A()();"
    dataProvider="{comboData10A1}" labelField="name">
    </mx:ComboBox>

    this is the answer ................
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #808080]"
    creationComplete="init();">
    <mx:Script>
    <![CDATA[
    import mx.binding.utils.BindingUtils;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var xmlResult:XML;
    public function init():void
    Alert.show("we are here");
    myService.url="my.xml";
    myService.send();
    public function onResult(event:ResultEvent):void
    xmlResult = new XML
    xmlResult = XML(event.result);
    Alert.show(xmlResult);
    ]]>
    </mx:Script>
    <mx:HTTPService id="myService" url="my.xml"
    result="onResult(event)"
    resultFormat="e4x"/>
    <mx:PieChart id="pie10A" x="0" y="25" width="350"
    dataProvider="{xmlResult.child('SalesReport')}"
    showDataTips="true"
    >
    <mx:series>
    <mx:PieSeries
    field="inquiry"
    labelPosition="callout"
    nameField="status"
    />
    </mx:series>
    </mx:PieChart>
    <mx:Legend dataProvider="{pie10A}" />
    </mx:Application>
    Thanks

  • Create Pie Chart and Vertical bar chart using report builder 3.0 with sharepoint custom list

    Hi All,
    I have a client requirement to create reports which should show the graphical representation of SharePoint Custom List data. The reports are Month wise and YTD. Also i have to create dashboard.
    For creating reports, i have heard about Report Builder and SSRS. I have SQL server 2008r2 and installed report builder 3.0 but i am not aware of creating reports(KPI, Pie Chart, Vertical bar, etc.,) with sharepoint customlist.
    Can some one please help me on this.
    MercuryMan

    Here is some information about using the SharePoint List Data source with SSRS/Report Builder/BIDS:
    http://www.infotoad.com/blog/post/2012/10/11/using-a-sharepoint-list-connection-type-as-a-data-source-for-reporting-services.aspx
    http://technet.microsoft.com/en-us/library/ee633650.aspx
    http://www.codeproject.com/Articles/24469/SQL-Reporting-Services-data-from-SharePoint-lists
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to create pie charts in BIP 11g using .XSL?

    Hi,
    Requirement is to create a multi sheet excel output. Because of this. I am going the XSL way and not RTF.
    Now, I need to create pie charts using XSL as part of the output.
    * Is it possible to create pie charts in .XSL? If so, any pointers?
    * I tried some SVG coding by referencing the below link but not result:
    <http://www.svgopen.org/2003/papers/CreatingSVGPieChartsThroughWebService/index.html#S2.1>
    * I also created the required chart in RTF and tried to use the underlying XSL-FO code. Not sure if I have used it in the right way. Has anyone tried doing that?
    If you have any info, please share.
    Thanks,
    Divya

    One more point : I came across a link which talks about Bar charts using XSLT :
    http://www.roguewave.com/Portals/0/products/imsl-numerical-libraries/java-library/docs/5.0.1/chartpg/xml_xslt.html
    so, I am hoping, there is a way to do pie charts as well?
    Thanks,
    Divya

Maybe you are looking for

  • How to install ffmpeg and x264 on my MacBook Pro 2011

    I want to install ffmpeg and x264 is there a special way to install this softwares or is it the same way like installing on Lunux (Ubuntu) I have installed ffmpeg and x264 on Ubuntu... is it the same way to install on Mac??

  • Video connectivity cable

    How can i connect my nokia C6-01 to TV. without HDMI cable, as per contenation of my nokia C6-01 phone setting and user guid. the picture of the cable is not HDMI cable. so i want to know that how can i connect my nokia C6-01 to TV without HDMI cable

  • 'hotspots' in email html

    I've read that using image map 'hotspots' in html email is not such a good idea? In what email client/s will these fail? I've been studying the code in a boat load of html emails recently and some of the most well known companies in the UK use them i

  • Base Station, Error 4 for any action, Factory settings reset didn't work

    Hi all, I decided to try my AirPort Base station (which was used by someone else before), and have changed some settings trying to make it work Now I keep getting that annoying error message with -4 error code when trying to connect to my base statio

  • Pacman output odd

    After years of using Arch, just tried the new 0.8 iso installation in a new partition, just to see how the install has changed. I notice that pacman out put looks like this now (note the lack of hashes): flashplugin-9.0.31.0-1 [] 95% 2447K 261.8K/s 0