Need help on creating Custom Pivot chart - excel

I need help in creating a Pivot chart. I have dates as a timeline and 4 categories but the values are difference between those 4 categories with points and without points.
I want a pivot chart with 4 categories as a column on each month and out of those 4 column it is stack with the value of categories without and with points
I tried creating it on pivot chart combo but it won't work and also trying to overlap two pivot chart but its ugly
The output in mind is something like this. A stack column within stack pivot chart. So example below is a column chart I need to change the value representation on each column chart that it has stack of those 4 categories with and without points

Pivot charts are very limited compared to the charting techniques that can be used in regular charts. You can build a regular chart based on the data that the pivot table returns. If the number of rows of the pivot table varies, you can use dynamic range names with formulas that capture the pivot table columns and use these for the chart.
What you describe looks very much like a stacked clustered column chart, which is not a standard chart, but can be created with a few tricks. Jon Peltier has a tutorial here for a result that looks like this:

Such a stacked bar chart out of a pivot table can be created with https://www.koia.io.
The source code is on https://github.com/centeractive/koia
Koia protects your data privacy -  you do NOT need to upload your data but it ALWAYS stays local on your machine.
 
In koia, you can create pivots with just a couple of mouseclicks:
Choose the data that you want to work with
Go to the pivot table tab in the header
Drag&drop your columns/row values as you want them to be displayed in your pivot table
Choose the “stacked bar chart” option in the upper right corner (see picture)
Koia will automatically create the stacked bar chart.
The drag&drop options allow you to play around with your data (timeline and different categories) and see the changes in real-time

Related

Excel Help structuring data as a pivot table

I'm struggling to understand how to create a pivot table from raw data i have.
The reason i need to do this is so i can use the column names as slicer and further create filterable pie chart, but with the current data set i have no idea how to create pivot table.
Expected result:
Slicer for the regions and pie chart for the product groups, so when i press a region i get the revenue for the regions in the pie chart.
I hope my explanation is understandable.
So, i got to the conclusion that i have to restructure my data.
What i did was calculate for each product group its revenue per region.
It should look like this:
Afterwards it was easy to make the pivot table and pie chart from the pivot table, with slicer for regions.

Excel: How do I make 4 different columns with stacked values on the same graph?

I have 2 columns (Columns A and C) that I want to create with 3 different parts of data (Parts 1, 2, and 3) in them. This leads me to believe they should be stacked columns. I also have two columns D and B, that take just one column of values from the chart. So I want to have 4 columns/bars/categories in total on the graph. How can I manipulate this graph to make it this way? I'm fairly new to Excel, but just for a note, I'm using Pivot Tables. I would also like to maintain the Quarters and Months that they are in.
Already checked this question, wasn't very helpful: In Excel, how do I make a stacked bar graph with 2 bar that have different data points?
This question suggests that I might not be able to do it, but I feel like I have seen it done before: How can I create a graph in excel that uses multiple columns and does stacked columns?
This question is really helpful, but I would like to also show the different colors in the bar. Not just make it one color for a sum: Combining Column Values in an Excel Pivot Table
Let me know if I should provide any further information or ways I need to improve this question. I'll be happy for any help. Thank you!
I think I've found a more or less simple solution, but it will require you to build a different pivot table. All your data will need to be grouped by Columns and Parts (for columns B and D it will always be Part 1, for columns A and C it will be parts 1-3). My randomly generated source data looks something like this:
Based on this source data build your pivot table with the following fields: Dates and Columns are the pivot rows, Parts are the columns, and Values are whatever you had in the values (Number in my case). Make sure to expand all selections on the pivot table for the chart to look right. the pivot will look something like this:
Finally, select any cell in the pivot table, go to Insert tab and select a stacked chart. It will produce the 4 bars you need per each month and quarter, but the disadvantage is you will have the same colors for the same part in all columns (e.g. your Part 1 will be blue in all columns A-D). You can manually override it for each individual bar if you like.

How to combine two pivot tables into one chart in excel

I have two pivot tables, each with two columns. One column is a range from 0 to 6.5, grouped by .5 and the other column is the percentage of the whole column that the data falls into teach grouping. I need to compare these two pivot tables with an area chart that shows both areas overlapping, but I don't know how to do this.
I can make an area chart for each one individually, but I don't know how to structure the data to make the aforementioned combined chart. Here is the data:
The Data and Charts
There are two ways to go about this:
1) Insert a normal area chart (not a pivot chart) and then select the two ranges
2) The better solution is to combine both the pivot tables by combining the raw data. In this scenario you would be able to use a pivot chart.
Hope this helps.

Combining Column Values in an Excel Pivot Table

In order to simplify a stacked bar chart, I am looking to sum up the counts of multiple columns I have in my pivot table. For example, in this sample table, I would like to combine Fruits and Vegetables into one column, so that each bar will comprised of three colors: one for Meats, one for Grains, and one for Fruits+Vegetables.
Pivot Table and Stacked Chart
For reference, this is the data source:
Data Source table
I tried adding a Calculated Field, but I'm not sure if I can use specific values from a column in the Formulas field. Is there a way to create something like this from a pivot table, or should I be taking a different approach to this all together?
I'm using Excel 2016, -- pretty sure it's the same with older versions, but the premise is the same.
In your pivot table, Select the Pivot Table Tools> Analyze tab, then "Fields, Items",then pull down to"Calculated fields". Enter a name for the generated field, and the formula you want to use:
In my example, I added the fields Fruit and Vegi's from my available pivot table fields (which is based on my data table).
Then select the calculated field as you would any other..
and create the chart as usual.
Hope this helps.

Excel pie charts from pivot table columns

I have a pivot table from a database that looks something like this:
Person A Person B Person C
Task A 1 3
Task B 1 2
Task C 2 1.5 1
The number is time spent on a task. If it's blank, the person didn't work on that task.
I would like to make a pie chart for each Person from the pivot table for time spent on each task, not including tasks where the cell is blank. I've tried adding various flavours of pie charts but it only ever creates the chart on the first column of the table. And when it does that, it seems to include empty cells in its key (though obviously not on the pie).
Does anyone know anything about this?
Generally, the Pivot Chart will attempt to plot whatever is in the Pivot Table (including all column titles). I think the easiest way to deal with this is to add a Slicer so that you can select the Person and have it filter the data for you. Alternatively, you can filter the Pivot Table on your own, but the Slicer is quite clean in this application.
I don't think it is possible to get multiple pie charts inside a single chart. You could use the doughnut plot if you want to see all columns plotted at once. Visually, that chart is horrible to interpret though.
Here is something similar to your data with the Slicer in place for person B. Note that the legend cleans up also since the missing keys have been filtered out of the Pivot Table itself.

Resources