Trouble with displaying percentage in pivot table / chart

dof

New Member
Joined
Apr 23, 2021
Messages
5
Office Version
  1. 365
  2. 2019
  3. 2010
Platform
  1. Windows
In my base data I have a flag ObjectiveMet with value 1 or 0, to say whether for that line the objective was achieved.
In my pivot table, I want to show what percentage of objectives where achieved. To do this, I use a COUNT of my flag, and "show values as" % of parent row total. This works so long as I include the 0's and the 1's from my flag. So I might have 87% objectives achieved and 13% not achieved. In effect the pivot formula is count(1's) as a % of count(1's and 0's).

The thing is that I'm not interested in seeing the figures for 'not achieved', as it's always 100-achieved. If I remove them from the pivot, then the achieved shoots up to 100% (makes sense, I guess).

It's even worse, when I try to chart the results, because I get a mirror image of each line.

Is there a way I can get correct percentages for the 'achieved' but not see the 'not achieved'?
I know I can hide rows / columns, and also set data series to 'no line' but is there a better cleaner way, that I'm not seeing?

Many thanks.
 

Attachments

  • mrexcel.png
    mrexcel.png
    139.8 KB · Views: 19

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I should have mentioned that I'm on Excel 2010 :( not sure if that changes anything.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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