pivot chart behavor

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I created pivot table like this

[TABLE="width: 200"]
<tbody>[TR]
[TD]dept[/TD]
[TD]salary[/TD]
[/TR]
[TR]
[TD]sales[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]admin[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]hr[/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]

Then I inserted pivot chart - Pie chart. everything is fine so far. Now when I insert City as a column in the pivot table (see below) then the Pie chat wont work anymore. How can I fix the pivot chart to show the first 2 columns (dept and salary in this case) and not to change no matter how many other columns I entered? Thank you so much

[TABLE="width: 200"]
<tbody>[TR]
[TD]dept[/TD]
[TD]london[/TD]
[TD]Paris [/TD]
[TD]NY[/TD]
[TD]LA[/TD]
[TD]salary[/TD]
[/TR]
[TR]
[TD]sales[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD] [/TD]
[TD]1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]admin[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]hr[/TD]
[TD]5[/TD]
[TD]20[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You can't. A pivot chart will always use all the data from its source pivot table (excluding grand totals).
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top