How to create a pie chart from a pop-up menu in Numbers?
I would like to be able to select a persons name from the Pop-up menu in the E column to chose who has bought an item. I would then like to create a pie chart showing how much money each person has spent on buying the items and have this update automatically. I have no idea how I would go about doing this. Any help would be greatly appreciated.
Thanks
Costs per person, with "Ali & Baker" as a separate entity (since no provision for separating costs)
The formula is this:
=SUMIFS($Cost, $Who Bought it?, "="&$Who Bought it?, $Bought?, "=TRUE")
The reasoning is:
Sum all Costs, if the following conditions are true:
$Who Bought it?, "="&$Who Bought it?
Group items in the 'Who Bought it? column that match the item in the same row as the formula.
$Bought?, "=TRUE"
Only include items that have actually been bought.
Screenshot
I have highlighted the selected cell in red.
The coloured columns show which ones are relevant to the formula.
To create the totals, I added Footer rows to the table.
You could make a separate table if you prefer.
To create the pie chart, I selected just the costs in the footer rows, and clicked on Charts.
Similar Messages
-
Creating a pie chart based on Pop-up Menu in Numbers
I would like to be able to select a persons name from the Pop-up menu in the F column to chose who has bought an item. I would then like to create a pie chart showing how much money each person has spent on buying the items and have this update automatically. I have no idea how I would go about doing this. Any help would be greatly appreciated.
Thanks1) make sure the pop-up has all the people in the list before you start.
2) eter the data in the table as you have shown then
3) add a new summary table (called "Summary"). Let's assume your existing table is titled "LOUNGE".
Add a new column (G) to your existing table, titled "Lounge":
G2=IF(ISBLANK(F2), "",IF(IFERROR(MATCH(F2, $F$1:F1, 0), 0)=0, MAX($G$1:G1)+1, ""))
select G2 and fill down as needed
Now make a new table (and call it "Summary"):
the first row and first column are headers.
A2=IF(ROW()-1<=MAX(Lounge :: G), OFFSET(Lounge :: $F$2, SMALL(Lounge :: G, ROW()-1)-1, 0, 1, 1), "")
select A2 and fill down as needed
B2=IF(LEN(A2)>0, SUMIF(Lounge :: F, "="&A2, Lounge :: D), "")
select B2 and fill down as needed
now select the cells B2 thu the end of the column then select the pie chart from the charts menu -
Creating a pie chart from a list of indicators
Hello:
I'm working with WebIntelligence XI R2 and I have created a table that displays a list of indicators:
Indicator 1 15
Indicator 2 35
Indicator 3 40
Indicator 4 10
The problem is that I want to create a pie chart from this table but it seems that Webi is unable to convert a list of numbers in a pie chart.
Is there any workaround to make this chart, without having to change the universe? ( I suppose that if I convert the four indicators into a single dimension it will be possible, but I would like to avoid that).
Thanks in advance and regards,
Joaquín CastellanoPlease disregard. i went back to the original blog code and started over, and figured this out.
-
How to Create a PIE chart with PPR
Hi All,
Can you please help me to achieve the below.
Can we create any Pie Chart. In Pie chart If we have 5 Parts when I click on any part of Pie chart It should display my new region below to the chart in the same page Page)?
Regards,
Mahendra.Hi
For Creation of pie- chart Please refer to dev guide under the section pie-graph
and as per ur req use the normal ppr for diff sections of pie-graph
regards
SasiKasyap . -
How to create a pie chart with jsp/servlet?
I want to create a servlet which can be used like below:
<img src="pieservlet?param1=<%=x%>¶m2=<%=y%>&..." width="100" height="100" >
can you give me some guide?Hai ,
I have implemented a trial working pie chart , dynamically created from jsp using ServletOutputStream , BufferedImage & JPEGImageEncoder (found in com.sun.image.codec.jpeg.* package & bundled along with jdk ) .
<%
ServletOutputStream sout = response.getOutputStream();
response.setContentType("image/jpeg");
BufferedImage img = new BufferedImage(400,400,BufferedImage.TYPE_INT_RGB);
Graphics2D gr = img.createGraphics();
/* Actually this will be got as values of request.getParameter */
Vector values = new Vector();
values.addElement(new String("45") );
values.addElement(new String("125") );
values.addElement(new String("75") );
values.addElement(new String("25") );
values.addElement(new String("90") );
// my demo class
temp.pieChart fr = new temp.pieChart(400,400,values);
/* This pieChart is class extends JFrame , in paint method of it all Drawing of pie chart using graphics2D fillArc done */
fr.paint(gr);
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sout);
encoder.encode(img);
sout.flush();
%>
Hope this helps to build your own custom pie chart .
Let me know if details needed on pieChart class
rakesh
-
How do I extract the list from a pop up menu back into Numbers?
Hey guys
I made a few very large lists in pop-up menus in Numbers, and I would like to extract those lists and put them
in a seperate Numbers file.
Is there a way that I can take the lists I made and sort of copy paste them /export them / extract them, so I don't
have to manually copy them?
Thanks in advance!
DerkHi Derk,
Numbers doesn't seem to allow access to the values within a Pop-Up Menu, either through the native interface or through AppleScript.
However, if you are using Numbers 3.2 and you have a long column formatted as Pop-Up Menu where you have "used" each the choices in the menu somewhere in the column, then you can collect a list of those values with the script below.
Copy the script into AppleScript Editor.
Select the cells in the body of your column formatted as Pop-Up Menu.
Click the green triangle 'run' button.
Click once in a destination cell in any Numbers document.
Command-v or Edit > Paste & Match Style to paste the list of values.
SG
--places values from cells formatted as Pop-Up onto clipboard for pasting
try
tell application "Numbers"
set t to front document's active sheet's first table whose selection range's class is range
set {valuesList, valuesStr} to {{}, ""}
tell t's selection range to repeat with aCell in cells
if aCell's formatted value is not in valuesList then
copy aCell's formatted value to end of valuesList
set valuesStr to valuesStr & aCell's formatted value & return
end if
end repeat
set the clipboard to valuesStr
display notification "Click a cell and command-v to paste." with title "Numbers"
end tell
on error
display alert "Did you select cells before running."
end try
--end of script -
Hi,
In Excel 2007, I have a pie chart on sheet 1. I want to make a copy of the pie chart from sheet 1 and past into sheet 2, and change the table data in sheet 2 to get new chart recalculated based on new table values in sheet 2.
However, the chart in sheet 2 is still pointing to the table data in sheet 1.
All the cells in sheet 1 have relative cells.
Please advise.
Thanks - BijanHello Wind,
As teylyn suggested:
"An Excel chart is hard-wired to its data source. You can copy and paste a chart to a different sheet and it will still refer to the initial source data."
So I did create the template and used in my 2nd tab which worked perfectly. However, I had an issue with merged cells which I am using for my data, and tylyn suggested that I provide the excel file that I am working with, and I did.
So now I need help as how to make merged cells work when I try to create a pie chart from template based on new data (which reside in mergerd cells).
P.S. I cannot resize my cells to make the data and labels fit into one call, so I have to have merged cells.
Thanks
Bijan -
How can we create dynamic pie chart in jsp
hi im a new jsp programmer and i just want to know how can i create dynamic pie chart in jsp
http://sourceforge.net/projects/jfreechart
- Saish -
From SharePoint2013 list item data how to create Google Interactive Chart?
HI All,
From SharePoint2013 list item data how to create Google Interactive Chart?
Thanks in advance!Hi,
To push data from list items to Google Chart, we can use JavaScript Client Object Model or REST API to retrieve the data needed.
Here are two links about using JavaScript Client Object Model to access list items:
http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
From the links from the official site of the Google Chart, we can find out the method to populate data into Chart:
https://developers.google.com/chart/interactive/docs/quick_start
https://developers.google.com/chart/interactive/docs/examples#gauge_example
Best regards
Patrick Liang
TechNet Community Support -
How to create the custom charts?
how to create a custom charts? for example the donut shapes, but for the data can be automatically adjust (like a available charts on keynote)
Keynote and Numbers do not have a tool for making Donut Graphs. There are ways to make them using HTML, but I prefer to cheat:
1 Create your first graph as a pie chart and add a circle of solid color to the center
2. If you need more, take a screenshot of the pie chart with the center fill and drag the screenshot into Preview - in Preview > Select Tool (pulldown from Toolbar) > Instant Alpha and remove the inner filled circle and outer fill then Save As > PNG with Alpha
3. Drag your new hollow shape into Keynote. This chart can be placed over another pie chart with a filled center (the fill should match the background)
Not as graceful as a special tool but can get the job done quickly - changing the data requires starting it over since at least one of your donuts my be an image rather than a pie chart with variable data.
Try it. If you need more specific tools, Google Donut Shaped Charts for starts.
Good luck -
Keep pie chart from shrinking due to long labels outside of chart
I was wondering is there a way to keep my pie chart from shrinking when I have labels outside of the chart that are long? Is there an option to wrap the labels, or dynamically shrink the font size of the labels, or both, so that my pie chart doesn't
have to be shrunk?
Please provide details on how this is done if you know how. Thanks.Hi jiwalkersm,
According to your description, you want to avoid your pie chart shrinking when the label outside is too long. Right?
In Reporting Service, if we want to always keep the pie chart size, we can set Docks into Default in Legend Properties, and let the legend not to show outside of chart. This will keep the position and size of the chart, but the legend will stay above the
chart which is not good for view. So we try to use expression to set font size in Legend Properties. However, we don’t have any function which can make the label wrapped. So we can only set font size based on the length of the label (For example: =IIF(Len(Field!Name.Value)>10,”5pt”,”8pt”)).
If this workaround still can’t be effective, we suggest you delete the legend, and create a tablix next to the chart, put the data into it.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
-
Pie chart from Largest slice of another pie chart.
Greetings!
I'm trying to come up with a method which will allow me to create a pie chart of the subgroups from the largest slice of an existing pie chart. The "parent" pie chart will change depending upon the parameters given in the report.
declare @dataTable table (category varchar(10), task varchar(10), timeSeconds int)
insert into @dataTable (category, task, timeSeconds)
values
('Alpha','Scrub',100),
('Alpha','Sweep',100),
('Alpha','Polish',100),
('Bravo','Wash',200),
('Bravo','Dry',200),
('Bravo','Fold',200),
('Charlie','Paint',300),
('Charlie','Sand',300),
('Charlie','Spackle',300)
In this example, when a pie chart is produced, Charlie would have the largest slice. I then want to produce a pie chart showing only the tasks contained within the Charlie category, but which has the flexibility to render if the Alpha or Bravo groups are
the largest slice next time.
ThanksFor anyone else attempting the same thing: I wound up bringing in a reference to the largest slice using a subquery in the initial query, and using that column as a filter on the second pie chart.
I was hoping for a solution from within SSRS itself, but settled on that. I'll leave the question open in the hope someone knows how to achieve the same result from within SSRS. -
3D Pie chart from Excel to labview
Hi every one,
How can I Import a 3D pie chart from Excel to labview ?
ThxThere is no direct import mechanism for that. You would need to re-create the pie chart in LabVIEW, as LabVIEW has different 3D graphs than Excel. You would need to get the data out of Excel and use the 3D graphs to draw it. As for getting the data out of Excel, there have been numerous posts on reading data from Excel using ActiveX - just search for "read excel labview". You can also find many links to lots of other examples in the Excel thread. Please note: the Excel thread is a repository of links. Do not post a question in that thread.
-
How to create a pie diagram and display it in html code
hii frds,
happy 2 meet u all.
I want to know how to create a pie diagram that should not be devleloped by using applet, and use it in the html code to display a pie diagram in browser.
ex code:
package temp;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.*;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
public class Dummy1 extends Panel {
BufferedImage image;
int a1,a2,l,t,w,h;
public Dummy1()
try
a1=90;
a2=210;
l=10;
t=10;
w=200;
h=200;
} catch (Exception ie) { System.out.println("Error:"+ie.getMessage()); }
public void paint(Graphics g) {
// g.drawImage( image, 0, 0, null);
g.setColor(Color.green);
g.fillArc(l,t,w,h,0,a1);
g.setColor(Color.red);
g.fillArc(l,t,w,h,a1,(a2-a1));
g.setColor(Color.blue);
g.fillArc(l,t,w,h,a2,(360-a2));
System.out.println("in paint");
image=(Image)g.getGraphics();
public JFrame getMyFrame()
JFrame frame=null;
try
frame = new JFrame("Display image");
Panel panel = new Dummy1();
frame.getContentPane().add(panel);
frame.setSize(500, 500);
// frame.setVisible(true);
// frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}catch(Exception e) { e.printStackTrace(); }
return frame;
static public void main(String args[]) throws
Exception {
JFrame frame = new JFrame("Display image");
Panel panel = new Dummy1();
frame.getContentPane().add(panel);
frame.setSize(500, 500);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- > with out using <applet> in html can't we display the awt grahics in browser.
plz clarify my doubts.
thank you.
regards
moons..If you are using MSSQL SERVER then try creating a stored procedure like this
create proc Name
select * from Table
by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
here is the syntax to create SP
Syntax
CREATE PROC [ EDURE ] procedure_name [ ; number ]
[ { @parameter data_type }
[ VARYING ] [ = default ] [ OUTPUT ]
] [ ,...n ]
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
Regards,
Raghavendra
Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM -
How to Create a new column from two different result sets
How to Create a new column from two different result sets, both the result set uses the different date dimensions.
i got solutions for this is apply filters in column formula it self, based on the requirement.
Maybe you are looking for
-
Inbound Idoc error notification. Help needed
Hi Gurus, Sorry, maybe it's a silly question. I have a requirement to send an email when occurs any kind of error at inbound processing. The dest. of this mail must be the postprocessing agent from partner profile (WE20) of the message. I have standa
-
I had Adobe Flash Player v.11.9.900.170 and upgraded to v.12.0.0.43. When I checked the Add-Ons manager, both Flash versions were listed and active. I de-activated the earlier version, and now some websites indicate I do not have Flash. When I re-act
-
Entry not found in object buffer error in leasing quotation
i am getting following error in SAP CRM 7.0 in quotation level. when i am entering financing product in quotation. Item 200 Entry not found in object buffer @5F\QNo long text exists@ Dates Administrator Item 200 Entry not fou
-
Audio is cut off when I make a dissolve
I often will expand a clip to "lengthen" the audio portion so I can fade in the sound slightly before the video is seen. But then, if I want to create a video dissolve, my audio fade is ruined because creating that dissolve will only allow the audio
-
Every file has staff and everyone "read only" privileges
Just upgraded to SL with a clean install. Copied over all my documents. Now it seems like every single file has staff and everyone read only privileges (in addition to me having read & write). How can this be? Under System Preferences, Sharing, I hav