Stacked Column Percentage Calculation Groupings

trankillity

New Member
Joined
Jan 16, 2015
Messages
11
Hi all,
Not sure if this belongs here or under the Power BI subforum, but thought I'd plonk it here first.

I am analysing the gender and age demographics on shoppers at two of our stores using Power Pivot and want to be able to normalise the transactions at these stores so that they can be compared on a percent-by-percent basis.

The input data is individual transactions with a customer key linking back to a table with gender and age bracket in it. Below is the result of these groupings in a stacked column using Gender as the series and Store followed by AgeBrackets as the categories with transaction count as the values.

LHjaflw.png


Now obviously I can show the transaction count as a "% of Grand Total" to get an accurate representation of the percentages as a whole over the entire data set, but what I really want to be able to do is show a normalised percentage of each of the age brackets grouped by store, so that across the different StoreType series, it adds up to 100% for each store. I can do this easily enough by showing the values as a "% of Parent Row Total", however this then breaks the percentage split between gender within a particular grouping by making it exactly what it should be, a percentage of the parent row's total as seen below.

fU3BE28.png


So my question is, am I going to need to re-factor and normalise the data before I put it in a Pivot Chart? Or is there some sort of sacrifice that I can make to the Excel Gods to be able to get it to calculate the age brackets as a percentage of the parent row, but the gender split as a percentage of the age bracket grouping?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,074
Messages
6,176,229
Members
452,715
Latest member
DebbieCox

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