Chart (Stacked Percentage)

Using Chrystal Reports XI
This may not even be possible, but if it is, how do I do it?
I have a table that will return fields such as "Dept", "Total_Sales" and "Sales_Goal"
I need a stacked bar chart that will show a bar for each Dept and the value of Total_Sales in relation to the Sales_Goal.  That is, if the Sales_Goal is 10,000 and the Total_Sales is 7,500 then there will be a bar that is 100%, 75% of which shows for the Total_Sales.  On the other hand, if the Sales_Goal is 10,000 and the Total_Sales is 11,000 then the bar will show 110% (full with Total_Sales)
To that end, using the Chart Expert, I created a "Percent Bar Chart"  In the Data tab, I added the Dept field to "On change of" and the fields Total_Sales and Sales_Goal (in that order) to "Show value(s)"  Finally, in the Data Labels tab of the Chart Options screen, I clicked "Show as a Percentage" and "Absolute Values".
What I'm getting is 100% bar = Total_Sales + Sales_Goal and the two values spread out between top and bottom.  In other words, if the Sales_Goal is 10,000 and the Total_Sales is 5,000 I have a bar labled 100%, of which the top area is 66.6% and the bottom area is 33.3%
I tried several options of the "Percent Bar Chart", but none ghave me what I was looking for.
Is what I'm trying to do possible?  If so, am I using the right chart type?  How do I do what I want to do?
TIA

hi Clif,
here's an idea for you to try to see if you like this formatting:
1) create a new formula named OneHundred that is
whilereadingrecords;
100
2) create a new Chart, type = Bar, (not a stacked bar) with Dept as the On Change of
3) bring in your current Total Sales value as one of the Show Values
4) bringing in the OneHundred formula as another Show Value...ensure that you don't Sum the value though
5) now preview the chart
6) right click on one of the OneHundred bars and choose Series Options...change Show Selected Series As > choose Area
what this will do is put a large block at the 100% mark behind the Total Sales
i hope this helps,
jamie

