Retrieving/Displaying Aggregated Data From Pre-Populated Single Field

geigebra

New Member
Joined
Sep 4, 2018
Messages
1
Hello –
<o:p></o:p>

Thank you inadvance for any help anyone can provide. I have spent hours on this problem and I am sure it is simple...I just can't wrap my head around it...I am dangerous enough to have made a few cool things happen w/ Powerpivot and MBI, but not an expert lol. I will try to describe the situation I am running into below

<o:p></o:p>

I am using syndicated data and there are a few things that aggregate behind the scenes and not capable of being replicated within Powerpivot. When the data is exported from the data provider the aggregated data is included in the same field as the lowest level. I am new to the site and don't fully understand how to use the attaching methods so hopefully the explanation will suffice and a crude sample data table will suffice

<o:p></o:p>

CATEGORY –SUBCATEGORY GROUP – SUBCATEGORY – BRAND OWNER HIGH – BRAND HIGH – PRODUCT

<o:p></o:p>

Within that hierarchy I also have time ranges such as Last 4 weeks, Last 13 Weeks, etc. as well as different regions.<o:p></o:p>

The data shown is filtered by the total area (region) and the last 52 weeks (time range)for a company (Barlean’s) that spans across the CHIA and FLAX subcategory with two items in each. <o:p></o:p>


All MarketsCategorySubcategory GroupSubcategoryBrand Owner HighBrand HighShort Product DescriptionAll ProductsAll Periods%ACV%ACV YA
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSCHIABARLEAN'S ORGANIC OILS LLCBARLEAN'S43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'SLatest 52 Wks - W/E 08/18/187.76916.089
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSCHIABARLEAN'S ORGANIC OILS LLCBARLEAN'SITEM 143 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 1Latest 52 Wks - W/E 08/18/180.04
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSCHIABARLEAN'S ORGANIC OILS LLCBARLEAN'SITEM 243 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S- ITEM 2Latest 52 Wks - W/E 08/18/187.76916.063
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSFLAXBARLEAN'S ORGANIC OILS LLCBARLEAN'S43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'SLatest 52 Wks - W/E 08/18/1813.58915.348
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSFLAXBARLEAN'S ORGANIC OILS LLCBARLEAN'SITEM 143 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 1Latest 52 Wks - W/E 08/18/180.0062.74
TOTAL AREA43 OIL RICE FRUITS VEGETABLESANCIENT GRAINS SEEDSFLAXBARLEAN'S ORGANIC OILS LLCBARLEAN'SITEM 243 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 2Latest 52 Wks - W/E 08/18/1813.58613.039

<tbody>
</tbody>

The problem I am running into is that when I contract the product hierarchy I created from the item level to the brand level I cannot get it to show the appropriate aggregated level…in this case it should be 7.769 %ACV for the rollup under CHIA and 13.589 for the rollup under FLAX.

The only way I have successfully figured out how to get the right number to display instead of aggregating by summing/averaging/etc…is to create as many different calculated columns as I have levels of aggregates naming them something like Brand High – ACV, Subcategory – ACV, Subcategory Group – ACV, etc…then use a measure to reference those fields based on what is filtered in my pivot table…I have a number of additional fields to do this to and I am trying to keep file size to a minimum. Is there a way via a measure and limited incremental fields to show the appropriate data when the pivot table is filtered? I think I need a primary key which may look like the following…but not sure… [All Markets] & [All Products] & [All Periods]

I would really like to get this into a measure w/ the minimal amount of additional columns. Any help/direction is much appreciated!

Thank you,
Brandon
 

Some videos you may like

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Watch MrExcel Video

Forum statistics

Threads
1,127,236
Messages
5,623,537
Members
415,977
Latest member
Tommyboy30

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
Top