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>


[TABLE="class: grid, width: 1968"]
<tbody>[TR]
[TD]All Markets[/TD]
[TD]Category[/TD]
[TD]Subcategory Group[/TD]
[TD]Subcategory[/TD]
[TD]Brand Owner High[/TD]
[TD]Brand High[/TD]
[TD]Short Product Description[/TD]
[TD]All Products[/TD]
[TD]All Periods[/TD]
[TD]%ACV[/TD]
[TD]%ACV YA[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]CHIA[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD][/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD="align: right"]7.769[/TD]
[TD="align: right"]16.089[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]CHIA[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD]ITEM 1[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 1[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD][/TD]
[TD="align: right"]0.04[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]CHIA[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD]ITEM 2[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-CHIA-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S- ITEM 2[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD="align: right"]7.769[/TD]
[TD="align: right"]16.063[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]FLAX[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD][/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD="align: right"]13.589[/TD]
[TD="align: right"]15.348[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]FLAX[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD]ITEM 1[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 1[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD="align: right"]0.006[/TD]
[TD="align: right"]2.74[/TD]
[/TR]
[TR]
[TD]TOTAL AREA[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES[/TD]
[TD]ANCIENT GRAINS SEEDS[/TD]
[TD]FLAX[/TD]
[TD]BARLEAN'S ORGANIC OILS LLC[/TD]
[TD]BARLEAN'S[/TD]
[TD]ITEM 2[/TD]
[TD]43 OIL RICE FRUITS VEGETABLES-ANCIENT GRAINS SEEDS-FLAX-BARLEAN'S ORGANIC OILS LLC-BARLEAN'S-ITEM 2[/TD]
[TD]Latest 52 Wks - W/E 08/18/18[/TD]
[TD="align: right"]13.586[/TD]
[TD="align: right"]13.039[/TD]
[/TR]
</tbody>[/TABLE]

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
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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