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
Similar Messages
-
Modify percentage total in Blocklist ALV
Hi Experts,
I want to modify the percentage total in the grand totals line.
for eg:
A B C
5 10 50 %
3 5 40%
Total
8 15 90%
Instead I want it to display : C = ( (15 - 8) / 15 ) * 100 = 46% .
The below code is working fine in case of ALV grid.
But how can I achieve the same in ALV BLOCKLIST . Please help.
FORM top_of_page .
*get global reference.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = lo_grid.
ET_FIELDCAT_LVC =
*get the subtotal
call method lo_grid->get_subtotals
importing
ep_collect00 = it_00.
change the data
ASSIGN it_00->* TO <ft_tab>.
LOOP AT <ft_tab> ASSIGNING <fs_tab>.
ASSIGN COMPONENT 'VAR_PCT' OF STRUCTURE <fs_tab> TO <ff_field>.
ASSIGN COMPONENT 'TOT_PLAN' OF STRUCTURE <fs_tab> to <fs_value1>.
ASSIGN COMPONENT 'TOT_ACTUAL' OF STRUCTURE <fs_tab> to <fs_value2>.
IF NOT <fs_value2> IS INITIAL.
<ff_field> = ( ( <fs_value2> - <fs_value1> ) / <fs_value2> ) * 100.
ENDIF.
ENDLOOP.
**Refresh the table display
CALL METHOD lo_grid->refresh_table_display
EXPORTING
i_soft_refresh = 'X'.
ENDFORM.
Thanks,
KiranHi Experts,
I want to modify the percentage total in the grand totals line.
for eg:
A B C
5 10 50 %
3 5 40%
Total
8 15 90%
Instead I want it to display : C = ( (15 - 8) / 15 ) * 100 = 46% .
The below code is working fine in case of ALV grid.
But how can I achieve the same in ALV BLOCKLIST . Please help.
FORM top_of_page .
*get global reference.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = lo_grid.
ET_FIELDCAT_LVC =
*get the subtotal
call method lo_grid->get_subtotals
importing
ep_collect00 = it_00.
change the data
ASSIGN it_00->* TO <ft_tab>.
LOOP AT <ft_tab> ASSIGNING <fs_tab>.
ASSIGN COMPONENT 'VAR_PCT' OF STRUCTURE <fs_tab> TO <ff_field>.
ASSIGN COMPONENT 'TOT_PLAN' OF STRUCTURE <fs_tab> to <fs_value1>.
ASSIGN COMPONENT 'TOT_ACTUAL' OF STRUCTURE <fs_tab> to <fs_value2>.
IF NOT <fs_value2> IS INITIAL.
<ff_field> = ( ( <fs_value2> - <fs_value1> ) / <fs_value2> ) * 100.
ENDIF.
ENDLOOP.
**Refresh the table display
CALL METHOD lo_grid->refresh_table_display
EXPORTING
i_soft_refresh = 'X'.
ENDFORM.
Thanks,
Kiran -
Report Structure based CKF percentage total colume Error
Dear Guru's
In Report Created structure in Rows structure created formulas for sub total, CKF using in colume for finding percentage on sale,
where formula used in structure, percentage also adding instead of average. Applied exception aggregation for plant but no result
Example scenario : Zone1 created with selection of plant, division and region.same as a UCWL and internal total Zone1+UCWL used formula
percentage CKF working as addition. Red colour highlighted are wrong totals
Month
Target
Prorata
Target
Actuals
Today
Actual
Todate
%Age
Achiev
Target
PPC % age
PPC %Age
Actual
Rajasthan Zone1
45,000
36,000
1,276
27,473
76
67
54
UCWL
25,000
20,000
952
18,183
91
100
76
ZONE1+UCWL Total
70,000
56,000
2,228
45,656
167
167
129
Rajasthan Zone 2
60,000
48,000
1,722
34,746
72
65
10
Rajasthan Total
1,30,000
1,04,000
3,950
80,403
240
232
140
Gujarat-Sirohi
1,12,000
89,600
2,555
85,877
96
42
Gujarat-Kalol
60,000
48,000
1,644
34,945
73
75
30
Gujarat- P Pur
8,000
6,400
247
6,035
94
100
Gujarat Total
1,80,000
1,44,000
4,447
1,26,857
263
217
30
Treat this most urgent, report is pending due to percentage total.
Regards
rameshI applied this:
If([Process Category] InList("Process01") And IsNull([Date]);[Percentage];Max(Date)))
[Percentage] = (Count([Date])/Count([Operation]))*100.
but, this is not becoming true - even when Operation has one Date
Showing result as:
List#,Process01,Process02
100, 11/12/2010, 11/15/2010
But result should be
100,50%,11/15/2010
Can anyone help me achieve the right result!
Thanks in advance. -
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
LucaLuca,
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 -
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,
SueAdd 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 -
Hi,
I have two reports in answers using the same data source. One of the reports is a summary at the parent level and the oher report is a detailed report at the lowest level. The percentage totals are different for both reports, e.g.
(Summary/Parent Level)
MARKET - 3.77%
(Detailed/Lowest Level)
MARKET - 3.35%
Is this a bug, I am using OBIEE 10.1.3.4.1.
ThanksHi
I have checked the underlying data on both reports and the values are the same. The problem appears with the grand total % on both reports, the rolled up summary report grand total is different to the detailed grand total.
Detailed - 3.35%
Summary - 3.77%
Can anyone help?
Thanks -
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?
TIAhi 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 -
Percentage Total/Subtotal in ALV Grid
Dear All,
I have to display an ALV report with percentage feilds. Everything is fine but the problem arises when the standard ALV sum functionality is used. It simply adds up all the percentage columns. Making do_sum = 'C' wont help either as it would simple give an average of all the percentage. My requirement is to show them through calculation. I have searched the web and saw some solutions with SUBTOTAL_TEXT nad some with OOP programming but i am not able to get this. Can anybody please help.
<REMOVED BY MODERATOR>
Thanks
MV
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 4:24 PMhi manish,
try this program.
ALV Grid List with sub-totals
REPORT z_demo_alv_sort.
* This program lists orders (VBAK) with sort and sub-total for *
* 'sold-to-party' (KUNNR) and 'Sales organization' (VKORG) *
TABLES : vbak.
TYPE-POOLS: slis. " ALV Global types
SELECT-OPTIONS :
s_vkorg FOR vbak-vkorg, " Sales organization
s_kunnr FOR vbak-kunnr, " Sold-to party
s_vbeln FOR vbak-vbeln. " Sales document
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " Document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
PERFORM f_read_data.
PERFORM f_display_data.
* Form f_read_data
FORM f_read_data.
SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
FROM vbak
UP TO p_max ROWS
WHERE kunnr IN s_kunnr
AND vbeln IN s_vbeln
AND vkorg IN s_vkorg.
ENDFORM. " F_READ_DATA
* Form f_display_data
FORM f_display_data.
DEFINE m_fieldcat.
add 1 to ls_fieldcat-col_pos.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = 'VBAK'.
ls_fieldcat-do_sum = &2.
ls_fieldcat-cfieldname = &3.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
add 1 to ls_sort-spos.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
ls_sort-subtot = &2.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv,
lt_sort TYPE slis_t_sortinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
ls_layout TYPE slis_layout_alv.
m_fieldcat 'VKORG' '' ''.
m_fieldcat 'KUNNR' '' ''.
m_fieldcat 'VBELN' '' ''.
m_fieldcat 'NETWR' 'X' 'WAERK'.
m_fieldcat 'WAERK' '' ''.
m_sort 'VKORG' 'X'. " Sort by vkorg and subtotal
m_sort 'KUNNR' 'X'. " Sort by kunnr and subtotal
m_sort 'VBELN' ''. " Sort by vbeln
ls_layout-cell_merge = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
TABLES
t_outtab = gt_vbak.
ENDFORM. " F_DISPLAY_DATA
***************** END OF PROGRAM Z_DEMO_ALV_SORT **********************
thanks
karthik
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 4:50 PM -
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 -
I am looking to see if anyone has figured out, from their iPad in Numbers how to calculate percentages or sums totalling other columns or rows?
The issue is I bought the G4 from my buddy a few months ago... the machine has been abused to say the least, both inside and out. It is almost falling apart and has a BUNCH of programs loaded on it. I have always used a PC and am still familiarizing myself with Macs, I need to clean out the machine and dump all the excess applications and files that are causing problems.
I think this is why I am having some trouble. Sometimes it works just fine, but I am only working with a few simultaneous tracks at a time. I am using the virtual instruments at this time but will be running guitars and bass through an external sound card soon. Similar to what you are doing it sounds like.
Anyway, wanted to give you some more insight. Last night it seemed to work alright, I am not going to rush into buying anything until I absolutely have to but want to get some direction as far as what I should be looking at.
Any further input is appreciated, thanks. -
Chart: Is it possible to chart multiple running totals on 1 chart?
Would it be possible to chart 6 distinct running totals on 1 bar chart and a dynamic 6 month rolling date driven x-axis? Having the totals reset on a date change does not help. Any help will be greatly appreciated. Here are the the first two running totals:
Snapshot-0
<= and
IsNull()
OR
>=
Snapshot-1
<= DateAdd("m", -1, ) and
IsNull()
OR
>= DateAdd("m", -1, )Hi Eddie,
Here are a couple of white papers for you. This might be of help.
1. [Chart Changes from Crystal Reports 8.5, 9 and 10 to XI|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707c1977-891e-2b10-f7a3-a669e59b67ea]
2. [Charting on Print-Time Formulas|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr9_charting_print_time_formulas.pdf?recDnlReq=Record&dnlPath=cr9_charting_print_time_formulas.pdf]
Please do ket us know if this helps.
Cheers!
Abhishek Jain. -
Displaying percentage total in ALV
Hi,
We have a requirement where we have to display a percentage value along with the subtotal and the totals. We are doing the subtotal using the sort table LVC_S_SORT-SUBTOT. Is there any way for displaying the percentage value in the same line item as that of the subtotal in the ALV.Hello Nanda
Have you tried to fill the calculated percentage value into field LVC_S_SORT-<b>SELTEXT</b>? Perhaps it may work.
Regards
Uwe -
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 client and which have the least.
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.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 -
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 valuesFirst 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 -
Can't create chart from totals in Row Categories!!
hi folks,
My table has a about 50 vendors, and each vendor has 5 -20 individual salesmen. I did not create a header/total row for each vendor and instead, I opted to create categories, which collapsed the rows and gave me totals for each vendor.
The problem is that I had wanted Numbers to create a chart with the vendor totals to track how they are doing month to month, but the program doesn't allow me to click on the chart icon. The icon only becomes active if I expand each category and select individual rows.
Any suggestions?
Many thanks!!Wow! Thanks so much for your lighting fast response!
Ok, bear with me, as I'm not the brightest lightbulb when it comes to spreadsheets.
Here's what I have so far:
The column headers are: Vendor, Region, Type (Big Box, Mom + Pop, etc), Employee, January - December, and finally, YTD.
I would love to:
1) chart each vendor total through the year (not each employee)
2) chart regional totals through the year
3) chart type totals through the year
And then at some point, compare years (that'll be in 2012).
What I would not like to do:
1) enter data twice or three times
Any suggestions are much appreciated. Thanks SO much for your time.
Maybe you are looking for
-
Dear all, I run transaction FAGLF101 for vendor reclacification and the system diplays the invoices with net due dat ein the future but didn't show any postings on tab Postings. Where could be the problem? Thak you, Desimira
-
Hi, because of some security reasons, there is a need to disable export connections functionality in SQL developer. Is it possible to do this somehow? Many thanks, Dejan
-
How do I play just one song?
I have a lot of Classical music. I imported whole pieces and joined them so they appear as one song. If I chose any song in a playlist it will play that one and when it is finished it will go to the next. I would like to play one song and then have i
-
JDBC OCI8 for 8.1.5
Hi, Anybody knows where to get jdbc oci8 drivers for oracle 8.1.5? If you know please mail [email protected]
-
Trying to insert a custom visual bean gives me an error
I've created a custom bean based on javax.swing.jpanel and it compiles fine. I've added it to the component panel as a visual bean but when I try to place it on a frame it throws me an error, which can be found below. I've definately had this visual