Dynamic Series Name/Aggregations

mrhopko

Board Regular
Joined
Jan 31, 2012
Messages
68
Hi All

I hope you can help. I'm struggling to articulate this...

I'm trying to achieve the following:
My data has 3 fields that I use to slice the data in the following heirarchy - Model-Body-Engine.
I have created a simple line chart that includes these 3 fields in the legend so that each combination has its own line/series (sales over time)
I then use slicers to filter the graph so the user can select which combinations they wish to view on the graph.

I would like the legend name to dynamically alter depending upon the following:

If no the Engine slicer has no filter selected then only display Model-Body in the legend (so aggregate the engine type)
If the Body slicer has no filer selected then only display Model in the legend (so aggregate all bodies and all engines)

The current behavior is that if there is no selection in engine then the legend still displays Model-Body-Engine with all possible combinations but no aggregation.

I hope that makes sense to someone

Many thanks for any time spent on this. It's giving me a headache.

mrhopko
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,223,939
Messages
6,175,529
Members
452,651
Latest member
wordsearch

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