Similar Messages

  • Problem with Stacked Percentage Bar

    Hello,
    We are having a lot of trouble with the Stacked Percentage Bar chart. Our chart has 2 series, one for Yes values, and one for No values. The query for each series is a PL/SQL returning a SQL query. Right now, nothing shows up on the graph. It is just an empty area. Here are the queries for the 2 series:
    YES SERIES:
    DECLARE
    tmpSQL varchar2(2000);
    BEGIN
    -- CONSTRUCT SQL STATEMENT
    tmpSQL :=
    'select null link,
    FIELD1 label,
    COUNT(' || :P23_ITEM1 || ') value
    from
    TABLE1, TABLE2
    where
    TABLE1.ID = TABLE2.ID
    AND
    (' || :P23_ITEM1 || ' = 1 ) group by '
    || :P23_ITEM1 || ', FIELD1 ';
    return tmpSQL;
    end;
    NO SERIES
    DECLARE
    tmpSQL varchar2(2000);
    BEGIN
    -- CONSTRUCT SQL STATEMENT
    tmpSQL :=
    'select null link,
    FIELD1 label,
    COUNT(' || :P23_ITEM1 || ') value
    from
    TABLE1, TABLE2
    where
    TABLE1.ID = TABLE2.ID
    AND
    (' || :P23_ITEM1 || ' = 2 ) group by '
    || :P23_ITEM1 || ', FIELD1 ';
    return tmpSQL;
    end;
    We'd appreciate any help.
    Thanks,
    Nora

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Chart showing percentage of groups of cells

    Hello everybody,
    I am a teacher and I am new to Numbers.
    It is the end of the term and I have prepared a table with the students' names and marks they got during the term.
    That table also shows the average sum of their results.
    I managed to create a chart to visualise these results and here is what I managed to get...
    Here are my two questions:
    1.How can I visualize in the form of a chart the percentage of those who got a pass mark (above 6) and those who didn't pass (below 6), that is the values in the last but one yellow column. A pie-chart, for example, into two halves, just telling me the percentage of those beyond and below 6...
    2. Is there a way in which I can tell the blue chart I created to cloud the blue lines in a different colour when the are beyond 6? Or could I turn the thin grey line in the x-axis, the one showing 6, into another colour, so that I can immediately see who is beyond the pass mark (6)?
    I hope I have made myself understood...
    Thanks for any help you can give me
    Luca

    Luca,
    I think this is what you want:
    The expressions are as follows:
    Scores Table
    Medi Column: =AVERAGE(B2:G2)
    Passing Column: =IF(H≥6, H, "")
    Failing Column:  =IF(H≤6, H, "")
    Pie Chart Data Table:
    Pass Column: =COUNTIF(Scores::H, ">=6")
    Fail Column: =COUNTIF(Scores::H, "<6")
    The Bar Chart is a 2D Stacked Bar Chart
    Hope this is what you were looking for. Glad to explain further if necessary.
    Jerry

  • Stacked Percentage Bar label and value

    Hi,
    I have created a stacked percentage bar using 4 series. I have 2 questions.
    First question: Since it is a percentage bar, the height for all seriers are the same (100%), but each series has a value (eg. 463). Under series attribute, I checked on "show value", but when I run the page, the values for each series don't show up. Is there a way of showing these values?
    Second question: If the labels are too long, they get cut and don't show the full text, is there a way to enlarge the space so all text for the labels fit in the graph?
    Thanks a lot!

    If the values on the bars are not displaying you probably have the "sparse matrix" problem. Stacked bar charts do not work correctly unless there is a row for every possible value of the "order by" variable in every series. You can test this by running the query for each series in sqlplus. You must get the same number of rows from each query.
    The best way to fix this is to create a "stub" table that contains all of the distinct values of the "order by" column in your source table. Use this stub table as a pivot for a left outer join with the source table in your series query. Sometimes you need to nvl to handle nulls in the result. When every bar has a value in every series query then the values will be displayed on the bars.

  • 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

  • Stacked bar chart with percentage in Xcelsius

    Hi,
    I want to  create a stacked bar chart(Horizontal) for the following data
    Project 1  --- >    2140, 177,  288, 135
    Project 2  --->     856, 44, 658, 120
    For following status respectively
    Completed,      Pending ,Partially completed,  Not Started
    Project 1 and Project 2 will be on Y axis.
    I want this data to be divided in percentage.
    as shown below
    Project 1 |___135_____|___177_____|______2140_______|
    Project 2 | __44__|___120_____|________856__________|
    0              20           40 ........                          100
    How to achieve this in xcelsius?

    I don't understand why you are soying it is not possible.
    Actually I think it is and quite easily but maybe i missunderstand the question.
    But anyway, here is what I would do:
    In the spreadsheet, you can calculate the percentage of each status per project:
         Completed     Pending     Partially completed     Not Started
    Project 1     78.10%     6.46%     10.51%     4.93%
    Project 2     51.01%     2.62%     39.21%     7.15%
    And then select these data for the stacked bar chart. Here you get the graph you are looking for.
    Oli

  • Rounding - Flash Chart - Stacked Horizontal (Percent)

    I have a question about the rounding in the Stacked Horizontal (Percent) Flash Chart
    I put an example on apex.oracle.com
    [http://apex.oracle.com/pls/otn/f?p=15:5|http://apex.oracle.com/pls/otn/f?p=15:5]
    My problem is that the value I should have is not rounded properly.
    Has mentionned in my example I have 3 values that should give me the following percentages
    614 ( 2.997461433 % )
    2003 ( 9.778363601 % )
    17 867 ( 87.22417497 % )
    Total: 20 484
    With a precision of 0 digit, I should be getting these values
    3
    10
    87
    But insted I get these
    2
    9
    87
    With a precision of 1 digit, I should be getting these values
    3.0
    9.8
    87.2
    But insted I get these
    2.0
    9.8
    87.2
    Anyone know the cause of this problem ?
    and also a solution to it?

    I know it's been a long time since you posted this but I just wanted to let you know that we found a solution.
    Here it is:
    Anychart uses StackedHorizontal3DColumn.swf to render the graph.
    In apex 3.0 anychart is version 3.3 build #130.
    In apex 3.2 anychart is version 3.3 build #212.
    There seem to be a bug with the build #212 for the "Stacked Horizontal 3D Column" graph.
    We only replaced the new StackedHorizontal3DColumn.swf (from apex 3.2) by the one in apex 3.0 and that solved the problem.
    Hope it helps you.
    Max

  • Chart (stacked bars) - corresponding legend

    hi everyone,
    i've got the following situation: I'm creating an vertical stacked bar chart (type:BAR_VERT_STACK) with the following code:
    <DataValues>
    <xsl:for-each-group select=".//ROW[COUNTRY!='']" group-by="COUNTRY">
    <xsl:sort select="COUNTRY" order="DESCENDING"/>
    <xsl:variable name="my_country" select="COUNTRY"/>
    <RowData>
    <xsl:for-each-group select="../ROW[MONTH!='']" group-by="MONTH">
    <xsl:variable name="my_month" select="MONTH"/>
    <Cell><xsl:value-of select="../ROW[COUNTRY=$my_country] [MONTH=$my_month]/AMOUNT"/></Cell> </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    and the legend:
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="COUNTRY">
    <xsl:sort select="COUNTRY"/>
    <Label><xsl:value-of select="current-group()/COUNTRY"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    everything works fine, but my problem is, that the created stacks are not in the same order as my legend .... so, if my first stack for example shows US, then the last item of the legend should show US as well.
    does anyone know how to create this behaviour?
    thanks

    Mike,
    thanks - I am aware of the stacked barcharts - the question is, if this type is available in a clustered manner as well ?
    I so far cud only see either "stacked barcharts" or "clustered barcharts" - but not "clustered , stacked barcharts" which wud be series of stacked barcharts ...
    TIA
    Bernhard

  • Chart "Stacked bars" - clustered available ?

    Hi,
    as anymore developed a chart with stacked bars, which are clustered ?
    Development team: when will/might we have this available in APEX?
    TIA
    Bernhard

    Mike,
    thanks - I am aware of the stacked barcharts - the question is, if this type is available in a clustered manner as well ?
    I so far cud only see either "stacked barcharts" or "clustered barcharts" - but not "clustered , stacked barcharts" which wud be series of stacked barcharts ...
    TIA
    Bernhard

  • Chart Cummulative Percentage Total?

    Post Author: Kanshouzhe
    CA Forum: Charts and Graphs
    I have seen one other post for one similar to this... but no answer. 
    I have created a Crystal 9 bar chart showing the percentage of days to resolve helpdesk tickets.  Nice... but I really want to create a running total (cummulative) of the percentages.  I have been able to create a formula for the cummulative total, but the chart excludes my formula:
    WhilePrintingRecords;Numbervar TotalPercent;TotalPercent := TotalPercent + (DistinctCount (, {@DaysOpen})/DistinctCount ())*100;
    I have tried creating various formulas, running total Summaries and combinations to no avail.  Could someone please help me skin this cat?  Thanks!

    paulclark wrote:
    I have a spreadsheet full of clients from different cities, and I'd like to create a chart (3D ideally) showing which cities have the most clients and which have the fewest.
    For example, 158 live in City A, 132 City B all the way down to 1 client in City V.
    Currently my spreadsheet has first, last, street, ZIP, city, state, misc info A, misc info B, misc info C Etc Etc.
    I may also like to create a chart showing totals of one of the Misc columns.
    Use a subsidiary table to collect the names of the cities in your list, and to count them. Chart the results. Here's an example.
    Cities are listed in column B, and may be in any order. Spelling counts, as the formula in column E identifies each city by the exact contents of the cell.
    Column E contains a formula that counts the number of different entries in column B, and marks the row containing the first occurrence of each with a serial number.
    The formula in E2 is
    =IF(COUNTIF($B$1:B2,B)=1,MAX($E$1:E1)+1,"")
    Fill down to the end of the column.
    Column A in the second table (For Graph) contains a formula that constructs a reference to the cell containing the first occurrence of each City name on the Main table, and copies that name to it's cell.
    The formula in A2 is
    =IFERROR(OFFSET(Main :: $A$1,MATCH(ROW()-1,Main :: $E,0)-1,1),"")
    Fill down to the end of the column.
    Column B contains a formula that counts all occurrences in column B of the Main table of the name in its row in column A.
    The formula in B2 is
    =IF(COUNTIF(Main :: B,A2)>0,COUNTIF(Main :: B,A2),"")
    Fill down to the end of the column.
    Regards,
    Barry
    PS: Descriptions of each function used, and further examples of their use can be found in the iWork Formulas and Functions User Guide. You can download the guide (and the Numbers '09 User Guide) through the Help menu in Numbers.
    B

  • Numbers Charts:  Stacked bar chart with two sets of data

    Hi....newbie with first post
    I'm trying to create a stacked bar chart with two lots of comparative data.
    So, there is Basic + Overtime for April 2010 as one stack (ie the basic is one colour, stacked on top is the overtime in a different colour)
                      Basic + Overtime for April 2011 next to it.
    I can get April figures next to one another as four separate columns (2 x basic, 2 x overtime), or I can get all four figures in a single stack, but I can't to two columns (one for each year) of basic and overtime.
    Any ideas?

    UK,
    What you are trying to do will require that you interleave the two sets of two-series data into one longer two-set series, and then plot just the one pair of series. Clear as mud?
    What I'm saying is that you have to fake out the program into thinking that you have just two sets, not four.
    You will have one series that has, for instance Apr 2010 Basic, Apr 2011 Basic, May, 2010 Basic, May 2011 Basic, etc.. This other series in that chart will have Apr 2010 Overtime, Apr 2011 Overtime, May 2010 Overtime, May 2011 Overtime, etc.
    The bad thing here (I'll anticipate your first complaint) is that 2010 and 2011 data will have the same color for Basic and another color will be assigned for both 2010 Overtime and 2011 Overtime.
    To get separate color sets for 2010 and 2011 data pairs, you will have to create two charts and overlay them. Both charts would be built in the alternating year format described above, but in one chart all the 2010 data would be blank and in the other chart all the 2011 data would be blank, leaving spaces in the chart for the data from the other chart to nest in.
    Jerry

  • Changing y-axis in chart stack plot

    I am using LABVIEW 5.0.1f1:
    I plot 8 values in a chart as stack plot by bundeling the values. During
    running programm I want to change the y-axis of the 5th value (changing maximum).
    But if a use attribute node of this char and select "active plot"=5 and "y
    maximum"=40 only the 1st plot window of this stack is changing its y-axis.
    How can I modify the 5th plot window?

    I have the same problem, did you find a solution?

  • Combined Stacked and side-by-side bar chart?

    I need to create a chart where I for each group (x axis) have two bars where each bar has two stacked values.
    Is this possible to do? I found one method which seems to work and that is using the dual Y axis to group the values into two groups. Question is if it will cause any problems (I have found out that you need to make sure that each of the two y-axis is using the same scale).

    I don't think so.  I wanted to have a stacked percentage chart on a single bar (like a flat version of a pie chart), but gave up on that too.
    Fuskie
    Who settled with a pie chart...

  • Percentage Bar chart with more than 1 measure

    Hi everbody,
    i have a new big problem.
    point of departure: i want to create a bar chart (stacked vertical) with more than 1 measure.
    Vertical axis should be from 0% to 100%. Horizontal there are diverse, let's say departments.
    Now it becomes tricky: Every department once more has its own under-departments.
    So far so good. The measure is the number of employees per under-department.
    So: in one bar you can see the complete number of employees per department AND the number of employees of one under-department in each block of this bar.
    -> That's the idea!
    Now: The whole chart should be presented in percentage.
    -> Therefore i need to divide the particular block by the complete number of employees per bar and multiply it by 100.
    My question is: How can i create a kind of dynamic variable, which adatps itself to the particular department
    Edited by: 941338 on 27.06.2012 04:53

    Looks like you need a dynamic variable to hold the value to calculate futher, for that using prompt(this should follow your criteria to get value) with prsentation variable, use the presentation variable in the report to calculate.
    If it is helpful, please mark as correct or helpful

  • BIP 11.1.1.7 - Stacked Bar chart data label not visible in pdf

    Hi all,
    I have a report built with the online editor. This contains a stacked bar chart with percentage values in a repeating section and I made the property DataVisible=true.
    When I view the report in interactive mode it all works: I can see the data label for every value of the parameter but when I view in any other format (PDF, PPT, ecc..) the data labels are visible in the first chart (for the first value of the parameter) while in the other charts they aren't. This doesn't happens for other types of chart, for example with a pie chart.
    Can someone help me or tell if it is a bug?
    Thanks,
    Micaela

    Hi Mitalee,
    Would you please check the PAM at https://websmp108.sap-ag.de/~sapidb/012002523100018972812014E
    On page 11 it says 64 bit IE11 is not supported; is your IE11 32 bit or 64 bit?

Maybe you are looking for

  • Error during print request output. l_rc = 1

    Hi , I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT. I am tring to create ACCESS TYPE 'L' with host printer n

  • MSG 306 ERROR

    I am getting a MSG 306 ERROR. I think it is because one field is 30 Characters and other field is TEXT. Just guessing. Here is the code,  error message and DDL. Select SD.Sales_Order As [SO #] ,SD.SO_Line As [Ln]     ,Cast(Min(SD.Status)   As Varchar

  • Change Value of HTMLDB_ITEM using HTMLDB_ITEM.CHECKbox

    Hello, I've got a region with a 'pl/sql function returning sql query' declare q varchar2(4000); begin q:=' select htmldb_item.checkbox(1,t.jedi_ean_id) as Auswahl, '; q:=q||' t.ean, j.artikelbezeichnung, '; q:=q||' t.artikelmengeneinheit, '; q:=q||'

  • Problem with air 2.5 renderization

    Hi, I have a problem with the renderization of imagens when in the computer is instaled and air version bigger than 2.6. When oi run my app in debug i have no problem and save and jpg with the correct color tone, but when i export and install the app

  • Request to server failed-message I get when trying to publish to MobileMe

    Hi-I am having issues with my iPhoto '09 publishing to MobileMe Gallery. I have had 2 chats with MobileMe technicians and after a lengthy discussion it appears that it's a problem with iPhoto '09. I get a message that the request to server failed. It