I am currently creating a column chart that compares two years of sales data (2012 and 2013). I want to show the data in a table below the column graph that also includes a percentage change. I have this all figured out, but cannot seem to figure out a way to eliminate the percentage change column from the graph itself.
So my question is how can I keep the % change data in the chart below the graph but eliminate it from the column graph itself??
Thank you.
Patrick Wilson
If it's in the table it's in the chart. A few work arounds:
Make the series fill for % bars no fill and same for the outline
Plot it on a second axis and format such that this axis is not displayed
Fake the table, using cells and don't use the data table. Format and position the chart above it.
In my experience the 3rd one is the most work, but the best. Chart tables are hard to format.
I change the chart type (ie. bar chart) and the switch back to the pie chart and it worked. Hope it works for others. Scott
For a bar chart, I change the chart to a combo, make the data I don't want shown a line and then format it so that there is no fill or border, and delete the legend and select "Data Table with Legend Keys" No color will show next to the row of data not visible on the on the chart.
Related
I was asked to create a bar chart in powerbi whose horizontal axis is able to change with the slicers on screen.
The intended horizontal axis is the rank_category field. You must have noticed that the same field is expressed as a measure, rank_category, and a calculated column, rank_cate.
I've put the rank_category measure in the table at the top (last column), and used rank_cate as the horizontal axis in the bar chart on bottom right; in the bottom left bar chart, the horizontal axis is also rank_cate but it's created via a calculated table.
By selecting the items in the slicer, the measure in the table will has its value changed; the bottom left bar chart doesn't change at all, and the bottom right bar chart also changes but the rank_cate field's value doesn't change. It's just the slicer filtering out those who are not in the group.
So my question is, is it possible at all to create a bar chart with an axis whose value will change according to the slicer, like the last column in the table? Apparently bar charts can only take on columns as an axis, not measures, and calculated columns don't change with slicers. But it would be great to know if anyone has a way around this.
Thanks very much. (The 1st image is the report without slicer on; the 2nd is with slicer selection)
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
We have a particular chart that we like using. I saw it in a book by Stephen Few:
The blue series is actually a line chart with markers: the markers have been expanded and the line has been deleted.
So it is not an out-of-the-box Excel chart but rather a bit of a hack.
What I don't seem to be able to do is spin it on it's side. So if I draw in the second series this is what I'm trying to achieve:
I'm happy either just hacking the chart wizards or using a vba solution.
To get this type of chart you need three columns of data, plotted on two axis, and build the chart in stages.
First, your data should look like this:
Next, select A1:B4 and Insert and Stacked Bar Chart to get this:
Now, select C1:D4 and Copy, then select your chart and Paste Special (add cells as New Series; Values in Columns; Series Names in First Row) to get this:
Excel just changed your chart type to a simple Bar Chart, but you still want a Stacked Bar Chart. So right click in the chart and Change Chart Type to Stacked Bar.
You'll notice that the scale of your primary axis is not showing what you need. In order to solve this, we'll move the two "Prev" columns to the Secondary Axis.
So, show the Format ribbon and in the upper left corner drop down menu select "Series PrevMthInvis", then click the Format Selection button underneath the drop down. In the Format dialog under Series Options, choose Secondary Axis. Then under Fill, select No Fill.
Back to the Ribbon and select "Series PrevMth" and Format Selection again. Select Secondary Axis, and change the Fill color to your desired value. Finally change the Gap Width to 50%.
At least in my Excel chart, the series are not in the correct order. You want the "PrevMth" series to be stacked on top of "PrevMthInvis", so right click on the chart and choose Select Data, then move the series to be ordered Mth, PrevMthInvis, then PrevMth.
The final clean up involves right clicking the secondary axis (the upper horizontal axis) and making sure the scale, min, and max matches the primary axis, then set Major and Minor Tick Marks and the Axis Labels to "None". Lastly, select "PrevMthInvis" in the legend and delete it.
You can change the width of your blue "bar" by changing the "PrevMth" value to 0.5 or whatever is best for you. Good luck!
I have a stacked bar chart in excel. This is made up of positive and negative comments. I can get the negative topic names down one side of the axis but can't work out how to get the positive down the right hand side of the chart?
From the example attached I want the axis titles on both the left and right of the graph? I've been stuck on this for a few days and have researched this.
Thank you in advance for any help!
What you can do is:
Add a new series of data plotting a value of 0 for each category, and using your "good" labels for the category axis data.
Format the new series to plot on a secondary axis
Add a secondary vertical axis, and format it to display the categories in reverse order
Demo file here: http://1drv.ms/1xrnjBg
Alternative that may be more robust because it doesn't mess with primary and secondary axes...
Here is the data, with bad label captions, bad percentages, good percentages, and good label captions. I've inserted a column of zero values between good ercentages and good label captions.
I selected A1:D5, that is, the whole data range excluding the good label captions, and then inserted a stacked bar chart, shown below the table. I've reversed the direction of the categories on the vertical axis and changed where the horizontal axis crosses to the maximum category, so the items are in the same order as in the worksheet. I also deleted the legend and adjusted the plot area to provide room in the right margin of the chart for the labels.
I selected the "blank" series (by clicking the green series, then clicking the up arrow key), and added data labels, shown in the second chart.
I formatted these data labels in the third chart so that they are in the Inside Base position, which moves them outside the plot area.
In the fourth chart I used the Values from Cells option to the data labels, and selected the range of labels in column E. This isn't available before Excel 2013, but you can change the labels in a number of ways:
Select each label individually (click once to select all labels, click again after a slight pause to select each specific label), double click on the text of the label, and overtype it with the text you want to show.
Select each label individually (click once to select all labels, click again after a slight pause to select each specific label). Don't go into edit mode: you don't want the cursor flashing in the label. Type = in the formula bar, then click in the cell with the desired label. This is a link to the cell, so changing the cell contents will change the displayed text in the label accordingly.
Use Rob Bovey's Chart Labeler, a free Excel add-in from AppsPro.com.
I was looking at the stacked column example here: http://office.microsoft.com/en-us/excel-help/present-your-data-in-a-column-chart-HA010218663.aspx.
I wanted to know how I can re-arrange the 3-D column chart to show regional sales by descending order of total sales without modifying the excel sheet data.
Basically, how can I modify how the data is being displayed in the chart without making any external changes.
Although normally stacked bar charts are plotted as ranges they can be plotted cell by cell. Once you have decided the order (ie Southwest, Northwest etc in the linked example) the horizontal axis can be plotted as =(Sheet1!$A$5,Sheet1!$A$2,Sheet1!$A$4,Sheet1!$A$6,Sheet1!$A$3) and each of the data series in the same way.